eelbrain.pipeline.MneExperiment.load_raw

MneExperiment.load_raw(add_bads=True, preload=False, ndvar=False, samplingrate=None, decim=None, tstart=None, tstop=None, **kwargs)

Load a raw file as mne Raw object.

Parameters
  • add_bads (Union[bool, Sequence[str]]) – Add bad channel information to the bad channels text file (default True).

  • preload (bool) – Load raw data into memory (default False; see mne.io.read_raw_fif() parameter).

  • ndvar (bool) – Load as NDVar instead of mne Raw object (default False).

  • samplingrate (Optional[int]) – Samplingrate in Hz for the analysis.

  • decim (Optional[int]) – Decimate data (default 1, i.e. no decimation; value other than 1 implies preload=True)

  • tstart (Optional[float]) – Crop the raw data. After cropping the time axis will be reset, i.e., the tstart will be set to t = 0.

  • tstop (Optional[float]) – Crop the raw data.

  • ..

    Applicable State Parameters:

    • session: from which session to load raw data

    • raw: preprocessing pipeline