legacy_pl

gdt.missions.fermi.gbm.localization.dol.legacy_spectral_models.legacy_pl(e, index)[source]

Power law spectrum definition with legacy float32 support

Parameters:
  • e (np.ndarray) – Energy points to evaluate power law spectrum at

  • index (float) – Spectral index of the power law

Returns:

spec (np.ndarray) – Power law spectrum for (index) evaluated at E)