Hello,
I am trying to understand code written for brainstorm, what is raw.bst? I never see .bst
This is the code:
RawFiles = {'C:\Users\arnd\Desktop\Martin\tempeltools\Arnd\raw.bst'}; %specify the raw signal file
Please help,
Abdallah
Hello,
I am trying to understand code written for brainstorm, what is raw.bst? I never see .bst
This is the code:
RawFiles = {'C:\Users\arnd\Desktop\Martin\tempeltools\Arnd\raw.bst'}; %specify the raw signal file
Please help,
Abdallah
The files with .bst extensions are continuous files fully copied into the Brainstorm database. This is an internal file format that does not have any other purpose. Its purpose is not to be manipulated directly from a script.
For example, this is what you get in the database when applying a filter to a continuous file:
https://neuroimage.usc.edu/brainstorm/Tutorials/ArtifactsFilter#Apply_a_notch_filter
Or when using the menu "File > Export protocol > Copy raw files to database"
Hellow Francois,
So what I should replace it, because I do not have this .bst file
RawFiles = {'C:\Users\arnd\Desktop\Martin\tempeltools\Arnd\raw.bst'}; %specify the raw signal file
sFiles = bst_process('CallProcess', 'process_import_data_time', sFiles, , ...
'subjectname', SubjectNames{1}, ...
'condition', '', ...
'datafile', {{RawFiles{1}}, 'BST-BIN'}, ... %specify the data type; here, it is .bst
'timewindow', , ...
'split', 0, ...
'ignoreshort', 1, ...
'channelalign', 1, ...
'usectfcomp', 1, ...
'usessp', 1, ...
'freq', , ...
'baseline', );
% Input filesa_PrepareSources.m (10.4 KB)
sFiles = {...
[SubjectName,'/raw/data_block001.mat']};
RawFiles = {...
chanFile};
I'm sorry, I don't understand what your need is.
Can you please explain what you are trying to do?
@ArndMeiser @martinbleichner Is this data coming from your lab?
Hi Francois,
So if I have a channel like that (in a condition)
and recording in the same condition:
How can I save them into .bst?
because I want to creat a raw file from them,
so that I can load it like that
RawFiles = {'C:\Users\Desktop\alter_dipole\template.bst'};
or any extension, not necessary the bst
When I opened the database I did not see it, can you please let me know how to find it, may be it is hidden?
To convert an imported epoch back to continuous files, you can right-click on the file > Review as raw.