Skip to content

Commit

Permalink
small fixes regarding dlwfactor writing/reading to/from output files
Browse files Browse the repository at this point in the history
  • Loading branch information
lpolerecky committed Oct 4, 2023
1 parent 9b22f59 commit 9b03845
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Binary file modified src/figs/additional_settings_gui.fig
Binary file not shown.
4 changes: 2 additions & 2 deletions src/fnc/getratiodata.m
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
pixels{ii}=[r(cnum(ind),8) zeros(length(ind),1)];
xpos{ii}=[r(cnum(ind),2) zeros(length(ind),1)];
ypos{ii}=[r(cnum(ind),3) zeros(length(ind),1)];
l2w{ii}=[r(cnum(ind),9)];
%l2w{ii}=[r(cnum(ind),9:10)];
%l2w{ii}=[r(cnum(ind),9)];
l2w{ii}=[r(cnum(ind),9:10)];
%dl2w{ii}=[r(cnum(ind),10) zeros(length(ind),1)];
cls{ii}=ct(ii)*ones(length(ind),1);
else
Expand Down
8 changes: 5 additions & 3 deletions src/fnc/read_data_from_input_files.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
cellid_j{ii}, ...
cellarea_j{ii}(:,1), ...
cellpixels_j{ii}(:,1), ...
celll2w_j{ii}(:,1), ... %celll2w_j{ii}(:,1:2), ...
celll2w_j{ii}(:,1), ...
celll2w_j{ii}(:,2), ...
cellxpos_j{ii}(:,1), ...
cellypos_j{ii}(:,1), ...
[1:size(cellclass_j{ii},1)]'+roi_cnt];
Expand All @@ -165,10 +166,11 @@
out_roi_properties(:,7), ...
out_roi_properties(:,8), ...
out_roi_properties(:,9), ...
out_roi_properties(:,10), ... % out_roi_properties(:,11), ...
out_roi_properties(:,10), ...
out_roi_properties(:,11), ...
'VariableNames',{'id';'file';'treatment'; ...
'roi_class';'roi_id';'size';'pixels';'l2w'; ...
% 'dl2w';
'dl2w';
'xpos';'ypos';'roi_uid'});
t2=array2table(out_data);

Expand Down

0 comments on commit 9b03845

Please sign in to comment.