- src : instance of SourceSpaces
The source space.
- n_dipoles : int
Number of dipoles to simulate.
- times : array
Time array
- data_fun : callable
Function to generate the waveforms. The default is a 100 nAm, 10 Hz
sinusoid as 1e-7 * np.sin(20 * pi * t)
. The function should take
as input the array of time samples in seconds and return an array of
the same length containing the time courses.
- labels : None | list of Label
The labels. The default is None, otherwise its size must be n_dipoles.
- random_state : None | int | ~numpy.random.RandomState
To specify the random generator state.
- location : str
The label location to choose. Can be ‘random’ (default) or ‘center’
to use mne.Label.center_of_mass()
. Note that for ‘center’
mode the label values are used as weights.
- subject : string | None
The subject the label is defined for.
Only used with location='center'
.
- subjects_dir : str, or None
Path to the SUBJECTS_DIR. If None, the path is obtained by using
the environment variable SUBJECTS_DIR.
Only used with location='center'
.
- surf : str
The surface to use for Euclidean distance center of mass
finding. The default here is “sphere”, which finds the center
of mass on the spherical surface to help avoid potential issues
with cortical folding.