eegprep.std_indvarmatch#

eegprep.std_indvarmatch(value, valuelist)#

Return 1-based indices where an independent-variable value matches.

This mirrors the useful EEGLAB behavior for strings, scalar numeric values, numeric vectors, and cell/list-valued variables while returning Python lists of EEGLAB-facing 1-based indices.

Parameters:
Return type:

list[int]