RAMP
June 10th, 2004, 07:52
Dear Brainstormers
I got the same message as JLH did when trying to plot Rap-Music results into MRI (http://neuroimage.usc.edu/brainstormforum/viewtopic.php?t=7). I think that the problem is caused by a failure in writing the SCS into the _subjectimage file of BSTDemoData. So when the routine scs2mri.m is called the SCS parameters are not transferred to the MRI plotting.
I tried another way, I used the _subjetimage file from Montreal study, where SCS parameters are defined, and I was able to plot the results of Rap-Music into MRI. I can load the Montreal _subjectimage.mat into MatLab and see its contents, but the same is not possible with BSTDemoData _subjectimage.mat, and I got a message "unable to read file".
Probably something is wrong during the creation of _subjectimage.mat of BSTDemoData set.
The steps I followed are:
1. Access MRIViewer -> Load somMRI
2. PCS Specification -> Assign
3. Subject Coordinate System -> Done
4. Save Anatomical Scans in -> Save (somDemo_subjectimage)
So, I get this message in matlab window:
Warning: Out of range or non-integer values truncated during conversion to character.
In c:\brainstorm\Toolbox\read_ctf_mri.m at line 88
In c:\brainstorm\Toolbox\bst_mriviewer.m (ctfmri_Callback) at line 423
In c:\brainstorm\Toolbox\bst_mriviewer.m at line 242
Error using ==> save
Can't write file
Although this message, a file named somDemo_subjectimage is created at somDemo_av_subject sub-directory, but when I try to read it with MRIViewer (Load Brainstorm Format) I get the message:
Error usin ==> load
Can't read file
So I used montreal_subjectimage.mat renaming it to somDemo_subjectimage.mat and put it into somDemo_av_subject sub-directory. Then, I can load it with MRIViewer (Load Brainstorm Format), and use it to perform dipole plotting of the results get from BSTDemoData set. That is, results generated by me, and not those generated previously with MontrealData set.
As stated before, I think that it is a failure during the creation of _subjectimage.mat.
Finally, I would like to congratulate with Brainstorm Team for the brilliant working they are doing, since the first version of Brainstorm.
Sincerely,
Roberto Piedade
I got the same message as JLH did when trying to plot Rap-Music results into MRI (http://neuroimage.usc.edu/brainstormforum/viewtopic.php?t=7). I think that the problem is caused by a failure in writing the SCS into the _subjectimage file of BSTDemoData. So when the routine scs2mri.m is called the SCS parameters are not transferred to the MRI plotting.
I tried another way, I used the _subjetimage file from Montreal study, where SCS parameters are defined, and I was able to plot the results of Rap-Music into MRI. I can load the Montreal _subjectimage.mat into MatLab and see its contents, but the same is not possible with BSTDemoData _subjectimage.mat, and I got a message "unable to read file".
Probably something is wrong during the creation of _subjectimage.mat of BSTDemoData set.
The steps I followed are:
1. Access MRIViewer -> Load somMRI
2. PCS Specification -> Assign
3. Subject Coordinate System -> Done
4. Save Anatomical Scans in -> Save (somDemo_subjectimage)
So, I get this message in matlab window:
Warning: Out of range or non-integer values truncated during conversion to character.
In c:\brainstorm\Toolbox\read_ctf_mri.m at line 88
In c:\brainstorm\Toolbox\bst_mriviewer.m (ctfmri_Callback) at line 423
In c:\brainstorm\Toolbox\bst_mriviewer.m at line 242
Error using ==> save
Can't write file
Although this message, a file named somDemo_subjectimage is created at somDemo_av_subject sub-directory, but when I try to read it with MRIViewer (Load Brainstorm Format) I get the message:
Error usin ==> load
Can't read file
So I used montreal_subjectimage.mat renaming it to somDemo_subjectimage.mat and put it into somDemo_av_subject sub-directory. Then, I can load it with MRIViewer (Load Brainstorm Format), and use it to perform dipole plotting of the results get from BSTDemoData set. That is, results generated by me, and not those generated previously with MontrealData set.
As stated before, I think that it is a failure during the creation of _subjectimage.mat.
Finally, I would like to congratulate with Brainstorm Team for the brilliant working they are doing, since the first version of Brainstorm.
Sincerely,
Roberto Piedade