Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HenningSE committed Oct 20, 2023
1 parent 79053be commit 563ef06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuse/plugins/detector_physics/s2_photon_propagation.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ def setup(self):
if self.enable_field_dependencies['norm_drift_velocity']:
norm_dvel = self.field_dependencies_map_tmp(np.array([ [0], [- self.tpc_length]]).T, map_name='drift_speed_map')[0]
norm_dvel*=1e-4
drift_velocity_scaling = self.drift_velocity_liquid/norm_dvel
self.drift_velocity_scaling = self.drift_velocity_liquid/norm_dvel
def rz_map(z, xy, **kwargs):
r = np.sqrt(xy[:, 0]**2 + xy[:, 1]**2)
return self.field_dependencies_map_tmp(np.array([r, z]).T, **kwargs)
Expand Down

0 comments on commit 563ef06

Please sign in to comment.