A survey of signal processing algorithms in brain–computer interfaces based on electrical brain signals | Synapse