diff options
author | tlatorre <tlatorre@uchicago.edu> | 2018-09-17 14:03:59 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2018-09-17 14:03:59 -0500 |
commit | f60f7aa42a7e2ea2d213c836d2997a39cf45eb29 (patch) | |
tree | 0c56332b4988e6c509bf6ec8aa97eba41f98d804 /index.py | |
parent | 500f23754ba90d34eea00f76b222458dce353d96 (diff) | |
download | sddm-f60f7aa42a7e2ea2d213c836d2997a39cf45eb29.tar.gz sddm-f60f7aa42a7e2ea2d213c836d2997a39cf45eb29.tar.bz2 sddm-f60f7aa42a7e2ea2d213c836d2997a39cf45eb29.zip |
add get_path_length()
This commit adds a function called get_path_length() which computes the path
length inside and outside a sphere for a line segment between two points. This
will be useful for calculating the photon absorption for paths which cross the
AV and for computing the time of flight of photons from a track to a PMT.
Diffstat (limited to 'index.py')
0 files changed, 0 insertions, 0 deletions