get_array_layout#
- pyvisgen.layouts.get_array_layout(array_layout: str | Path | DataFrame, writer: bool = False) Stations[source]#
Reads a telescope layout txt file and converts it into a dataclass. Also allows a DataFrame to be passed that is then converted into a dataclass object. This allows custom layouts to be used in the simulation.
Available built-in arrays:
Experiment
Layout Name
ALMA
almaALMA (DSHARP)
alma_dsharpDSA 2000W
dsa2000WDSA 2000 31B
dsa2000_31bEHT
ehtMeerKAT
meerkatMeerKAT (test)*
meerkat_testVLA
vlaVLBA
vlbaVLBA (light)*
vlba_light* reduced layouts for testing purposes
- Parameters:
- Returns:
- Stations
Stationsdataclass comprising information on all stations in the given array layout.