ephypype.pipelines.create_pipeline_power

ephypype.pipelines.create_pipeline_power(main_path, freq_bands, pipeline_name='power_pipeline', fmin=0, fmax=300, method='welch', is_epoched=False)[source]

Power pipeline.

Wraps functions of MNE to compute PSD of epoch or raw data.

Parameters:
main_pathstr

the main path of the pipeline

freq_bandslist

frequency bands

pipeline_namestr (default ‘power’)

name of the pipeline

fminfloat (default 0)

min frequency of interest

fmaxfloat (default 300)

max frequency of interest

methodstr (default ‘welch’)

if ‘welch’ the power spectral density (PSD) is computed by Welch’s method; otherwise, if ‘multitaper’ the PSD is computed by multitapers

is_epochedbool (default False)

True if the input data are in epoch format (-epo.fif); False if the input data are raw data (-raw.fif)

fif_file (inputnode): str

path to raw or epoched meg data in fif format

Returns:
pipelineinstance of Workflow