makeCameraFromAmpLists

lsst.afw.cameraGeom.makeCameraFromAmpLists(cameraConfig, ampListDict, pupilFactoryClass=<class 'lsst.afw.cameraGeom.pupil.PupilFactory'>)

Construct a Camera instance from a dictionary of detector name: list of Amplifier.Builder

Parameters:
cameraConfigCameraConfig

Config describing camera and its detectors.

ampListDictdict [str, list [Amplifier.Builder]]

A dictionary of detector name: list of Amplifier.Builder

pupilFactoryClasstype, optional

Class to attach to camera; lsst.default afw.cameraGeom.PupilFactory.

Returns:
cameralsst.afw.cameraGeom.Camera

New Camera instance.