Skip to content

Commit

Permalink
no Stoke vector output for unpolarized MCX simulation
Browse files Browse the repository at this point in the history
  • Loading branch information
ShijieYan committed Dec 15, 2021
1 parent 99293dd commit dbe17af
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mcxlab/mcxlab.m
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,8 @@
end
if(isfield(cfg(i),'polprop') && ~isempty(cfg(i).polprop))
cfg(i).savedetflag=[cfg(i).savedetflag,'PVWI'];
else
cfg(i).savedetflag(regexp(cfg(i).savedetflag,'[I,i]'))=[];
end
if(ndims(cfg(i).vol)==4 && size(cfg(i).vol,1)~=8)
cfg(i).savedetflag='';
Expand Down

0 comments on commit dbe17af

Please sign in to comment.