Skip to content

Commit

Permalink
add window indent to sample volume calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ralph-sj committed Mar 18, 2024
1 parent 3b59b59 commit 506026c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pysilcam/postprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ def get_sample_volume(pix_size, path_length=10, imx=2048, imy=2448):
sample_volume_litres : the volume of the sample volume in litres
'''
path_length += 10
sample_volume_litres = imx * pix_size / 1000 * imy * pix_size / 1000 * path_length * 1e-6

return sample_volume_litres
Expand Down

0 comments on commit 506026c

Please sign in to comment.