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

Method _transform_raw

mne/preprocessing/ica.py:1032–1040  ·  view source on GitHub ↗

Transform raw data.

(self, raw, start, stop, reject_by_annotation=False)

Source from the content-addressed store, hash-verified

1030 return sources
1031
1032 def _transform_raw(self, raw, start, stop, reject_by_annotation=False):
1033 """Transform raw data."""
1034 if not hasattr(self, "mixing_matrix_"):
1035 raise RuntimeError("No fit available. Please fit ICA.")
1036 start, stop = _check_start_stop(raw, start, stop)
1037 picks = self._get_picks(raw)
1038 reject = "omit" if reject_by_annotation else None
1039 data = raw.get_data(picks, start, stop, reject)
1040 return self._transform(data)
1041
1042 def _transform_epochs(self, epochs, concatenate):
1043 """Aux method."""

Callers 4

_sources_as_rawMethod · 0.95
score_sourcesMethod · 0.95
_assert_ica_attributesFunction · 0.80
_plot_sourcesFunction · 0.80

Calls 4

_get_picksMethod · 0.95
_transformMethod · 0.95
_check_start_stopFunction · 0.85
get_dataMethod · 0.45

Tested by 1

_assert_ica_attributesFunction · 0.64