DetectorFrame#
- pydantic model lsst.images.DetectorFrame#
A coordinate frame for a particular detector’s pixels.
Notes
This frame is only used for post-assembly images (i.e. not those with overscan regions still present).
- Parameters:
data (
Any)- Fields:
- field bbox: Box [Required]#
Bounding box of the detector.
- field detector: int [Required]#
ID of the detector.
- field frame_type: Literal['DETECTOR'] = 'DETECTOR'#
Discriminator for the frame type.
- field instrument: str [Required]#
Name of the instrument.
- field visit: int | None = None#
ID of the visit. May be unset in contexts where there is no visit or only a single relevant visit.
- deserialize()#
Convert a serialized frame to an in-memory one.
- Return type:
- serialize()#
Return a Pydantic-serializable version of this Frame.
- Return type:
- standardize_x(x)#
Coerce
xcoordinates into their standard range.
- standardize_y(y)#
Coerce
ycoordinates into their standard range.
- property unit: UnitBase#
Units of the coordinates in this frame (
astropy.units.UnitBase).