Skip to content

Commit

Permalink
bug fix: um_per_pixel --> pixelsize_um (#11)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lane <[email protected]>
  • Loading branch information
lanery authored May 15, 2024
1 parent ce0b647 commit a76c95e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/chlamytracker/pool_finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def __init__(
self.min_object_size = min_object_size

# Hough transform parameters
self.pool_radius_px = pool_radius_um / self.um_per_px
self.pool_spacing_px = pool_spacing_um / self.um_per_px
self.pool_radius_px = pool_radius_um / self.pixelsize_um
self.pool_spacing_px = pool_spacing_um / self.pixelsize_um
self.max_num_pools = self.get_max_num_pools()
self.hough_threshold = hough_threshold

Expand Down

0 comments on commit a76c95e

Please sign in to comment.