This repository contains the code used to process the functional near-infrared spectroscopy data (fNIRS) for the paper:
publication pending
It implements the Temporal Derivative Distribution Repair (TDDR) algorithm (GitHub).
Fishburn F.A., Ludlum R.S., Vaidya C.J., & Medvedev A.V. (2019). Temporal Derivative Distribution Repair (TDDR): A motion correction method for fNIRS. NeuroImage, 184, 171-179. doi: 10.1016/j.neuroimage.2018.09.025
This code is quite specific to our fNIRS configuration. We used an Octamon (Artinis Medical Systems, Elst, www.artinis.com) with two short-separation channels and exported the files in either .txt or .mat format. If you are using this exact setup then this code might run without modification, but I doubt it. There are methods that pertain to how we labelled specific events (i.e. when the participant started walking) using the keyboard shortcuts within Oxysoft or the PortaSync that will likely not match a different protocol. However, this repository does serve as a reference for the processing we used in the publication and one can easily modify it to work with their specific setup.