Skip to content

Commit

Permalink
Merge pull request #159 from jrkerns/jrkerns-area-2
Browse files Browse the repository at this point in the history
air HU threshold widened
  • Loading branch information
jrkerns committed Feb 25, 2019
2 parents 27f8177 + b24b6a7 commit d909c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pylinac/ct.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ def find_phantom_roll(self):
"""
def is_right_area(region):
thresh = np.pi * ((self.air_bubble_radius_mm / self.mm_per_pixel) ** 2)
return thresh * 1.5 > region.filled_area > thresh / 1.5
return thresh * 2 > region.filled_area > thresh / 2

def is_right_eccentricity(region):
return region.eccentricity < 0.5
Expand Down

0 comments on commit d909c0f

Please sign in to comment.