CameraFrameSet#

class lsst.images.cameras.CameraFrameSet(instrument, ast)#

Bases: FrameSet

A FrameSet that manages the coordinate systems of a camera.

The CameraFrameSet class constructor is considered a private implementation detail. At present, instances can only be obtained by loading them from storage (via deserialize) or converting a legacy lsst.afw.cameraGeom object (from_legacy).

Parameters:
  • instrument (str) – Short (butler dimension) name of the instrument.

  • ast (FrameSet) – AST frame set describing the camera’s coordinate systems.

Attributes Summary

instrument

Name of the instrument (str).

Methods Summary

detector(detector, *[, visit])

Return a detector pixel-coordinate frame for this instrument.

field_angle([visit])

Return a field angle frame for this instrument.

focal_plane([visit])

Return a focal plane frame for this instrument.

from_legacy(camera)

Construct a transform from a legacy lsst.afw.cameraGeom.Camera.

serialize(archive)

Serialize the frame set to an archive.

Attributes Documentation

instrument#

Name of the instrument (str).

Methods Documentation

detector(detector, *, visit=None)#

Return a detector pixel-coordinate frame for this instrument.

Parameters:
  • detector (int) – ID of the detector.

  • visit (int | None, default: None) – ID for the visit this frame will correspond to. This only needs to be provided in contexts where camera frames will be related to the sky via a SkyProjection.

Return type:

DetectorFrame

field_angle(visit=None)#

Return a field angle frame for this instrument.

Parameters:

visit (int | None, default: None) – ID for the visit this frame will correspond to. This only needs to be provided in contexts where camera frames will be related to the sky via a SkyProjection.

Return type:

FieldAngleFrame

focal_plane(visit=None)#

Return a focal plane frame for this instrument.

Parameters:

visit (int | None, default: None) – ID for the visit this frame will correspond to. This only needs to be provided in contexts where camera frames will be related to the sky via a SkyProjection.

Return type:

FocalPlaneFrame

classmethod from_legacy(camera)#

Construct a transform from a legacy lsst.afw.cameraGeom.Camera.

Parameters:

camera (Any) – An lsst.afw.cameraGeom.Camera instance to convert.

Return type:

CameraFrameSet

serialize(archive)#

Serialize the frame set to an archive.

Parameters:

archive (OutputArchive[Any]) – Archive to serialize to.

Returns:

Serialized form of the frame set.

Return type:

CameraFrameSetSerializationModel

This page was last modified on .