Skip to content

Commit

Permalink
Updated nomenclature to match the Cooper et al 2016. Each metric is p…
Browse files Browse the repository at this point in the history
…receeded by what type of coordinates (Voronoi BOUND vs all cells/UNBOUND) they were calculated from. I hope to reduce confusion with this change. closes #2.
  • Loading branch information
Robert F Cooper committed Dec 7, 2022
1 parent efd3a17 commit 2e0c912
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/determine_mosaic_stats.m
Original file line number Diff line number Diff line change
Expand Up @@ -209,11 +209,11 @@
total_coord_area=total_coord_area*1000^2;
end

mosaic_stats = struct('Number_Unbound_Cells', numcells,'Number_Bounded_Cells', length(cellarea), 'Total_Area', total_coord_area, 'Total_Bound_Area',total_cell_area,...
'Density_Bound',density_bound, 'NN_Distance_Corrected',mean_correct_nn_dist,'IC_Distance_Corrected',mean_correct_inter_cell_dist,'Furthest_Distance_Corrected',mean_correct_max_cell_dist,...
'Mean_Voronoi_Area', mean_cellarea,'Percent_Six_Sided_Voronoi',percent_six_sided,'DRP_Distance', drp_spac,...
'Voronoi_Area_RI',regularity_voro_index,'Voronoi_Sides_RI',regularity_voro_sides, 'NN_RI', regularity_nn_index, 'IC_RI', regularity_ic_index,...
'Density_Uncorrected', density_dc ,'NN_Distance_Uncorrected', mean_nn_dist, 'IC_Distance_Uncorrected',mean_inter_cell_dist, 'Furthest_Distance_Uncorrected',mean_max_cell_dist);
mosaic_stats = struct('Number_Unbound_Cells', numcells,'Number_Bound_Cells', length(cellarea), 'Total_Area', total_coord_area, 'Total_Bound_Area',total_cell_area,...
'Bound_Density',density_bound, 'Bound_NN_Distance',mean_correct_nn_dist,'Bound_IC_Distance',mean_correct_inter_cell_dist,'Bound_Furthest_Distance',mean_correct_max_cell_dist,...
'Bound_Mean_Voronoi_Area', mean_cellarea,'Bound_Percent_Six_Sided_Voronoi',percent_six_sided,'Unbound_DRP_Distance', drp_spac,...
'Bound_Voronoi_Area_RI',regularity_voro_index,'Bound_Voronoi_Sides_RI',regularity_voro_sides, 'Bound_NN_RI', regularity_nn_index, 'Bound_IC_RI', regularity_ic_index,...
'Unbound_Density', density_dc ,'Unbound_NN_Distance', mean_nn_dist, 'Unbound_IC_Distance',mean_inter_cell_dist, 'Unbound_Furthest_Distance',mean_max_cell_dist);

end

0 comments on commit 2e0c912

Please sign in to comment.