flare_flux

libra.flare_flux(times, flare_epoch, delta_f, half_width)[source] [edit on github]

Generate a flare that follows the flux distribution from Davenport et al. 2014.

Parameters:

times : ndarray

Times of observations

flare_epoch : float

Time at maximum flare flux

delta_f : float

Maximum flux (measured up from zero)

half_width : float

Full-width at half maximum flux, in the same time units as times

Returns:

flux : ndarray

Flare fluxes at times