makeDetector

lsst.afw.cameraGeom.makeDetector(detectorConfig, ampInfoCatalog, focalPlaneToField)

Make a Detector instance from a detector config and amp info catalog

Parameters:
detectorConfig : lsst.pex.config.Config

Configuration for this detector.

ampInfoCatalog : lsst.afw.table.AmpInfoCatalog

amplifier information for this detector

focalPlaneToField : lsst.afw.geom.TransformPoint2ToPoint2

FOCAL_PLANE to FIELD_ANGLE Transform

Returns:
detector : lsst.afw.cameraGeom.Detector

New Detector instance.