mne-tools / fiff-constants

Bookkeeping and documentation of FIFF file format constants
4 stars 12 forks source link

ENH: Add additional fNIRS coil types #21

Closed larsoner closed 5 years ago

larsoner commented 5 years ago

It turns out that fNIRS sensors first record raw data, which can then be transformed to optical density, which can then be transformed to chroma concentrations (HbO/HbR). Thus to take raw fNIRS data and get to HbO/HbR we actually need sensor definitions for the "raw" and "optical density" stages. This PR adds two new coil_type entries to correspond with this:

    fnirs_raw            302  "fNIRS raw"
    fnirs_od             303  "fNIRS optical density"

We might end up also wanting a fnirs_chroma entry (304?) in the near future, but we're not 100% sure. In the meantime, it's pretty clear that we do need fnirs_raw and fnirs_od, so they are added here.

Okay for you @jnenonen ? Okay with you to merge this after we cut a release (#20)?

cc @rob-luke who is almost done making a FIF converter for fNIRS data.