Library with scientific tools to analyze EEG signal from consumer grade headsets