Grommet Type - BUNPC/AtlasViewer GitHub Wiki

After creating the sources and detectors in SDgui, users could choose the identifiers for different types of optodes from the Grommet Type dropdown menu, as shown in the below figure. It would be useful for customized 3D-print caps.



Beside the default grommet type “None” for sources and detectors, there are nine different: #NFLPS, #NFHPS, #NFWMS, #NFDSO, #NOND1, #PMRK1, #EBPAS, #EECEH, and #DUMMY.

Information about these identifiers is listed in the table below.



You could choose the desired grommet identifier for each source and detector OR leave it as default “None.”



You can also set the desired grommet identifier for dummy optodes when the radio button “Add Springs” is selected, as shown below. If you do not want anything placed on the dummy optode positions, keep the default #DUMMY in the corresponding rows.



Once the SD file is saved, the grommet identifiers for sources, detectors, and dummy optodes will be stored in the structured variable SD.

  • Back to Matlab and navigate to the folder in which the SD file (PROBE.SD in this example) is stored;
  • Type load PROBE.SD -mat in the Command Window;
  • Open the structured variable SD from the workspace.


SD.SrcGrommetType, SD.DetGrommetType, and SD.DummyGrommetType are N×1 Matlab cell arrays of strings that consist of information about the grommet identifiers of Sources, Detectors, and Dummy optodes, where N is the number of (source, detector, or dummy) optodes in the AtlasViewer SD probe patch.

In the above example, the SD probe consists of 15 sources, 31 detectors, and 4 dummy optodes. Each grommet identifier that you chose from SDgui is stored in the corresponding cell array, as shown in the following figures.

  • Grommet types of Sources


  • Grommet types of Detectors



  • Grommet types of Dummy optodes


⚠️ **GitHub.com Fallback** ⚠️