inferPower¶
-
fiducia.main.
inferPower
(energies, spectra, spectraUncertainty=None)[source]¶ Gets the inferred total radiation power as a function of time.
- Parameters
energies (numpy.ndarray) – Photon energies corresponding to input spectrum
spectra (numpy.ndarray) – Spectral Flux values as a function of photon energy in units of (GW/sr/eV)
- Returns
power (numpy.ndarray) – Total x-ray power (flux) as a function of time.
powerVariance (numpy.ndarray) – Variance \(\sigma^2\) on total x-ray power.
Notes
Examples