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:
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.