④ Drift Correction (optional)¶
If the sample drifted during acquisition (common early on, while cells are still settling), CalQTrace can measure the drift from a few fiducial cells, stable cells that should not move, and correct for it.
It comes after Track because fiducials are picked from tracked cells. In a killing assay, already-dead (PI-positive) cells make good fiducials: any apparent movement of a dead cell is the drift.
Picking fiducials¶
- Click + Drift layer.
- Pick fiducials in either of two ways:
- On the viewer: select one or more cells (Ctrl + click, or Ctrl + drag a box), then click Add fiducial.
- In the Cell States window, Drift Fiducials tab (faster for long movies): sort by Coverage (how much of the movie a track spans) and Motility (how much it moves), or click Suggest fiducials to pre-select candidates, then Mark selected as Fiducial.
- Click Calculate drift. This is deliberately a separate step so you can review your picks first. The result is one drift vector per frame, combined over all fiducials, so a gap in one fiducial's track is covered by the others.
Showing the correction¶
Whether the correction is applied on screen is a separate switch: Apply drift correction in the Rendering panel's Drift section. A small arrow shows the current frame's drift. Switching it on or off never changes stored data, only what is drawn.
Pre-computed drift
A drift.h5f file of per-frame shifts placed in the workspace folder is
still picked up automatically; see
File formats.