GscDetectors¶
- class gdt.missions.maxi.gsc.detectors.GscDetectors(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
DetectorsThe MAXI GSC detectors.
Attributes Summary
The azimuth of the detector normal
The elevation of the detector normal
The full detector name
The detector number
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
Get all detectors that are in the horizontal direction.
Check if detector is a horizontal 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.
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)
- 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
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)¶