compute_flux_doubling#
- gammapy.stats.compute_flux_doubling(flux, flux_err, coords, axis=0)[source]#
Compute the minimum characteristic flux doubling and halving over a certain coordinate axis for a series of measurements.
Computing the flux doubling can give the doubling time in a lightcurve displaying significant temporal variability, e.g. an AGN flare.
The variable is computed as:
where
and are the fluxes measured at subsequent coordinates and . The error is obtained by propagating the relative errors on the flux measures.- Parameters:
- Returns:
- doubling_dictdict
Dictionary containing the characteristic flux doubling, halving and errors, with coordinates at which they were found.