Amplifier#
- pydantic model lsst.images.cameras.Amplifier#
A struct that holds information about an amplifier.
- Parameters:
data (
Any)- Fields:
- field assembled_raw_geometry: AmplifierRawGeometry | None = None#
Geometry of this amplifier in an assembled but untrimmed raw image that has all amplifiers.
- field bbox: Box [Required]#
Bounding box of the amplifier data region in a trimmed, assembled detector.
- field name: str [Required]#
Name of the amplifier.
- field nominal_calibrations: AmplifierCalibrations | None = None#
Nominal calibration information that may be superseded by separate calibration datasets.
- field readout_corner: ReadoutCorner [Required]#
Readout corner of the amplifier in the final assembled, trimmed image (with x increasing to the right and y increasing up).
- field unassembled_raw_geometry: AmplifierRawGeometry | None = None#
Geometry of this amplifier in an unassembled, untrimmed raw image that has just this amplifier.
- static from_legacy(legacy_amplifier, is_raw_assembled)#
Convert from a
lsst.afw.cameraGeom.Amplifier.- Parameters:
legacy_amplifier (
TypeAliasType) – Legacy amplifier to convert.is_raw_assembled (
bool) – Whether to populateAmplifier.assembled_raw_geometry(True) orAmplifier.unassembled_raw_geometry(False).
- Return type:
- to_legacy_builder(is_raw_assembled)#
Convert to a
lsst.afw.cameraGeom.Amplifier.Builder.- Parameters:
is_raw_assembled – Whether to use
Amplifier.assembled_raw_geometry(True) orAmplifier.unassembled_raw_geometry(False). IfNone, this is set toself.visit is not None, since we expect to only add a visit ID to detectors that have been assembled.