This documentation is for development version 0.18.dev0.

mne.apply_forward

mne.apply_forward(fwd, stc, info, start=None, stop=None, 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 an Evoked object, which is constructed from evoked_template. The evoked_template 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 template.

Parameters:
fwd : Forward

Forward operator to use.

stc : SourceEstimate

The source estimate from which the sensor space data is computed.

info : instance of Info

Measurement info to generate the evoked.

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).

use_cps : bool (default True)

Whether to use cortical patch statistics to define normal orientations when converting to fixed orientation (if necessary).

New in version 0.15.

verbose : bool, str, int, or None

If not None, override default verbose level (see mne.verbose() and Logging documentation for more).

Returns:
evoked : Evoked

Evoked object with computed sensor space data.

See also

apply_forward_raw
Compute sensor space data and return a Raw object.

Examples using mne.apply_forward