Issue Brief Description
Starting from like 82 in the loadNIRx() function reassembles the probe optodes the wrong way around (eg.: detectors and then sources instead of being on parity with the 'without short channel' implementation by having sources then detectors. This leads to issues in the Probe.m script, as the validation tries to load in sources outside the expected index range (eg.: Source-01 located at index 33 instead of index 1).
Reproducing the Issue
Attempt loading in a NIRx file (with short channels) using the nirs.io.loadNIRx() function.
Identified on macOS and was able to consistently reproduce but was unable to reproduce on Windows. Fixed issue by re-introducing parity with the non-short channel variant.
Issue Brief Description Starting from like 82 in the loadNIRx() function reassembles the probe optodes the wrong way around (eg.: detectors and then sources instead of being on parity with the 'without short channel' implementation by having sources then detectors. This leads to issues in the Probe.m script, as the validation tries to load in sources outside the expected index range (eg.: Source-01 located at index 33 instead of index 1).
Reproducing the Issue
Suggested Fix from:
to:
Fix Brief Description Flips the assignments.