config.validate_eeg_system#

autoclean.utils.config.validate_eeg_system(autoclean_dict, task)[source]#

Validate the EEG system for a given task. Checks if the EEG system is in the VALID_MONTAGES dictionary.

Parameters:
autoclean_dictdict

The autoclean configuration dictionary.

taskstr

The task to validate the EEG system for.

Returns:
eeg_systemstr

The validated EEG system.