Hello,
I'm demoing the Kernel DevKit and am trying to open the snirf outputs in Homer3 on Windows X - I have tried on both Matlab 2017b runtime and also running the homer3 source code in Matlab 2023. In both cases I can open my data files but then immediately get the same error that prevents it from actually plotting the data. My channel geometries also get glitchy and aren't displaying consistently, as shown in the screenshot. Has anyone successfully used Homer3 with the Kernel DevKit? I am not the most computationally literate and can't tell if this is my own ignorance or a glitch about how the kernel snirf files interact with Homer3. Any advice would be appreciated, thanks!
Zach
Here's what I get when I try and run the source code in Matlab 2023 (the text in red is the same error I get from the 2017b runtime execution)
>> Homer3
June 23, 2025, 16:33:06
Loaded config file C:/Users/rosenthalz/Desktop/Homer3-1.87.0/AppSettings.cfg
Loaded config file C:/Users/rosenthalz/Desktop/Homer3-1.87.0/DataTree/AppSettings.cfg
Running Homer3, (v1.87.0), R2023b
Running Utils, (v1.8.3), R2023b
Running DataTree, (v1.22.0), R2023b
Running FuncRegistry, (v1.5.1), R2023b
============
SYSTEM INFO:
============
Platform Arch : PCWIN64
RAM Total : 274.5 GB
RAM Free : 256.5 GB
HD Space Total : 1023.6 GB
HD Space Free : 11.6 GB
MainGUI: June 23, 2025, 16:33:10 - Will load group folder #1 - C:/Users/rosenthalz/Box/Box/Joe Zach/
DataTreeClass: v1.22.0
Loaded saved registry C:/Users/rosenthalz/Desktop/Homer3-1.87.0/FuncRegistry/UserFunctions/Registry.mat
DataTreeClass.FindAndLoadGroups: Searching for data files. Please wait ...
Loaded saved DataFilesClass object: C:/Users/rosenthalz/Box/Box/Joe Zach/derivatives/homer/DatasetFiles_snirf.mat
Saving DataFilesClass object in C:/Users/rosenthalz/Box/Box/Joe Zach/derivatives/homer/DatasetFiles_nirs.mat
DataTreeClass.PrintDatasetFormat: Found non-standard data set (format #2) with 9 data files in 1 folders files.
Added group "Joe Zach" to dataTree.
Added subject "study-sweetcombo250609" to group "Joe Zach" .
Added session "sub-04_study-sweetcombo250609" to subject "study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-04_desc-da5b6e5_GATES.snirf" to session "sub-04_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-04_desc-da5b6e5_HB_MOMENTS.snirf" to session "sub-04_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-04_desc-da5b6e5_MOMENTS.snirf" to session "sub-04_study-sweetcombo250609" .
Added session "sub-28_study-sweetcombo250609" to subject "study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-28_desc-22a6f0a_GATES.snirf" to session "sub-28_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-28_desc-22a6f0a_HB_MOMENTS.snirf" to session "sub-28_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-28_desc-22a6f0a_MOMENTS.snirf" to session "sub-28_study-sweetcombo250609" .
Added session "sub-30_study-sweetcombo250609" to subject "study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-30_desc-c97681f_GATES.snirf" to session "sub-30_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-30_desc-c97681f_HB_MOMENTS.snirf" to session "sub-30_study-sweetcombo250609" .
Added run "study-sweetcombo250609_sub-30_desc-c97681f_MOMENTS.snirf" to session "sub-30_study-sweetcombo250609" .
Loaded group Joe Zach acquisition data in 5.6 seconds
Derived data output folder : C:/Users/rosenthalz/Box/Box/Joe Zach/derivatives/homer/
Derived data output file : groupResults.mat
DataTreeClass.ErrorCheckLoadedFiles: WARNING - The following files in this data set were NOT loaded:
"random recording from zach" s head/study-test_sub-s001_desc-f0fffbb_HB_MOMENTS.snirf
"random recording from zach" s head/study-test_sub-s001_desc-f0fffbb_MOMENTS.snirf
Group processing stream:
[dcAvg, nTrials] = hmrG_SubjAvg(dcAvgSubjs, nTrialsSubjs);
[dcAvgStd, dcAvgStdErr] = hmrG_SubjAvgStd(dcAvgSubjs);
Subject processing stream:
[dcAvg, nTrials] = hmrS_SessAvg(dcAvgSess, mlActSess, nTrialsSess);
[dcAvgStd, dcAvgStdErr] = hmrS_SessAvgStd2(dcAvgStdSess, nTrialsSess);
Session processing stream:
[dcAvg, nTrials] = hmrE_RunAvg(dcAvgRuns, mlActRuns, nTrialsRuns);
[dcAvgStd, dcAvgStdErr] = hmrE_RunAvgStd2(dcAvgStdRuns, nTrialsRuns);
Run processing stream:
dod = hmrR_Intensity2OD(data);
aux = hmrR_BandpassFilt(aux, 0.000, 0.500);
dod = hmrR_BandpassFilt(dod, 0.000, 0.500);
dc = hmrR_OD2Conc(dod, probe, [1.0 1.0]);
[dcAvg, dcAvgStd, nTrials, dcSum2] = hmrR_BlockAvg(dc, stim, [-2.0 20.0]);
Loaded data set in 13.5 seconds
Loaded 77 colors from SDGcolors.csv.
WARNING: Not all data files loaded successfully. Please see Homer3 GUI for details.
----------------------------------------------
ERROR: Operands to the logical AND (&&) and OR (||) operators must be convertible to logical scalar values. Use the ANY or ALL functions to reduce operands to logical scalar values.
Current Folder : C:/Users/rosenthalz/Box/Box/Joe Zach/
Call stack:
Error in DisplayAxesSDG.m > DisplayAxesSDG (line 141)
Error in MainGUI.m > Display (line 1038)
Error in MainGUI.m > MainGUI_OpeningFcn (line 273)
Error in gui_mainfcn.m > gui_mainfcn (line 220)
Error in MainGUI.m > MainGUI (line 19)
Error in Homer3.m > Homer3 (line 58)
----------------------------------------------




