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

Improve heuristics #68

Closed hartytp closed 1 year ago

hartytp commented 1 year ago

Implement has_user_initial_value to avoid the less ergonomic pattern

try:
    parameter.get_initial_value()
except ValueError:
    ....

Fix checks on number of points below cut-off in find_x_offset_fft

Implement new offset-finding heuristic for symmetric, peaked functions.

Closes #67 #65 #66

hartytp commented 1 year ago

cc @saking2