GeneralFrame#

pydantic model lsst.images.GeneralFrame#

An arbitrary Euclidean coordinate system.

Parameters:

data (Any)

Fields:
field frame_type: Literal['GENERAL'] = 'GENERAL'#

Discriminator for the frame type.

field unit: Unit [Required]#

Units of the coordinates in this frame.

deserialize()#

Convert a serialized frame to an in-memory one.

Return type:

GeneralFrame

serialize()#

Return a Pydantic-serializable version of this Frame.

Return type:

GeneralFrame

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)

This page was last modified on .