From d8b3bfb30d2b878662e5b6dc41f9f6d5719390b9 Mon Sep 17 00:00:00 2001 From: Sreekanth kura Date: Mon, 12 Jan 2026 09:30:52 -0500 Subject: [PATCH 1/2] Update wavelengthIndex description for processed data Clarified requirements for wavelengthIndex in processed data. --- snirf_specification.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snirf_specification.md b/snirf_specification.md index 9e8f5e6..e9733ad 100644 --- a/snirf_specification.md +++ b/snirf_specification.md @@ -470,7 +470,7 @@ Index of the detector. * **Type**: integer * **Location**: `/nirs(i)/data(j)/measurementList(k)/wavelengthIndex` -Index of the "nominal" wavelength (in `probe.wavelengths`). +Index of the "nominal" wavelength (in `probe.wavelengths`). For processed data (dataType = 99999) derived from multiple wavelengths or wavelength-independent data, the field MUST be present but may be empty. #### /nirs(i)/data(j)/measurementList(k)/wavelengthActual * **Presence**: optional @@ -592,7 +592,7 @@ Detector indices for each channel. A 1-D array with length equal to the size of * **Type**: integer 1-D array * **Location**: `/nirs(i)/data(j)/measurementLists/wavelengthIndex` -Index of the "nominal" wavelength (in `probe.wavelengths`) for each channel. A 1-D array with length equal to the size of the second dimension of `/nirs(i)/data(j)/dataTimeSeries`. +Index of the "nominal" wavelength (in `probe.wavelengths`) for each channel. For processed data channels (dataType = 99999), the entry MUST be present but may be empty if no nominal wavelength applies. A 1-D array with length equal to the size of the second dimension of `/nirs(i)/data(j)/dataTimeSeries`. #### /nirs(i)/data(j)/measurementLists/wavelengthActual * **Presence**: optional From 7183ff00d73766fa4dbee472e6bc0f659174e1fb Mon Sep 17 00:00:00 2001 From: Sreekanth kura Date: Mon, 12 Jan 2026 16:11:36 -0500 Subject: [PATCH 2/2] Clarify wavelengthIndex requirements in specification --- snirf_specification.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snirf_specification.md b/snirf_specification.md index e9733ad..f089861 100644 --- a/snirf_specification.md +++ b/snirf_specification.md @@ -470,7 +470,7 @@ Index of the detector. * **Type**: integer * **Location**: `/nirs(i)/data(j)/measurementList(k)/wavelengthIndex` -Index of the "nominal" wavelength (in `probe.wavelengths`). For processed data (dataType = 99999) derived from multiple wavelengths or wavelength-independent data, the field MUST be present but may be empty. +Index of the "nominal" wavelength (in `probe.wavelengths`). For processed data channels (dataType=99999) that are wavelength-independent or derived from multiple wavelengths, this field MUST be set to `0`. #### /nirs(i)/data(j)/measurementList(k)/wavelengthActual * **Presence**: optional @@ -592,7 +592,7 @@ Detector indices for each channel. A 1-D array with length equal to the size of * **Type**: integer 1-D array * **Location**: `/nirs(i)/data(j)/measurementLists/wavelengthIndex` -Index of the "nominal" wavelength (in `probe.wavelengths`) for each channel. For processed data channels (dataType = 99999), the entry MUST be present but may be empty if no nominal wavelength applies. A 1-D array with length equal to the size of the second dimension of `/nirs(i)/data(j)/dataTimeSeries`. +Index of the "nominal" wavelength (in `probe.wavelengths`) for each channel. A 1-D array with length equal to the size of the second dimension of `/nirs(i)/data(j)/dataTimeSeries`. For processed data channels (`dataType=99999`) that are wavelength-independent or derived from multiple wavelengths, the corresponding value MUST be `0`. #### /nirs(i)/data(j)/measurementLists/wavelengthActual * **Presence**: optional