GscDetectors

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

Bases: Detectors

The MAXI GSC detectors.

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

h_detectors()

Get all detectors that are in the horizontal direction.

is_h_detector()

Check if detector is a horizontal detector.

is_z_detector()

Check if detector is a zenith detector.

pointing()

The detector pointing in azimuth and zenith

skycoord(frame)

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

z_detectors()

Get all detectors that are in the zenith direction.

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)

classmethod h_detectors()[source]

Get all detectors that are in the horizontal direction.

Returns:

(list of GscDetectors)

is_h_detector()[source]

Check if detector is a horizontal detector.

Returns:

(bool)

is_z_detector()[source]

Check if detector is a zenith detector.

Returns:

(bool)

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)

classmethod z_detectors()[source]

Get all detectors that are in the zenith direction.

Returns:

(list of GscDetectors)

Attributes Summary

HA0

HA1

HA2

HB0

HB1

HB2

ZA0

ZA1

ZA2

ZB0

ZB1

ZB2

Attributes Documentation

HA0 = ('GSC_0', 0, None, None)
HA1 = ('GSC_1', 1, None, None)
HA2 = ('GSC_2', 2, None, None)
HB0 = ('GSC_6', 6, None, None)
HB1 = ('GSC_7', 7, None, None)
HB2 = ('GSC_8', 8, None, None)
ZA0 = ('GSC_3', 3, None, None)
ZA1 = ('GSC_4', 4, None, None)
ZA2 = ('GSC_5', 5, None, None)
ZB0 = ('GSC_9', 9, None, None)
ZB1 = ('GSC_A', 10, None, None)
ZB2 = ('GSC_B', 11, None, None)