MCPcopy
hub / github.com/mne-tools/mne-python / load_data

Method load_data

mne/io/base.py:569–590  ·  view source on GitHub ↗

Load raw data. Parameters ---------- %(verbose)s Returns ------- raw : instance of Raw The raw object with data. Notes ----- This function will load raw data if it was not already preloaded. If data were a

(self, verbose=None)

Source from the content-addressed store, hash-verified

567
568 @verbose
569 def load_data(self, verbose=None):
570 """Load raw data.
571
572 Parameters
573 ----------
574 %(verbose)s
575
576 Returns
577 -------
578 raw : instance of Raw
579 The raw object with data.
580
581 Notes
582 -----
583 This function will load raw data if it was not already preloaded.
584 If data were already preloaded, it will do nothing.
585
586 .. versionadded:: 0.10.0
587 """
588 if not self.preload:
589 self._preload_data(True)
590 return self
591
592 def _preload_data(self, preload):
593 """Actually preload the data."""

Callers 15

mne_cov_power.pyFile · 0.45
3d_to_2d.pyFile · 0.45
otp.pyFile · 0.45
muscle_ica.pyFile · 0.45
eeg_csd.pyFile · 0.45
ica_comparison.pyFile · 0.45

Calls 1

_preload_dataMethod · 0.95

Tested by 15

epochsFunction · 0.36
epochs_fullFunction · 0.36
epochs_spectrumFunction · 0.36
epochs_tfrFunction · 0.36
epochs_emptyFunction · 0.36
test_as_meg_type_evokedFunction · 0.36
test_decimateFunction · 0.36
test_verbose_methodFunction · 0.36
test_fine_cal_systemsFunction · 0.36
test_correctionFunction · 0.36