v1.2.1
What's Changed
Bug Fixes
- Fixed ramp tolerance calculation: Changed hardcoded
1e-4tolerance to use configurableerrparameter in sweep tolerance checks. This fixes false "Ramping failed" errors with small step sizes (e.g., nanometer-scale scanning in AFM/NV microscopy).
Files Changed
sweep1d.py: Fixed tolerance inramp_to()anddone_ramping()sweep2d.py: Fixed tolerance inupdate_values()sweep1d_listening.py: Fixed tolerance inramp_to()anddone_ramping()
Improved Error Messages
- Error messages now advise users to increase the
errparameter instead of step size when tolerance is too tight
Full Changelog: v1.2.0...v1.2.1