Skip to content

webSMLM v0.7.0 — drift correction (AIM)

Choose a tag to compare

@jhohlbein jhohlbein released this 22 Jul 16:08
· 838 commits to main since this release

Phase 6 complete: drift correction via AIM (adaptive intersection maximization) — a point-based estimator with no image rendering and no FFT, working natively in 2D and 3D.

Highlights

  • 2D + 3D drift correction. x/y grid search plus a separate z search on the Phasor-3D output. Validated against simulated ground truth (RMS ~2.7/4.4 nm in x/y; ~5–8 nm in z at realistic axial precision).
  • Robust z estimation. Fixed a z sawtooth artifact (broad/noisy intersection peaks) with a linear-preserving segment smooth; clamped out-of-calibration z is excluded, with a warning when >20% is clamped (sample z-range exceeds the calibration).
  • Reproducible experimentation. Each run re-estimates from the raw localizations, so segment size and search radius can be swept and compared without stacking residuals.
  • Drift curve plotted in the left panel (reconstruction stays visible), corrected coordinates drive the render and CSV, raw coordinates are kept.

References

AIM — Ma, Chen, Nguyen & Liu, Toward drift-free high-throughput nanoscopy through adaptive intersection maximization, Sci. Adv. 10(21), eadm7765 (2024), doi:10.1126/sciadv.adm7765. Adapted from the reference implementation in Picasso (picasso/aim.py; Schnitzbauer et al., Nat. Protoc. 12, 1198–1228, 2017).

Single self-contained webSMLM.html — download and open in any modern browser.