snirf_data_example

The aim of this MATLAB live script is to demonstrate the access, exploration and usage of.snirf files in Homer3.
5 Downloads
Updated 28 Aug 2023

View License

ackground
The Shared Near Infrared Spectroscopy Format (SNIRF) is designed by the functional near infrared spectroscopy (fNIRS) community in an effort to facilitate sharing and analysis of NIRS. The specifications can be found in a recent publication by Tucker et al. (2023) [1] and on GitHub: https://github.com/fNIRS/snirf.
Aim
The aim of this MATLAB live script is
  1. to demonstrate the access, exploration and usage of.snirf files (https://github.com/fNIRS/snirf) in Homer3 (https://github.com/BUNPC/Homer3) [2], a MATLAB application for fNIRS data processing and visualization, and
  2. to demonstrate how to apply a basic processing stream in Homer3 without using the Homer3 GUI.
Learning outcome
After following this tutorial you will be able to
  • load .snirf files into Homer3,
  • access, explore and use the meta data (i.e., stimuli information, probes sources/detector geometry, measurement date and time, etc) stored in the .snirf file and
  • apply a basic processing stream from raw data to an averaged hemodynamic response function (HRF) using Homer3 functions.
We share two datasets here:
  1. A measurement with a single Brite MKII (Artinis Medical Systems B.V., Elst, The Netherlands) placed over the left motor cortex of the subject. The subject performed finger tapping movements with his right hand. Our example analysis analyses channels placed over the motor cortex.
  2. A measurement with two Brite MKII (Artinis Medical Systems B.V., Elst, The Netherlands) devices. The devices were placed on the frontal and the parietal cortex. The subject participated in an n-back task. Our example analysis analyses channels placed the over prefrontal cortex.
References
[1] Tucker, S., Dubb, J., Kura, S., von Lühmann, A., Franke, R., Horschig, J. M., Powell, S., Oostenveld, R., Lührs, M., Delaire, É., Aghajan, Z. M., Yun, H., Yücel, M. A., Fang, Q., Huppert, T. J., Frederick, B. B., Pollonini, L., Boas, D., & Luke, R. (2023). Introduction to the shared near infrared spectroscopy format. Neurophotonics, 10(1), 013507. https://doi.org/10.1117/1.NPh.10.1.013507
[2] Huppert, T., Diamond, S., Franceschini, M., Boas, D. (2009). HomER: a review of time-series analysis methods for near-infrared spectroscopy of the brain. Applied optics 48(10). https://dx.doi.org/10.1364/ao.48.00d280

Cite As

Artinis Medical Systems B.V. (2024). snirf_data_example (https://www.mathworks.com/matlabcentral/fileexchange/134377-snirf_data_example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on fNIRS in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!