Skip to content

Commit

Permalink
Fix UHD ypos equation
Browse files Browse the repository at this point in the history
  • Loading branch information
jsiegle committed Dec 12, 2023
1 parent be294fa commit c27ea0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Probes/Geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ void Geometry::UHD(bool switchable,
metadata.shank_local_index = i;
metadata.global_index = i;
metadata.xpos = i % numColumns * siteSpacing + 2*siteSpacing;
metadata.ypos = (i - (i % numColumns)) * siteSpacing;
metadata.ypos = (i - (i % numColumns)) * siteSpacing / numColumns;
metadata.column_index = i % numColumns;
metadata.row_index = i / numColumns;
metadata.site_width = siteSpacing - 1;
Expand Down

0 comments on commit c27ea0f

Please sign in to comment.