GscFov¶
- class gdt.missions.maxi.gsc.detectors.GscFov(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
DetectorsThe MAXI GSC detector fields of view for the two GSC instruments: GSC-H (Horizontal) and GSC-Z (Zenith). The FOVs each are ~160 degrees x ~3 degrees.
Attributes Summary
The azimuth of the detector normal
The elevation of the detector normal
The bounding box of the FOV
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
pointing()The detector pointing in azimuth and zenith
skycoord(frame)Creates a polygon in the MAXI frame based on the bounding box of the FOV.
Attributes Documentation
- azimuth¶
The azimuth of the detector normal
- Type:
(float)
- elevation¶
The elevation of the detector normal
- Type:
(float)
- fov¶
The bounding box of the FOV
- Type:
(list of tuples)
- 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)[source]¶
Creates a polygon in the MAXI frame based on the bounding box of the FOV. The last coordinate represents the center of the FOV, while the remaining coordinates (0, N-1) represent the closed polygon of the FOV.
- Parameters:
frame (MaxiFrame) – The MAXI coordinate frame
- Returns:
(astropy.coordinate.SkyCoord)
Attributes Summary
Attributes Documentation
- H = ('GSC-H', 0, <Quantity 0. deg>, <Quantity 90. deg>, [(280.0, 91.5), (80.0, 91.5), (80.0, 88.5), (280.0, 88.5), (280.0, 91.5)])¶
- Z = ('GSC-Z', 1, <Quantity 0. deg>, <Quantity 180. deg>, [(268.5, 100.0), (91.5, 100.0), (88.5, 100.0), (271.5, 100.0), (268.5, 100.0)])¶