getCamTypeFromButlerName¶
- lsst.ts.wep.getCamTypeFromButlerName(instName, detectorType)¶
Get the camera type from instrument name used by the LSST DM middleware for each instrument.
- Parameters:
- instNamestr
Instrument name.
- detectorTypelsst.afw.cameraGeom.DetectorType
Type of CCD. “SCIENCE” or “WAVEFRONT”.
- Returns:
- camTypeenum ‘CamType’
Camera type.
- Raises:
- ValueError
Combination of instrument name and detector type is not supported.
- ValueError
Detector type is not supported.