compute_lightcurve_fvar#
- gammapy.estimators.utils.compute_lightcurve_fvar(lightcurve, flux_quantity='flux')[source]#
Compute the fractional excess variance of the input lightcurve.
Internally calls the
compute_fvar
function.- Parameters:
- lightcurve
FluxPoints
The lightcurve object.
- flux_quantitystr
Flux quantity to use for calculation. Should be ‘dnde’, ‘flux’, ‘e2dnde’ or ‘eflux’. Default is ‘flux’.
- lightcurve
- Returns:
- fvar
Table
Table of fractional excess variance and associated error for each energy bin of the lightcurve.
- fvar