TractFrame#

pydantic model lsst.images.TractFrame#

The pixel coordinates of a tract: a region on the sky used for coaddition, defined by a ‘skymap’ and split into ‘patches’ that share a common pixel grid.

Parameters:

data (Any)

Fields:
field bbox: Box [Required]#

Bounding box of the full tract.

field frame_type: Literal['TRACT'] = 'TRACT'#

Discriminator for the frame type.

field skymap: str [Required]#

Name of the skymap.

field tract: int [Required]#

ID of the tract within its skymap.

deserialize()#

Convert a serialized frame to an in-memory one.

Return type:

TractFrame

serialize()#

Return a Pydantic-serializable version of this Frame.

Return type:

TractFrame

standardize_x(x)#

Coerce x coordinates into their standard range.

Parameters:

x (TypeVar(T, bound= float | ndarray)) – Coordinates to standardize.

Return type:

TypeVar(T, bound= float | ndarray)

standardize_y(y)#

Coerce y coordinates into their standard range.

Parameters:

y (TypeVar(T, bound= float | ndarray)) – Coordinates to standardize.

Return type:

TypeVar(T, bound= float | ndarray)

property unit: UnitBase#

Units of the coordinates in this frame (astropy.units.UnitBase).

This page was last modified on .