sesameeg.utils.estimate_dip_mom_std

sesameeg.utils.estimate_dip_mom_std(r_data, lf)[source]

Estimate the standard deviation of the prior of the dipole moment.

Parameters:
r_datandarray of float, shape (n_sens, n_ist)

The real part of the data; n_sens is the number of sensors and n_ist is the number of time-points or of frequencies.

lfndarray of float, shape (n_sens x n_comp*n_verts)

The leadfield matrix. (n_comp = 1, if fixed orientation, 3, if free orientation)

Returns:
s_qfloat

The estimated standard deviation.