GiftsDetectors

class gdt.missions.gifts.detectors.GiftsDetectors(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: Detectors

The GIFTS Detector name and orientation definitions.

Attributes Summary

azimuth

The azimuth of the detector normal

elevation

The elevation of the detector normal

full_name

The full detector name

number

The detector number

zenith

The zenith of the detector normal

Methods Summary

from_full_name(full_name)

Create a Detector from the full detector name

from_num(num)

Create a Detector from an index number

from_str(value)

Create a Detector from a short string name

pointing()

The detector pointing in azimuth and zenith

skycoord(frame)

Return an Astropy SkyCoord of the detector pointing in the SpacecraftFrame.

Attributes Documentation

azimuth

The azimuth of the detector normal

Type:

(float)

elevation

The elevation of the detector normal

Type:

(float)

full_name

The full detector name

Type:

(str)

number

The detector number

Type:

(int)

zenith

The zenith of the detector normal

Type:

(float)

Methods Documentation

classmethod from_full_name(full_name)

Create a Detector from the full detector name

Parameters:

full_name (str) – The full name of the detector

Returns:

(Detector)

classmethod from_num(num)

Create a Detector from an index number

Parameters:

num (int) – The index number

Returns:

(Detector)

classmethod from_str(value)

Create a Detector from a short string name

Parameters:

value (str) – The detector name

Returns:

(Detector)

pointing()

The detector pointing in azimuth and zenith

Returns:

(float, float)

skycoord(frame)

Return an Astropy SkyCoord of the detector pointing in the SpacecraftFrame.

Parameters:

frame (SpacecraftFrame) – The spacecraft frame

Returns:

(astropy.coordinates.SkyCoord)

Attributes Summary

G0

G1

G2

G3

G4

G5

Attributes Documentation

G0 = ('G0', 0, <Quantity 247.824 deg>, <Quantity 43.958 deg>)
G1 = ('G1', 1, <Quantity 180. deg>, <Quantity 20. deg>)
G2 = ('G2', 2, <Quantity 112.176 deg>, <Quantity 43.958 deg>)
G3 = ('G3', 3, <Quantity 67.824 deg>, <Quantity 43.958 deg>)
G4 = ('G4', 4, <Quantity 0. deg>, <Quantity 20. deg>)
G5 = ('G5', 5, <Quantity 292.176 deg>, <Quantity 43.958 deg>)