Functional near-infrared spectroscopy (fNIRS), as a new optical functional neuroimaging method, has been widely used in neuroscience research. In some research fields with NIRS, heartrate (HR) (or heartbeat) is needed as useful information to evaluat