Skip to content

update temporal CaliAli

function obj=update_temporal_CaliAli(obj, use_parallel,F)

Description

update_temporal_CaliAli - Updates the temporal components of extracted neuronal signals.

This function refines the temporal dynamics of detected neuronal components by processing the data in multiple batches. It updates the neuronal activity traces while accounting for residual background activity, ensuring robust deconvolution and denoising.

Function Inputs:
Parameter Name Type Description
obj CNMF object Object containing spatial and temporal components.
use_parallel Boolean Flag for enabling parallel processing.
F Array Specifies batch sizes for processing. If not provided, it is determined using get_batch_size(obj).
Function Outputs:
Parameter Name Type Description
obj CNMF object Updated CNMF object with refined temporal components.
Example usage:

```matlab neuron = update_temporal_CaliAli(neuron, true); neuron = update_temporal_CaliAli(neuron, false, batch_frames);