Time Course

Analysis › Measure · version 2

The localization rate, any column's median and the image tags

What it does

Draws how the data change during the acquisition: the number of localizations per frame, the median of any attribute – photons, background, the localization precision xy_err_nm, the PSF width sigma_nm, z_nm – and the image tags the microscope recorded (the piezo position, the activation laser), all against frame, time or file.

An acquisition that degrades shows it here first: the density falls as the dye bleaches, the background climbs with the activation laser, the photons drop as the buffer is used up, the precision gets worse when the focus lock lets go. Look at it before trusting a number measured over the whole movie, and before deciding which frames to keep.

Each visible layer is a line of its own, read as the layer shows it – its filter, the drawn ROI, and merged blinks if the layer merges them, when the rate is blinks per frame. The image tags belong to the acquisition and are drawn once, in grey. To look at a tag in detail, beside the localization rate on a second axis, use Image Tags.

How it works

1. Windows. The frames are cut into windows, each a whole number of frames: 6000 frames in 60 windows are windows of 100 frames.

2. A value per window. For the rate, the localizations in the window over the frames it covers. For an attribute, the median (or mean, with statistic) of the localizations in the window; a window with fewer than 10 gives no point. For an image tag, its mean over the window's frames.

3. Drawing. A panel per series, one under the other on the same time axis – or, with draw on one graph, every series in one graph, each divided by its own largest value, so their shapes can be compared.

A simulated acquisition whose dye bleaches with a time constant of 2500 frames and whose photons fall by 40 % over the movie: both trends come back (dashed: the truth).

In detail

Windows of frames. With frames from the first to the last and windows, each window is frames long, so there are of them – about – and the last may be shorter. A window of a fractional number of frames (19.99) would hold 19 or 20 frames and a steady rate would wobble by a twentieth, which is why it is whole frames. The rate is , the localizations in window over the frames it covers.

Time. With x on time (s), the frame number times the frame time, which on auto is the file's frame time: the time from one frame to the next where the file records it (Micro-Manager's ActualInterval-ms, a time-lapse interval, SMAP's timediff, or the fitter's frame time), else the exposure – the same on a camera that streams as fast as it can, and short by the camera's dead time on one that does not; a file that records neither is given one in File > File properties. With several files open, the first file's. The windows are still whole frames; only the axis is relabelled. A table with a clock of its own (MINFLUX's time_s) is cut into equal windows of that clock instead, and its rate is per second.

Files. With x on file number, one point per file of the session (filenumber), every localization of the file in it; the rate is per file. The image tags are per frame and are not drawn against files.

The text gives, per series and layer, its first and last value and the change between them in percent: the one number to read when the question is whether the acquisition held.

Parameters

settingdefaultwhat it does
series
series
localizations per frame, photonsWhat to draw against time: the localization rate, attributes (their median per window), image tags.

The localization rate and photons are where to start. Add background when the activation laser is being raised, xy_err_nm or sigma_nm when the focus is in doubt, and the piezo tag beside them to see whether the focus lock moved.

statistic
statistic
medianOf an attribute in each window. Choices: median; mean
x
x
frameWhat the series are drawn against. Choices: frame; time (s); file number
windows
windows
100How many equal parts the acquisition is cut into.

100 suits most movies. Fewer windows give smoother lines and miss a short event; more show a short event and more noise. Each window should hold a few hundred localizations for a median to be steady.

2 to 10000
frame time
frame_time_ms
autoAuto: the file's, else its exposure. at least 0.001 ms
draw
draw
a panel per seriesOne graph compares the shapes. Choices: a panel per series; one graph, each to its maximum

Output

The figure: a panel per series, or one graph of the shapes, with a line per visible layer. The text: the windows, and per series and layer the first and last value and the change. A good acquisition has a rate that falls slowly and smoothly, photons and precision that stay flat, and a piezo that moves only as much as the focus lock needs.

Differences from SMAP

Based on SMAP's Analyze/measure/StatsVsTime (Ries 2020). The main changes:

References