Chi2Grid¶
- class gdt.missions.fermi.gbm.localization.Chi2Grid[source]¶
Bases:
objectClass for the GBM legacy internal Chi2Grid localization files/objects.
Attributes Summary
The spacecraft azimuth grid points
The chi-squared value at each grid point
The Dec grid points
Number of sky points in the Chi2Grid
The spacecraft attitude quaternion
The RA grid points
The spacecraft position in Earth inertial coordinates
The significance value at each point
The trigger time
The spacecraft zenith grid points
Methods Summary
from_data(az, zen, ra, dec, chisq)Create a Chi2Grid object from arrays
open(filename)Read a chi2grid file and create a Chi2Grid object
Attributes Documentation
- azimuth¶
The spacecraft azimuth grid points
- Type:
(np.array)
- chisq¶
The chi-squared value at each grid point
- Type:
(np.array)
- dec¶
The Dec grid points
- Type:
(np.array)
- numpts¶
Number of sky points in the Chi2Grid
- Type:
(int)
- quaternion¶
The spacecraft attitude quaternion
- Type:
(np.array)
- ra¶
The RA grid points
- Type:
(np.array)
- scpos¶
The spacecraft position in Earth inertial coordinates
- Type:
(np.array)
- significance¶
The significance value at each point
- Type:
(np.array)
- trigtime¶
The trigger time
- Type:
(float)
- zenith¶
The spacecraft zenith grid points
- Type:
(np.array)
Methods Documentation
- classmethod from_data(az, zen, ra, dec, chisq)[source]¶
Create a Chi2Grid object from arrays
- Parameters:
az (np.array) – The azimuth grid points
zen (np.array) – The zenith grid points
ra (np.array) – The RA grid points
dec (np.array) – The Dec grid points
chisq (np.array) – The chi-squared values at each grid point
- Returns:
Chi2Grid– The Chi2Grid object