Skip to content

Commit

Permalink
[bug] fix the potential typo in Custo et al for CSF mua, fangq/mcx#232
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Sep 13, 2024
1 parent fdf855f commit bf54fa9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/colin27/prop_brain.dat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
1 4
1 0.019 7.8182 0.89 1.37
2 0.004 0.00909 0.89 1.37
2 0.0004 0.00909 0.89 1.37
3 0.02 9.0 0.89 1.37
4 0.08 40.9 0.84 1.37
2 changes: 1 addition & 1 deletion mmclab/example/demo_head_atlas.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
cfg.node = double(node);
cfg.elem = double(elem);
cfg.elemprop = double(prop);
cfg.prop = [0, 0, 1, 1; 0, 0, 1, 1; 0.019 7.8 0.89 1.37; 0.019 7.8 0.89 1.37; 0.004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.08 40.9 0.84 1.37];
cfg.prop = [0, 0, 1, 1; 0, 0, 1, 1; 0.019 7.8 0.89 1.37; 0.019 7.8 0.89 1.37; 0.0004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.08 40.9 0.84 1.37];

% light source
cfg.srctype = 'pencil';
Expand Down
4 changes: 2 additions & 2 deletions mmclab/example/demo_mmcl_b2_b2d.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
cfg.tstart = 0;
cfg.tend = 5e-9;
cfg.tstep = 5e-10;
cfg.prop = [0, 0, 1, 1; 0.02 7.0 0.89 1.37; 0.004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.05 0.0 1.0 1.37];
cfg.prop = [0, 0, 1, 1; 0.02 7.0 0.89 1.37; 0.0004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.05 0.0 1.0 1.37];
cfg.debuglevel = 'TP';
cfg.isreflect = 1;

Expand Down Expand Up @@ -112,7 +112,7 @@
cfg_mcx.issrcfrom0 = 1;

% format: [mua(1/mm) mus(1/mm) g n]
cfg_mcx.prop = [0, 0, 1, 1; 0.02 7.0 0.89 1.37; 0.004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.05 0.0 1.0 1.37];
cfg_mcx.prop = [0, 0, 1, 1; 0.02 7.0 0.89 1.37; 0.0004 0.009 0.89 1.37; 0.02 9.0 0.89 1.37; 0.05 0.0 1.0 1.37];

% time-domain simulation parameters
cfg_mcx.tstart = 0;
Expand Down
2 changes: 1 addition & 1 deletion mmclab/example/demo_mmcl_b3.m
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
cfg.prop = [0 0 1.0000 1.0000 % background/air
0.0190 7.8182 0.8900 1.3700 % scalp & skull are both labeled using 1
% 0.0190 7.8182 0.8900 1.3700 % skull
0.0040 0.0090 0.8900 1.3700 % csf
0.0004 0.0090 0.8900 1.3700 % csf
0.0200 9.0000 0.8900 1.3700 % gray matters
0.0800 40.9000 0.8400 1.3700 % white matters
0 0 1.0000 1.0000]; % air pockets
Expand Down
2 changes: 1 addition & 1 deletion mmclab/example/demo_sfdi_2layer.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
else
[node, face, c0] = latticegrid([0 60], [0 60], [0 20 25 30]); % if you like a 3-layer model
c0(:, 4) = [2; 2; 1];
cfg.prop = [0 0 1 1; 0.02 9.0, 0.89 1.37; 0.004 0.009, 0.89 1.37; 0.019 7.8 0.89 1.37];
cfg.prop = [0 0 1 1; 0.02 9.0, 0.89 1.37; 0.0004 0.009, 0.89 1.37; 0.019 7.8 0.89 1.37];
end
[cfg.node, cfg.elem] = surf2mesh(node, face, [], [], 1, [], c0);

Expand Down

0 comments on commit bf54fa9

Please sign in to comment.