MCPcopy Index your code
hub / github.com/mne-tools/mne-python / VolSourceEstimate

Class VolSourceEstimate

mne/source_estimate.py:2622–2713  ·  view source on GitHub ↗

Container for volume source estimates. Parameters ---------- data : array of shape (n_dipoles, n_times) | tuple, shape (2,) The data in source space. The data can either be a single array or a tuple with two arrays: "kernel" shape (n_vertices, n_sensors) and "sen

Source from the content-addressed store, hash-verified

2620
2621@fill_doc
2622class VolSourceEstimate(_BaseVolSourceEstimate):
2623 """Container for volume source estimates.
2624
2625 Parameters
2626 ----------
2627 data : array of shape (n_dipoles, n_times) | tuple, shape (2,)
2628 The data in source space. The data can either be a single array or
2629 a tuple with two arrays: "kernel" shape (n_vertices, n_sensors) and
2630 "sens_data" shape (n_sensors, n_times). In this case, the source
2631 space data corresponds to ``np.dot(kernel, sens_data)``.
2632 %(vertices_volume)s
2633 %(tmin)s
2634 %(tstep)s
2635 %(subject_optional)s
2636 %(verbose)s
2637
2638 Attributes
2639 ----------
2640 subject : str | None
2641 The subject name.
2642 times : array of shape (n_times,)
2643 The time vector.
2644 %(vertices_volume)s
2645 data : array of shape (n_dipoles, n_times)
2646 The data in source space.
2647 shape : tuple
2648 The shape of the data. A tuple of int (n_dipoles, n_times).
2649
2650 See Also
2651 --------
2652 SourceEstimate : A container for surface source estimates.
2653 VectorSourceEstimate : A container for vector surface source estimates.
2654 VolVectorSourceEstimate : A container for volume vector source estimates.
2655 MixedSourceEstimate : A container for mixed surface + volume source
2656 estimates.
2657
2658 Notes
2659 -----
2660 .. versionadded:: 0.9.0
2661 """
2662
2663 @verbose
2664 def save(self, fname, ftype="stc", *, overwrite=False, verbose=None):
2665 """Save the source estimates to a file.
2666
2667 Parameters
2668 ----------
2669 fname : path-like
2670 The stem of the file name. The stem is extended with ``"-vl.stc"``
2671 or ``"-vl.w"``.
2672 ftype : str
2673 File format to use. Allowed values are ``"stc"`` (default),
2674 ``"w"``, and ``"h5"``. The ``"w"`` format only supports a single
2675 time point.
2676 %(overwrite)s
2677
2678 .. versionadded:: 1.0
2679 %(verbose)s

Callers 11

test_volume_stcFunction · 0.90
test_transform_dataFunction · 0.90
test_to_data_frameFunction · 0.90
test_vol_maskFunction · 0.90
test_iterableFunction · 0.90
make_forward_dipoleFunction · 0.85

Calls

no outgoing calls

Tested by 10

test_volume_stcFunction · 0.72
test_transform_dataFunction · 0.72
test_to_data_frameFunction · 0.72
test_vol_maskFunction · 0.72
test_iterableFunction · 0.72