Frame#

class lsst.images.Frame(*args, **kwargs)#

Bases: Protocol

A description of a coordinate system.

Attributes Summary

unit

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

Methods Summary

deserialize(serialized)

Convert a serialized frame to an in-memory one.

serialize()

Return a Pydantic-serializable version of this Frame.

standardize_x(x)

Coerce x coordinates into their standard range.

standardize_y(y)

Coerce y coordinates into their standard range.

Attributes Documentation

unit#

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

Methods Documentation

classmethod deserialize(serialized: SerializableFrame) Self#

Convert a serialized frame to an in-memory one.

serialize() SerializableFrame#

Return a Pydantic-serializable version of this Frame.

standardize_x(x: T) T#

Coerce x coordinates into their standard range.

standardize_y(y: T) T#

Coerce y coordinates into their standard range.