MCPcopy
hub / github.com/mne-tools/mne-python / _check_values_labels

Function _check_values_labels

mne/label.py:2548–2553  ·  view source on GitHub ↗
(values, n_labels)

Source from the content-addressed store, hash-verified

2546
2547
2548def _check_values_labels(values, n_labels):
2549 if n_labels != len(values):
2550 raise ValueError(
2551 f"values.shape[0] ({values.shape[0]}) must match the number of "
2552 f"labels ({n_labels})"
2553 )
2554
2555
2556def _labels_to_stc_surf(labels, values, tmin, tstep, subject):

Callers 2

labels_to_stcFunction · 0.85
_labels_to_stc_surfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected