GbmDetectors

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

Bases: Detectors

The GBM 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

bgo()

Get all detectors that are BGOs

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

is_bgo()

Check if detector is a BGO.

is_nai()

Check if detector is an NaI.

nai()

Get all detectors that are NaIs

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

bgo = <bound method GbmDetectors.bgo of <enum 'GbmDetectors'>>[source]
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)

is_bgo()[source]

Check if detector is a BGO.

Returns:

(bool)

is_nai()[source]

Check if detector is an NaI.

Returns:

(bool)

nai = <bound method GbmDetectors.nai of <enum 'GbmDetectors'>>[source]
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

b0

b1

n0

n1

n2

n3

n4

n5

n6

n7

n8

n9

na

nb

Attributes Documentation

b0 = ('BGO_00', 12, <Quantity 0. deg>, <Quantity 90. deg>)
b1 = ('BGO_01', 13, <Quantity 180. deg>, <Quantity 90. deg>)
n0 = ('NAI_00', 0, <Quantity 45.89 deg>, <Quantity 20.58 deg>)
n1 = ('NAI_01', 1, <Quantity 45.11 deg>, <Quantity 45.31 deg>)
n2 = ('NAI_02', 2, <Quantity 58.44 deg>, <Quantity 90.21 deg>)
n3 = ('NAI_03', 3, <Quantity 314.87 deg>, <Quantity 45.24 deg>)
n4 = ('NAI_04', 4, <Quantity 303.15 deg>, <Quantity 90.27 deg>)
n5 = ('NAI_05', 5, <Quantity 3.35 deg>, <Quantity 89.79 deg>)
n6 = ('NAI_06', 6, <Quantity 224.93 deg>, <Quantity 20.43 deg>)
n7 = ('NAI_07', 7, <Quantity 224.62 deg>, <Quantity 46.18 deg>)
n8 = ('NAI_08', 8, <Quantity 236.61 deg>, <Quantity 89.97 deg>)
n9 = ('NAI_09', 9, <Quantity 135.19 deg>, <Quantity 45.55 deg>)
na = ('NAI_10', 10, <Quantity 123.73 deg>, <Quantity 90.42 deg>)
nb = ('NAI_11', 11, <Quantity 183.74 deg>, <Quantity 90.32 deg>)