Skip to content

Commit

Permalink
Renaming parameters in docs to match with code
Browse files Browse the repository at this point in the history
  • Loading branch information
bsipocz authored and cdeil committed Feb 23, 2016
1 parent fe95149 commit 831d815
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions gammapy/spectrum/powerlaw.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ def power_law_flux(I=1, g=g_DEFAULT, e=1, e1=1, e2=E_INF):
----------
I : array_like
Integral flux in ``energy_min``, ``energy_max`` band
alpha : array_like
g : array_like
Power law spectral index
energy : array_like
e : array_like
Energy at which to compute the differential flux
e_min : array_like
e1 : array_like
Energy band minimum
e_max : array_like
e2 : array_like
Energy band maximum
Returns
Expand All @@ -108,13 +108,13 @@ def power_law_integral_flux(f=1, g=g_DEFAULT, e=1, e1=1, e2=E_INF):
----------
f : array_like
Differential flux at ``energy``
alpha : array_like
g : array_like
Power law spectral index
energy : array_like
e : array_like
Energy at which the differential flux is given
e_min : array_like
e1 : array_like
Energy band minimum
e_max : array_like
e2 : array_like
Energy band maximum
Returns
Expand Down

0 comments on commit 831d815

Please sign in to comment.