Make a summary stc file with mean over time points. Returns ------- stc : SourceEstimate | VectorSourceEstimate The modified stc.
(self)
| 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. |
no test coverage detected