-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
In the example below the horizontal station distances are correctly different, however, the detector distances are equal, which is incorrect. Though their total distance should not change, the horizontal distance should be different because the station is further from the ENU origin, and the different ENU plane has a different tilt. This is related #142. This mostly reinforces the argument for using local Cluster objects for coincidence reconstruction and other analyses.
from sapphire import HiSPARCStations
# Only two stations
c = HiSPARCStations([14001, 14002], force_stale=True)
c.calc_horizontal_distance_between_stations(14001, 14002)
#5787.6 m
s = c.get_station(14001)
s.calc_rphiz_for_detectors(0, 1)[0]
#4.456 m
s.calc_rphiz_for_detectors(0, 3)[0]
#14.530 m
# Different reference station far away
c = HiSPARCStations([20001, 14001, 14002], force_stale=True)
c.calc_horizontal_distance_between_stations(14001, 14002)
#5734.1 m
s = c.get_station(14001)
s.calc_rphiz_for_detectors(0, 1)[0]
#4.456 m
s.calc_rphiz_for_detectors(0, 3)[0]
#14.530 mReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels