Skip to content

Commit

Permalink
Add ska site to detector and ice classes
Browse files Browse the repository at this point in the history
  • Loading branch information
fschlueter committed Dec 4, 2024
1 parent 575a511 commit f161b45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions NuRadioReco/detector/detector_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -607,9 +607,10 @@ def get_site_coordinates(self, station_id):
'mooresbay': (-78.74, 165.09),
'southpole': (-90., 0.),
'summit': (72.57, -38.46),
'lofar': (52.92, 6.87)
'lofar': (52.92, 6.87),
'ska': (-26.825, 116.764),
}
site = self.get_site(station_id)
site = self.get_site(station_id).lower()
if site in sites.keys():
return sites[site]
return (None, None)
Expand Down
2 changes: 1 addition & 1 deletion NuRadioReco/utilities/ice.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def get_refractive_index(depth, site='southpole'):
returns n_ice=1.3 or n_air depending on the depth.
"""
if site.lower() in ['lofar', 'auger']:
if site.lower() in ['lofar', 'auger', 'ska']:
return 1.000293
else:
if not site.lower() in ['southpole', 'mooresbay', 'summit']:
Expand Down

0 comments on commit f161b45

Please sign in to comment.