eelbrain.complete_source_space(ndvar, fill=0.0, mask=None)

Fill in missing vertices on an NDVar with a partial source space

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 if ndvar already has a mask.

completed_ndvar : NDVar

Copy of ndvar with its SourceSpace dimension completed.