Skip to content

Commit

Permalink
Merge pull request #95 from kevinsmia1939/fix_lonrentzian
Browse files Browse the repository at this point in the history
fix lorentzian not fixed value, fix as discussed in #94
  • Loading branch information
Julian-Hochhaus committed Oct 1, 2023
2 parents 0e11a6d + 750e6bc commit 4d9d954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2563,7 +2563,7 @@ def PeakSelector(self, mod):
def ratio_setup(self, pars, index_pk, strind, index):
if index == 2 or index == 6: # unset default expression which sets sigma and gamma for the voigt and skewed-voigt always to the same value
pars[strind + str(index_pk + 1) + '_gamma'].expr = ''
pars[strind + str(index_pk + 1) + '_gamma'].vary = True
if not self.pre[2][3][2 * index_pk] == 2: pars[strind + str(index_pk + 1) + '_gamma'].vary = True
# amp ratio setup
if self.pre[2][15][2 * index_pk + 1] > 0:
pktar = self.pre[2][15][2 * index_pk + 1]
Expand Down

0 comments on commit 4d9d954

Please sign in to comment.