Research·November 16, 2026·5 min read

MicroTrace — Molecule Tracker

Biophysical simulation, Crocker-Grier linking & diffusion classification.

MicroTrace — Molecule Tracker
Linking
Crocker-Grier
Dynamics
Brownian / Confined
Precision
Sub-pixel PSF
Language
Python 3.11+

Pipeline & core implementation

Architecture Pipeline
PSF SimSub-pixel DetectTrack LinkMSD Classify
What broke first: Dense molecular crossing caused greedy frame linking to swap IDs; constraining displacement search radius by local MSD priors reduced track switches.
msd_fit.py · Python
def classify_diffusion(alpha: float) -> str:
  if alpha < 0.75: return "confined"
  if alpha > 1.25: return "directed"
  return "brownian"

Coupling ground-truth simulation with tracking

Live-cell microscopy papers often tune computer-vision trackers without knowing true molecule trajectories. MicroTrace closes that gap by synthesizing noisy point-spread-function stacks with known physical diffusion regimes—unconstrained Brownian motion, cytoskeletal corral confinement, and active motor transport.

Sub-pixel localization & Crocker-Grier linking

Candidate fluorophores are localized to sub-pixel precision (< 0.25 px RMSE), linked across frames via Crocker-Grier optimal assignment, and fitted against log-log Mean Squared Displacement curves (MSD ~ tau^alpha) to separate diffusive, sub-diffusive, and directed populations.

Automated benchmark suite

Every experiment script produces reproducible plots (including experiment_01.png Brownian ensembles) alongside automated unit tests asserting centroid error bounds and trajectory recovery under Poisson camera noise.

Measured benchmarks

Sub-pixel centroiding< 0.25 px RMSETested suiteSynthetic ground-truth

Project status & checklist

● Completed
Done
  • Synthetic PSF microscopy stack generator for Brownian, confined & directed motion
  • Sub-pixel detector (< 0.25 px RMSE) & Crocker-Grier trajectory linker
  • MSD anomalous exponent classifier & passing test/experiment suite
Needs to be done

All planned milestones complete.