eelbrain.complete_source_space
- eelbrain.complete_source_space(ndvar, fill=0.0, mask=None, to=None)
Fill in missing vertices on an NDVar with a partial source space
- Parameters
ndvar (NDVar) – NDVar with SourceSpace dimension that is missing some vertices.
fill (float) – Value to fill in for missing vertices.
mask (bool) – Mask vertices that are missing in
ndvar
. By default, vertices are masked only ifndvar
already has a mask.to (SourceSpace) – Source space with the vertices that should be added (by default, all vertices from the original source space are added).
- Returns
Copy of
ndvar
with its SourceSpace dimension completed.- Return type
completed_ndvar