Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Commit

Permalink
more photon timing int
Browse files Browse the repository at this point in the history
  • Loading branch information
FaroutYLq committed Mar 20, 2024
1 parent 82cdf39 commit 187a997
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfsim/core/s2.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def photon_timings(positions, n_photons_per_xy, _electron_timings, n_photons_per
# Optical Propagation Delay
if "optical_propagation" in config['s2_time_model']:
# optical propagation splitting top and bottom
_photon_timings += S2.optical_propagation(_photon_channels, config, resource.s2_optical_propagation_spline)
_photon_timings += S2.optical_propagation(_photon_channels, config, resource.s2_optical_propagation_spline).astype(np.int64)
elif "zero_delay" in config['s2_time_model']:
# no optical propagation delay
_photon_timings += np.zeros_like(_photon_timings, dtype=np.int64)
Expand Down

0 comments on commit 187a997

Please sign in to comment.