Frame#
- class lsst.images.Frame(*args, **kwargs)#
Bases:
ProtocolA description of a coordinate system.
Attributes Summary
Units of the coordinates in this frame (
astropy.units.UnitBase).Methods Summary
Return a Pydantic-serializable version of this Frame.
Coerce
xcoordinates into their standard range.Coerce
ycoordinates into their standard range.Attributes Documentation
- unit#
Units of the coordinates in this frame (
astropy.units.UnitBase).
Methods Documentation
- serialize() SerializableFrame#
Return a Pydantic-serializable version of this Frame.
Notes#
The returned object must support direct nesting with Pydantic models and have a
deserializemethod (taking no arguments) that converts back to thisFrametype. It is common forserializeanddeserializeto just returnself, when the frame object is natively serializable.
- standardize_x(x: T) T#
Coerce
xcoordinates into their standard range.
- standardize_y(y: T) T#
Coerce
ycoordinates into their standard range.