LSST Applications
21.0.0+04719a4bac,21.0.0-1-ga51b5d4+ae94e5adf4,21.0.0-10-g2408eff+ad7fe00a3b,21.0.0-10-g560fb7b+5d30037bff,21.0.0-10-gcf60f90+7fd8e8fd04,21.0.0-11-g25eff31+491f1498e8,21.0.0-11-gd78879e+d13a45ff19,21.0.0-12-g1e69a3f+69d54d99d8,21.0.0-17-g6590b197+c8c705a94e,21.0.0-2-g103fe59+29086b68f8,21.0.0-2-g1367e85+d793a9824f,21.0.0-2-g45278ab+04719a4bac,21.0.0-2-g5242d73+d793a9824f,21.0.0-2-g7f82c8f+7178d1fb8b,21.0.0-2-g8f08a60+fd0b970de5,21.0.0-2-g8faa9b5+3b24369756,21.0.0-2-ga326454+7178d1fb8b,21.0.0-2-gde069b7+ca45a81b40,21.0.0-2-gecfae73+3609a557ba,21.0.0-2-gfc62afb+d793a9824f,21.0.0-22-g2a5702db6+f385fa6f38,21.0.0-3-g357aad2+673ab9f056,21.0.0-3-g4be5c26+d793a9824f,21.0.0-3-g65f322c+45176dc65e,21.0.0-3-g7d9da8d+3b24369756,21.0.0-3-ge02ed75+d05e6d1be4,21.0.0-4-g591bb35+d05e6d1be4,21.0.0-4-g65b4814+5d30037bff,21.0.0-4-gccdca77+a631590478,21.0.0-4-ge8a399c+7f1b116a8b,21.0.0-5-gb7b9a9f+d793a9824f,21.0.0-5-gd00fb1e+de3bd29da1,21.0.0-55-g0be6b205+66ae927d20,21.0.0-6-g2d4f3f3+04719a4bac,21.0.0-7-g04766d7+510a52a951,21.0.0-7-g98eecf7+adb4d61a8d,21.0.0-9-g39e06b5+d05e6d1be4,master-gac4afde19b+d05e6d1be4,w.2021.12
LSST Data Management Base Package
|
Functions | |
def | addDetectorBuilderFromConfig (cameraBuilder, detectorConfig, amplifiers, focalPlaneToField) |
def | makeTransformDict (transformConfigDict) |
def | makeCameraFromPath (cameraConfig, ampInfoPath, shortNameFunc, pupilFactoryClass=PupilFactory) |
def | makeCameraFromAmpLists (cameraConfig, ampListDict, pupilFactoryClass=PupilFactory) |
Variables | |
list | cameraSysList = [FIELD_ANGLE, FOCAL_PLANE, PIXELS, TAN_PIXELS, ACTUAL_PIXELS] |
cameraSysMap = dict((sys.getSysName(), sys) for sys in cameraSysList) | |
def lsst.afw.cameraGeom.cameraFactory.addDetectorBuilderFromConfig | ( | cameraBuilder, | |
detectorConfig, | |||
amplifiers, | |||
focalPlaneToField | |||
) |
Build a dictionary of Detector constructor keyword arguments. The returned dictionary can be passed as keyword arguments to the Detector constructor, providing all required arguments. However, using these arguments directly constructs a Detector with knowledge of only the coordinate systems that are *directly* mapped to its own PIXELS coordinate system. To construct Detectors with a shared TransformMap for the full Camera, use makeCameraFromCatalogs or makeCameraFromPath instead of calling this function or makeDetector directly. Parameters ---------- cameraBuilder : `lsst.afw.cameraGeonm.Camera.Builder` Camera builder object to which the new Detector Builder should be added. detectorConfig : `lsst.pex.config.Config` Configuration for this detector. amplifiers : `list` [`~lsst.afw.cameraGeom.Amplifier`] amplifier information for this detector focalPlaneToField : `lsst.afw.geom.TransformPoint2ToPoint2` FOCAL_PLANE to FIELD_ANGLE Transform Returns ------- detectorBuilder : `lsst.afw.cameraGeom.Detector.InCameraBuilder` A builder object for a detector corresponding to the given config, associated with the given camera builder object.
Definition at line 37 of file cameraFactory.py.
def lsst.afw.cameraGeom.cameraFactory.makeCameraFromAmpLists | ( | cameraConfig, | |
ampListDict, | |||
pupilFactoryClass = PupilFactory |
|||
) |
Construct a Camera instance from a dictionary of detector name: list of Amplifier.Builder Parameters ---------- cameraConfig : `CameraConfig` Config describing camera and its detectors. ampListDict : `dict` [`str`, `list` [`Amplifier.Builder`]] A dictionary of detector name: list of Amplifier.Builder pupilFactoryClass : `type`, optional Class to attach to camera; `lsst.default afw.cameraGeom.PupilFactory`. Returns ------- camera : `lsst.afw.cameraGeom.Camera` New Camera instance.
Definition at line 156 of file cameraFactory.py.
def lsst.afw.cameraGeom.cameraFactory.makeCameraFromPath | ( | cameraConfig, | |
ampInfoPath, | |||
shortNameFunc, | |||
pupilFactoryClass = PupilFactory |
|||
) |
Make a Camera instance from a directory of ampInfo files The directory must contain one ampInfo fits file for each detector in cameraConfig.detectorList. The name of each ampInfo file must be shortNameFunc(fullDetectorName) + ".fits". Parameters ---------- cameraConfig : `CameraConfig` Config describing camera and its detectors. ampInfoPath : `str` Path to ampInfo data files. shortNameFunc : callable A function that converts a long detector name to a short one. pupilFactoryClass : `type`, optional Class to attach to camera; default is `lsst.afw.cameraGeom.PupilFactory`. Returns ------- camera : `lsst.afw.cameraGeom.Camera` New Camera instance.
Definition at line 122 of file cameraFactory.py.
def lsst.afw.cameraGeom.cameraFactory.makeTransformDict | ( | transformConfigDict | ) |
Make a dictionary of CameraSys: lsst.afw.geom.Transform from a config dict. Parameters ---------- transformConfigDict : value obtained from a `lsst.pex.config.ConfigDictField` registry; keys are camera system names. Returns ------- transforms : `dict` [`CameraSys` or `CameraSysPrefix`, `lsst.afw.geom.Transform`] A dict of CameraSys or CameraSysPrefix: lsst.afw.geom.Transform
Definition at line 101 of file cameraFactory.py.
list lsst.afw.cameraGeom.cameraFactory.cameraSysList = [FIELD_ANGLE, FOCAL_PLANE, PIXELS, TAN_PIXELS, ACTUAL_PIXELS] |
Definition at line 33 of file cameraFactory.py.
lsst.afw.cameraGeom.cameraFactory.cameraSysMap = dict((sys.getSysName(), sys) for sys in cameraSysList) |
Definition at line 34 of file cameraFactory.py.