Return the volume surface source estimate. Returns ------- stc : instance of VolSourceEstimate or VolVectorSourceEstimate The volume source estimate.
(self)
| 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 |
no outgoing calls