get_det_geometry¶
- gdt.missions.fermi.gbm.localization.dol.legacy_functions.get_det_geometry(input_az, input_zen, nai_az, nai_zen)[source]¶
Get detector geometry relative to source.
Based on geometry provided by T. Morse, calculate angles to detectors from calling az and zen.
- Parameters:
input_az (float32) – Source azimuth in radians
input_zen (float32) – Source zenith in radians
nai_az (np.ndarray(12, float32)) – Azimuth position of each NaI detector on spacecraft in degrees
nai_zen (np.ndarray(12, float32)) – Zenith position of each NaI detector on spacecraft in degrees
- Returns:
det_angs (np.ndarray(ldet, float32)) – Detector angles to source in radians