smlmlp.aggregate_flux module
- smlmlp.aggregate_flux(intensity_eff, blk, fr, *, cuda=False, parallel=False)[source]
Calculate blink flux from localization intensity.
- Parameters:
intensity_eff (array-like) – Effective localization intensities.
blk (array-like) – Blink identifiers.
fr (array-like) – Frame identifiers.
cuda (bool, optional) – Execution options accepted by all analysis functions.
parallel (bool, optional) – Execution options accepted by all analysis functions.
- Returns:
flux (ndarray) – Mean middle-frame intensity per blink, with NaN for short blinks.
switching (ndarray of bool) – True for first and last localizations in each blink.
info (dict) – Empty diagnostics dictionary.