Skip to content

v1.2.1

Choose a tag to compare

@caidish caidish released this 15 Jan 01:31
· 39 commits to master since this release

What's Changed

Bug Fixes

  • Fixed ramp tolerance calculation: Changed hardcoded 1e-4 tolerance to use configurable err parameter 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 in ramp_to() and done_ramping()
  • sweep2d.py: Fixed tolerance in update_values()
  • sweep1d_listening.py: Fixed tolerance in ramp_to() and done_ramping()

Improved Error Messages

  • Error messages now advise users to increase the err parameter instead of step size when tolerance is too tight

Full Changelog: v1.2.0...v1.2.1