BatseDetectors

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

Bases: Detectors

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

is_lad()

Check if detector is a LAD.

is_sd()

Check if detector is a SD.

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)

is_lad()[source]

Check if detector is a LAD.

Returns:

(bool) – True if detector is LAD, False otherwise.

is_sd()[source]

Check if detector is a SD.

Returns:

(bool) – True if detector is SD, False otherwise.

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

LAD0

LAD1

LAD2

LAD3

LAD4

LAD5

LAD6

LAD7

SD0

SD1

SD2

SD3

SD4

SD5

SD6

SD7

Attributes Documentation

LAD0 = ('LAD0', 0, <Quantity 45. deg>, <Quantity 35.26 deg>)
LAD1 = ('LAD1', 1, <Quantity 135. deg>, <Quantity 35.26 deg>)
LAD2 = ('LAD2', 2, <Quantity 225. deg>, <Quantity 35.26 deg>)
LAD3 = ('LAD3', 3, <Quantity 315. deg>, <Quantity 35.26 deg>)
LAD4 = ('LAD4', 4, <Quantity 45. deg>, <Quantity 144.73 deg>)
LAD5 = ('LAD5', 5, <Quantity 135. deg>, <Quantity 144.73 deg>)
LAD6 = ('LAD6', 6, <Quantity 225. deg>, <Quantity 144.73 deg>)
LAD7 = ('LAD7', 7, <Quantity 315. deg>, <Quantity 144.73 deg>)
SD0 = ('SD0', 8, <Quantity 45. deg>, <Quantity 54.26 deg>)
SD1 = ('SD1', 9, <Quantity 135. deg>, <Quantity 54.26 deg>)
SD2 = ('SD2', 10, <Quantity 225. deg>, <Quantity 54.26 deg>)
SD3 = ('SD3', 11, <Quantity 315. deg>, <Quantity 54.26 deg>)
SD4 = ('SD4', 12, <Quantity 45. deg>, <Quantity 125.73 deg>)
SD5 = ('SD5', 13, <Quantity 135. deg>, <Quantity 125.73 deg>)
SD6 = ('SD6', 14, <Quantity 225. deg>, <Quantity 125.73 deg>)
SD7 = ('SD7', 15, <Quantity 315. deg>, <Quantity 125.73 deg>)