power_law_df_over_f

gammapy.spectrum.powerlaw.power_law_df_over_f(e, e0, f0, df0, dg, cov)[source]

Compute relative flux error at any given energy.

Used to draw butterflies.

Reference: http://arxiv.org/pdf/0910.4881 Equation (1)