Skip to content

Which LMFIT version was used? #1

Description

@vzickus

When trying to run the test case (no modifications after cloning), I get an error associated with lmfit. Could you list the versions of packages you used when distributing the latest version?

simulating spectrum & irf data...
[108.0, 385.0, 2200.0]
[0.85, 0.147, 0.003]
counts: 4998983.000000004
calculating individual fit weights...


reconvolution fitting with 3 components...

Traceback (most recent call last):
  File "DReconvolutionProc.py", line 1046, in <module>
    fitModelDecay = Model(ExpDecay_3)
  File "/home/vytas/anaconda3/lib/python3.7/site-packages/lmfit/model.py", line 274, in __init__
    self._parse_params()
  File "/home/vytas/anaconda3/lib/python3.7/site-packages/lmfit/model.py", line 480, in _parse_params
    if fpar.default == fpar.empty:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions