3-SetUp
セットアップ _
Under Construction
プロジェクトの概念 _
The following directory struecture is used here for explanation. Directories that start with '$' can have arbitrary name.
$WORK___$SBJ1___data | |__matlab | |__result | |__analysis | |__figure | |__$SBJ2___data | |__matlab | |__result | |__analysis | |__figure | ... |__$VBMEG
- $WORK
- Working directory. All data and scripts are saved here.
- $SBJ[n]
- Data and scripts for a subject.
- data
- VBMEG data directory, e.g. .brain.mat file, .meg.mat file, etc.
- matlab
- VBMEG script directory. Some analysis needs scripts specific to the subject. Such scripts should be saved to this directory for logging purposes. Templates of scripts are stored in directory '$VBMEG/script_template'. User will copy them to $SBJ[n]/matlab and modify.
- result
- VBMEG estimation results (inverse filter parameters, .bayes.mat file) will be saved here.
- analysis
- Results of analysis based on estimated current will be saved here.
- figure
- Figures are saved here.
- $VBMEG
- You should copy VBMEG program directory to the working directory, because VBMEG program is being updated frequently at the present time.
VBMEGの起動 _
On the MATLAB console, type the following commands:
>> mv $WORK >> addpath('./$SBJ1/matlab/') >> addpath('./$SBJ2/matlab/') ... (repeat the number of subjects) >> addpath('$VBMEG')
$WORK is replaced by your working directory. All of VBMEG operations including your own script are executed on $WORK. $SBJ[n] is replaced by your subject directory (e.g., 'sbj1', initial of the subject, etc.). Script directories, which are specific to subjects, and VBMEG program directory are added to the MATLAB path.