An analysis framework for Near InfraRed Spectroscopy based brain-computer interface and prospective application to robotic surgery | IEEE Conference Publication | IEEE Xplore