Skip to content

Commit

Permalink
Merge pull request #3 from fermi-lat/ME-02
Browse files Browse the repository at this point in the history
Add support for the PLSuperExpCutoff2 model
  • Loading branch information
jasercion authored Jul 10, 2019
2 parents 0699c29 + 8f90e02 commit ad6aad7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,40 @@ class Spectrum(Element, ParameterSet):
free = True)
],

'PLSuperExpCutoff2':
[
Parameter(name = 'Prefactor',
value = 1.0,
scale = 1.0e-11,
min = 1.0e-5,
max = 1000.0,
free = True),
Parameter(name = 'Index1',
value = 1.7,
scale = -1.0,
min = -1.5,
max = 5.0,
free = True),
Parameter(name = 'Scale',
value = 1.0,
scale = 1000.0,
min = 0.001,
max = 1000.0,
free = False),
Parameter(name = 'Expfactor',
value = 0.001,
scale = 1.0,
min = -1.0,
max = 1,
free = True),
Parameter(name = 'Index2',
value = 1.0,
scale = 1.0,
min = 0.0,
max = 2.0,
free = False)
],

'SmoothBrokenPowerLaw':
[
Parameter(name = 'Prefactor',
Expand Down

0 comments on commit ad6aad7

Please sign in to comment.