makeCameraFromCatalogs

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

Construct a Camera instance from a dictionary of detector name: AmpInfoCatalog

Parameters:
cameraConfig : CameraConfig

Config describing camera and its detectors.

ampInfoCatDict : dict

A dictionary of detector name: AmpInfoCatalog

pupilFactoryClass : type, optional

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

Returns:
camera : lsst.afw.cameraGeom.Camera

New Camera instance.