plotMapperResiduals#
- lsst.ts.wep.utils.plotMapperResiduals(angle, band='ref', defocalType='intra', instConfig='policy:instruments/LsstCam.yaml', opticalModel='offAxis')#
Plot the residuals between the ImageMapper and Batoid.
- Parameters:
angle (tuple) – The field angle in degrees
band (str, optional) – The LSST band label (the default is “ref”)
defocalType (str, optional) – “intra” or “extra” (the default is “intra”)
instConfig (str or dict or Instrument, optional) – Instrument configuration. If a string, it is assumed this points to a config file, which is used to configure the Instrument. If the path begins with “policy:”, then it is assumed the path is relative to the policy directory. If a dictionary, it is assumed to hold keywords for configuration. If an Instrument object, that object is just used. (the default is “policy:instruments/LsstCam.yaml”)
opticalModel (str, optional) – The optical model to use for mapping between the image and pupil planes. Can be “onAxis”, or “offAxis”. onAxis is an analytic model appropriate for donuts near the optical axis. It is valid for both slow and fast optical systems. The offAxis model is a numerically-fit model that is valid for fast optical systems at wide field angles. offAxis requires an accurate Batoid model. (the default is “offAxis”)
- Return type: