Skip to content

Commit

Permalink
add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanthecoder committed Oct 22, 2024
1 parent ca99ca7 commit a11fa6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def _area(r: float) -> float:
@cached_property
def height_to_volume_table(self) -> Dict[float, float]:
"""Return a lookup table of heights to volumes."""
# the accuracy of this method is approximately +- 10*dx so for dx of 0.001 we have a +- 0.01 ul
dx = 0.001
total_height = self.topHeight - self.bottomHeight
points = SquaredConeSegment._area_trap_points(
Expand Down

0 comments on commit a11fa6b

Please sign in to comment.