OxIonics / ionics_fits

Small python fitting library with an emphasis on Atomic Molecular and Optical Physics
Apache License 2.0
0 stars 0 forks source link

Tph/hooks #37

Closed hartytp closed 1 year ago

hartytp commented 1 year ago

Remove the post_fit hook as it didn't feel that useful.

get_derived_parametrs now takes the x and y data as inputs. One use case I had for this was that I wanted to fit the peak of a sinusoid centered around some particular value. With this change I can now override get_derived_parameters to add an extra derived parameter which does this.

NB this is intended to be merged after https://github.com/OxIonics/ionics_fits/pull/36 The only new commit is https://github.com/OxIonics/ionics_fits/pull/37/commits/05fa798eb1e93fbf8da4e02383ae158407e1b5df