fissa.deltaf module#

Compute changes in fluorescence signals relative to baseline activity.

Authors:
fissa.deltaf.findBaselineF0(rawF, fs, axis=0, keepdims=False)[source]#

Find the baseline for a fluorescence imaging trace line.

The baseline, F0, is the 5th-percentile of the 1Hz lowpass filtered signal.

Parameters
rawFarray_like

Raw fluorescence signal.

fsfloat

Sampling frequency of rawF, in Hz.

axisint, default=0

Dimension which contains the time series. Default is 0.

keepdimsbool, optional

Whether to preserve the dimensionality of the input. Default is False.

Returns
baselineF0numpy.ndarray

The baseline fluorescence of each recording, as an array.