I am facing an issue when using Soterix software HD-Explore to load the results output from ROAST. Here are the steps I took and the problem I encountered:
First, I ran the command "roast('example/Chinese2020.nii','leadField','resampling','on','simulationTag','Chinese2020HDE')".
After that, I used the script provided by Soterix manufacturer and ran "roast2HDE('D:\software\roast-master\example\Chinese2020.nii','Chinese2020HDE')".
However, after running 71 electrodes, an error was reported.
The error message is as follows:
Error using load_nii_hdr (line 32)
Cannot find file “D:\software oast-master\example\Chinese2020_ras_T1orT2_masks.nii”.
Error load_untouch_nii (line 103)
[nii.hdr,nii.filetype,nii.fileprefix,nii.machine] = load_nii_hdr(filename);
Error roast2HDE (line 218)
masks = load_untouch_nii(masksFile).
As mentioned in the error message, there is no “Chinese2020_ras_T1orT2_masks.nii” file in the result generated by running the first line of code. I would like to know if running "roast() generate the lead field" should produce a "Chinese2020_ras_T1orT2_masks.nii" file? Also, I am not sure if this error is caused by ROAST or the script provided by Soterix manufacturer. Below are the files generated after I ran "roast()". Are there any errors?