pySPFM._solvers.debiasing.do_debias_block#
- do_debias_block(hrf, y, estimates_matrix, dist=2)[source]#
Perform debiasing with the block model.
- Parameters:
hrf ((E x T) ndarray) – Matrix containing shifted HRFs in its columns. E stands for the number of volumes times the number of echo-times.
y ((T x 1) ndarray) – Matrix with fMRI data provided to pySPFM in a voxel.
estimates_matrix ((T x 1) ndarray) – Matrix containing the non-zero coefficients selected as neuronal-related in a voxel.
dist (int, optional) – Minimum number of TRs in between of the peaks found, by default 2
- Returns:
beta_out (ndarray) – Debiased activity-inducing signal obtained from estimated innovation signal in a voxel.