Towards automatic EEG cyclic alternating pattern analysis