copyDetector

lsst.afw.cameraGeom.copyDetector(detector, ampInfoCatalog=None)

Return a copy of a Detector with possibly-updated amplifier information.

No deep copies are made; the input transformDict is used unmodified

Parameters:
detector : lsst.afw.cameraGeom.Detector

The Detector to clone

ampInfoCatalog The ampInfoCatalog to use; default use original
Returns:
detector : lsst.afw.cameraGeom.Detector

New Detector instance.