lbl-anp / becquerel

Becquerel is a Python package for analyzing nuclear spectroscopic measurements.
Other
44 stars 16 forks source link

Refactor fitting test to use nested fixtures #316

Open jvavrek opened 2 years ago

jvavrek commented 2 years ago

Currently the HIGH_STAT_SIM_PARAMS is pretty inflexible, as it can't take an lmfit model or even a becquerel model, only string names. It would be great to generalize these tests, but trying to figure out how is very difficult given the current state of how we test. We should refactor for clarity including nested fixtures.