lanl / fiducia

An open source package for DANTE signal analysis using the cubic spline unfold method.
Other
5 stars 4 forks source link

Negative elements for power array coming from `inferPower()` #27

Open pmk-LANL opened 3 years ago

pmk-LANL commented 3 years ago

fiducia.main.inferPower(energies, spectra) produces an array with the total radiated power for each time. Negative values of power are nonphysical, and later cause issues when trying to calculate the radiation temperature which results in those elements being NaN.