-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coord conversion for antennae layout
- Loading branch information
sambit-giri
committed
Dec 10, 2024
1 parent
2cb3857
commit cfc93da
Showing
2 changed files
with
123 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import numpy as np | ||
|
||
def get_latest_SKA_Low_layout( | ||
subarray_type='AA*', | ||
custom_stations=None, | ||
add_stations=None, | ||
exclude_stations=None, | ||
external_telescopes=None, | ||
): | ||
try: | ||
from ska_ost_array_config.array_config import LowSubArray, filter_array_by_distance | ||
except: | ||
print(f'Install the official tool from SKAO provided at') | ||
print(f'https://gitlab.com/ska-telescope/ost/ska-ost-array-config') | ||
return None | ||
|
||
low_all = LowSubArray( | ||
subarray_type=subarray_type, | ||
custom_stations=custom_stations, | ||
add_stations=add_stations, | ||
exclude_stations=exclude_stations, | ||
external_telescopes=external_telescopes, | ||
) | ||
return low_all | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters