Functional Neural Networks: Shift invariant models for functional data with applications to EEG classification