eelbrain.complete_source_space¶
-
eelbrain.
complete_source_space
(ndvar, fill=0.0, mask=None)¶ Fill in missing vertices on an NDVar with a partial source space
Parameters: - ndvar : NDVar (…, source, …)
NDVar with SourceSpace dimension that is missing some vertices.
- fill : scalar
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.
Returns: - completed_ndvar : NDVar
Copy of
ndvar
with its SourceSpace dimension completed.