CameraFrame#

class ctapipe.coordinates.CameraFrame(*args, copy=True, representation_type=None, differential_type=None, **kwargs)[source]#

Bases: BaseCoordinateFrame

Camera coordinate frame.

The camera frame is a 2d cartesian frame, describing position of objects in the focal plane of the telescope.

The frame is defined as in H.E.S.S., starting at the horizon, the telescope is pointed to magnetic north in azimuth and then up to zenith.

Now, x points north and y points west, so in this orientation, the camera coordinates line up with the CORSIKA ground coordinate system.

MAGIC and FACT use a different camera coordinate system: Standing at the dish, looking at the camera, x points right, y points up. To transform MAGIC/FACT to ctapipe, do x’ = -y, y’ = -x.

Attributes:
focal_lengthu.Quantity[length]

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

rotationu.Quantity[angle]

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

telescope_pointingSkyCoord[AltAz]

Pointing direction of the telescope as SkyCoord in AltAz

obstimeTime

Observation time

locationEarthLocation

location of the telescope

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

location

A frame attribute

name

obstime

A frame attribute

rotation

A frame attribute

telescope_pointing

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: 0.0 m

frame_attributes = {'focal_length': <astropy.coordinates.attributes.QuantityAttribute object>, 'location': <astropy.coordinates.attributes.EarthLocationAttribute object>, 'obstime': <astropy.coordinates.attributes.TimeAttribute object>, 'rotation': <astropy.coordinates.attributes.QuantityAttribute object>, 'telescope_pointing': <astropy.coordinates.attributes.CoordinateAttribute object>}#
frame_specific_representation_info#

Mapping for frame-specific component names

location#

A frame attribute

No default value

name = 'cameraframe'#
obstime#

A frame attribute

No default value

rotation#

A frame attribute

Default: 0.0 rad

telescope_pointing#

A frame attribute

No default value