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

Method volume

mne/source_estimate.py:2924–2942  ·  view source on GitHub ↗

Return the volume surface source estimate. Returns ------- stc : instance of VolSourceEstimate or VolVectorSourceEstimate The volume source estimate.

(self)

Source from the content-addressed store, hash-verified

2922 )
2923
2924 def volume(self):
2925 """Return the volume surface source estimate.
2926
2927 Returns
2928 -------
2929 stc : instance of VolSourceEstimate or VolVectorSourceEstimate
2930 The volume source estimate.
2931 """
2932 if self._data_ndim == 3:
2933 klass = VolVectorSourceEstimate
2934 else:
2935 klass = VolSourceEstimate
2936 return klass(
2937 self.data[self._n_surf_vert :],
2938 self.vertices[2:],
2939 self.tmin,
2940 self.tstep,
2941 self.subject,
2942 )
2943
2944
2945@fill_doc

Callers 3

test_mixed_source_morphFunction · 0.80
_check_stcMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_mixed_source_morphFunction · 0.64