ScienceCameraFrame

class ctapointing.coordinates.ScienceCameraFrame(*args, copy=True, representation_type=None, differential_type=None, **kwargs)

Bases: BaseCoordinateFrame

ScienceCamera coordinate frame.

Represents a science camera coordinate frame. This frame is similar to a ctapipe.coordinates.CameraFrame, but allows for horizontal and vertical tilts and offsets of the system w.r.t. the TelescopeFrame.

The coordinate frame can be - tilted w.r.t. the Telescope frame by angles

tilt_x (in the vertical direction, with positive tilt_x meaning that the SkyCameraFrame is tilted towards positive altitude), tilt_y (in the horizontal direction, with positive tilt_y meaning that the CameraFrame is tilted towards positive azimuth)

  • rotated around the axis perpendicular to the CameraFrame’s plane, with positive angles meaning counterclock-wise rotation

  • scaled by the focal length

  • shifted by offsets offset_x and offset_y.

When viewed from the telescope towards the sky, - the x coordinate points towards the ground - the y coordinate points towards West when the TelescopeSystem points to the horizon in Northern direction and no tilts/rotations have been applied.

Gnomonic projection of the spherical TelescopeFrame to the planar SkyCameraFrame is properly accounted for (no small-angle approximation is applied).

focal_length

Focal length of the camera as a unit quantity (usually meters)

Type:

u.Quantity[length]

rotation

Rotation angle of the camera (0 deg in most cases)

Type:

u.Quantity[angle]

tilt_x

Tilt of the camera w.r.t. the telescope pointing in vertical direction

Type:

u.Quantity[angle]

tilt_y

tilt of the camera w.r.t. the telescope pointing in horizontal direction

Type:

u.Quantity[angle]

telescope_pointing

Pointing direction of the telescope as SkyCoord in AltAz

Type:

SkyCoord[AltAz]

Attributes Summary

default_differential

Default representation for differential data (e.g., velocity)

default_representation

Default representation for position data

focal_length

A frame attribute

frame_attributes

frame_specific_representation_info

Mapping for frame-specific component names

name

offset_x

A frame attribute

offset_y

A frame attribute

rotation

A frame attribute

telescope_pointing

A frame attribute

tilt_x

A frame attribute

tilt_y

A frame attribute

Attributes Documentation

default_differential

Default representation for differential data (e.g., velocity)

default_representation

Default representation for position data

focal_length

A frame attribute

Default: 1.0 m

frame_attributes = {'focal_length': <astropy.coordinates.attributes.QuantityAttribute object>, 'offset_x': <astropy.coordinates.attributes.QuantityAttribute object>, 'offset_y': <astropy.coordinates.attributes.QuantityAttribute object>, 'rotation': <astropy.coordinates.attributes.QuantityAttribute object>, 'telescope_pointing': <astropy.coordinates.attributes.CoordinateAttribute object>, 'tilt_x': <astropy.coordinates.attributes.QuantityAttribute object>, 'tilt_y': <astropy.coordinates.attributes.QuantityAttribute object>}
frame_specific_representation_info

Mapping for frame-specific component names

name = 'sciencecameraframe'
offset_x

A frame attribute

Default: 0.0 m

offset_y

A frame attribute

Default: 0.0 m

rotation

A frame attribute

Default: 0.0 deg

telescope_pointing

A frame attribute

No default value

tilt_x

A frame attribute

Default: 0.0 deg

tilt_y

A frame attribute

Default: 0.0 deg

property default_differential

Default representation for differential data (e.g., velocity)

property default_representation

Default representation for position data

focal_length

A frame attribute

Default: 1.0 m

property frame_specific_representation_info

Mapping for frame-specific component names

offset_x

A frame attribute

Default: 0.0 m

offset_y

A frame attribute

Default: 0.0 m

rotation

A frame attribute

Default: 0.0 deg

telescope_pointing

A frame attribute

No default value

tilt_x

A frame attribute

Default: 0.0 deg

tilt_y

A frame attribute

Default: 0.0 deg