mne.apply_forward_raw¶
- mne.apply_forward_raw(fwd, stc, info, start=None, stop=None, on_missing='raise', use_cps=True, verbose=None)[source]¶
Project source space currents to sensor space using a forward operator.
The sensor space data is computed for all channels present in fwd. Use pick_channels_forward or pick_types_forward to restrict the solution to a subset of channels.
The function returns a Raw object, which is constructed using provided info. The info object should be from the same MEG system on which the original data was acquired. An exception will be raised if the forward operator contains channels that are not present in the info.
- Parameters
- fwd
Forward
Forward operator to use.
- stc
SourceEstimate
The source estimate from which the sensor space data is computed.
- info
mne.Info
The
mne.Info
object with information about the sensors and methods of measurement.- start
int
, optional Index of first time sample (index not time is seconds).
- stop
int
, optional Index of first time sample not to include (index not time is seconds).
- on_missing‘raise’ | ‘warn’ | ‘ignore’
Can be
'raise'
(default) to raise an error,'warn'
to emit a warning, or'ignore'
to ignore whenstc
has vertices that are not infwd
. Default is “raise”.New in version 0.18.
- use_cpsbool
Whether to use cortical patch statistics to define normal orientations for surfaces (default True).
New in version 0.21.
- verbosebool |
str
|int
|None
Control verbosity of the logging output. If
None
, use the default verbosity level. See the logging documentation andmne.verbose()
for details. Should only be passed as a keyword argument.
- fwd
- Returns
- raw
Raw
object Raw object with computed sensor space data.
- raw
See also
apply_forward
Compute sensor space data and return an Evoked object.