Optimal frequency band selection with particle swarm optimization for a brain computer interface