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

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

  • 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 if ndvar 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).


Copy of ndvar with its SourceSpace dimension completed.

Return type: