Skip to content

Commit

Permalink
upload reslt
Browse files Browse the repository at this point in the history
contains leadfield for
HCP-113922&105923
Cuba EEG- MC0000010
  • Loading branch information
rigelfalcon committed Mar 17, 2019
1 parent d7e8011 commit 142851e
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@ Scripted from the brainstorm toolbox ver. Feb. 24 2019 and OpenMEEG-2.4.9999-Win
4. Run scripted_fs_lf_ppl.m for Freesurfer anatomy files
5. Run scripted_hcp_lf_ppl.m for HCP (Human Connectome Project) anatomy files
6. You will see Gain.mat and patch.mat when the calculation is finished.

# Note
openmeeg ask for Microsoft Visual C++ 2010 Redistributable Package (x64), it can't be install sometimes.
Please copy vcomp100.dll to C:\Users\<UsersName>\.brainstorm\openmeeg\win64
Binary file modified result_fs_MC0000010/Gain.mat
Binary file not shown.
Binary file modified result_fs_MC0000010/patch.mat
Binary file not shown.
Binary file added result_hcp_113922/Gain.mat
Binary file not shown.
Binary file added result_hcp_113922/patch.mat
Binary file not shown.
6 changes: 3 additions & 3 deletions scripted_fs_lf_ppl.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
% RawFiles = {fullfile(pwd,'example data\MC0000010_EEG_anatomy_t13d_anatVOL_20060115002658_2.nii_out\mri\T1.mgz'), ...
% fullfile(pwd,'example data\MC0000010_EEG_anatomy_t13d_anatVOL_20060115002658_2.nii_out'), ...
% fullfile(pwd,'example data\MC0000010_EEG_data.mat'), ''};
RawFiles = {'F:\MEEGfMRI\Data\CubaData\CHBMP_FSmri\bad cases\MC0000010_t13d_anatVOL_20060115002658_2.nii_out\mri\T1.mgz', ...
'F:\MEEGfMRI\Data\CubaData\CHBMP_FSmri\bad cases\MC0000010_t13d_anatVOL_20060115002658_2.nii_out', ...
'F:\MEEGfMRI\Data\CubaData\CHBMP_FSmri\bad cases\MC0000010_EEG_data.mat', ''};
RawFiles = {'F:\MEEGfMRI\Data\andy\MC0000010_EEG_anatomy_t13d_anatVOL_20060115002658_2.nii_out\mri\T1.mgz', ...
'F:\MEEGfMRI\Data\andy\MC0000010_EEG_anatomy_t13d_anatVOL_20060115002658_2.nii_out', ...
'F:\MEEGfMRI\Data\andy\MC0000010_EEG_data.mat', ''};

% Start a new report
bst_report('Start', sFiles);
Expand Down
6 changes: 3 additions & 3 deletions scripted_hcp_lf_ppl.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

% Input files
sFiles = [];
SubjectNames = {'HCP'};
SubjectNames = {'113922'};
% RawFiles = {fullfile(pwd,'example data\113922_MEG_anatomy'), fullfile(pwd,'example data\113922_MEG_Restin_unproc\3-Restin\4D\c,rfDC')};
RawFiles = {...
'F:\MEEGfMRI\Data\HCP_S900\105923\MEG\anatomy', ...
Expand Down Expand Up @@ -71,12 +71,12 @@
'SplitLength', 4000));

% Save lead field
load('F:\Data\brainstorm_db\Leadfield_Pipeline\data\HCP\@raw3-Restin_c_rfDC\headmodel_surf_openmeeg.mat');
load('F:\Data\brainstorm_db\Leadfield_Pipeline\data\113922\@raw3-Restin_c_rfDC\headmodel_surf_openmeeg.mat');
Gain3d=Gain; Gain = bst_gain_orient(Gain3d, GridOrient);
save Gain Gain Gain3d;

% Save patch
load('F:\Data\brainstorm_db\Leadfield_Pipeline\anat\HCP\tess_cortex_mid.mat');
load('F:\Data\brainstorm_db\Leadfield_Pipeline\anat\113922\tess_cortex_mid.mat');
save patch Vertices Faces;

% Save and display report
Expand Down

0 comments on commit 142851e

Please sign in to comment.