usnistgov / mass

Microcalorimeter pulse-analysis software
MIT License
6 stars 0 forks source link

Add LMfit-based Gaussian and Voigt fitters #201

Closed joefowler closed 3 years ago

joefowler commented 3 years ago

Original report by Joseph Fowler (Bitbucket: joe_fowler, ).


I might have missed it, but the legacy GaussianFitter and VoigtFitter seem to be the only ways to fit a single Gaussian or Voigt in Mass. We want LMfit-based ways to do this that are similar to the new GenericLineModel.

joefowler commented 3 years ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


@{557058:9524f6a0-ef9f-4466-b913-d04e51ff9093} points me to quick_monochromatic_line which might meet this need. If so, then update the file LineFitting.md to explain how to use it for Voigt, Lorentz, and/or Gaussian fitting, and no new code will be required.

joefowler commented 3 years ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


Add demo of fitting a Gauss, Lorentz, or Voigt function

Fixes #201. Test output may not be correct yet, though.

joefowler commented 1 year ago

Original comment by Joseph Fowler (Bitbucket: joe_fowler, ).


Removing milestone: v0.7 (automated comment)