Old fits were not removed when starting a new measurement, which could be annoying especially when the frequency range changed between the old and the new measurement.
How Has This Been Tested?
Tested with dummy configuration, which should not matter
Screenshots (only if appropriate, delete if not):
Types of changes
[x] Bug fix
[ ] New feature
[ ] Breaking change (Causes existing functionality to not work as expected)
Checklist:
[x] My code follows the code style of this project.
[x] I have documented my changes in /docs/changelog.md.
[ ] My change requires additional/updated documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added/updated the config example for any module docstrings as necessary.
[x] I have checked that the change does not contain obvious errors
(syntax, indentation, mutable default values, etc.).
[x] I have tested my changes using 'Load all modules' on the default dummy configuration.
[ ] All changed Jupyter notebooks have been stripped of their output cells.
Remove old fits when starting a new ODMR measurement
Description
As discussed in https://github.com/Ulm-IQO/qudi-iqo-modules/discussions/137, all fits are removed when starting a new ODMR measurement.
Motivation and Context
Old fits were not removed when starting a new measurement, which could be annoying especially when the frequency range changed between the old and the new measurement.
How Has This Been Tested?
Tested with dummy configuration, which should not matter
Screenshots (only if appropriate, delete if not):
Types of changes
Checklist:
/docs/changelog.md
.