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

Method mean

mne/source_estimate.py:1025–1035  ·  view source on GitHub ↗

Make a summary stc file with mean over time points. Returns ------- stc : SourceEstimate | VectorSourceEstimate The modified stc.

(self)

Source from the content-addressed store, hash-verified

1023 return self
1024
1025 def mean(self):
1026 """Make a summary stc file with mean over time points.
1027
1028 Returns
1029 -------
1030 stc : SourceEstimate | VectorSourceEstimate
1031 The modified stc.
1032 """
1033 out = self.sum()
1034 out /= len(self.times)
1035 return out
1036
1037 def sum(self):
1038 """Make a summary stc file with sum over time points.

Calls 1

sumMethod · 0.95

Tested by

no test coverage detected