hera_sim.visibilities.simulators.ModelData.write_config_file¶
- ModelData.write_config_file(filename, direc='.', beam_filepath=None, antenna_layout_path=None)[source]¶
Writes a YAML config file corresponding to the current UVData object.
- Parameters:
filename (str) – Filename of the config file.
direc (str) – Directory in which to place the config file and its supporting files.
beam_filepath (str, optional) – Where to put the beam information. Default is to place it alongside the config file, but with extension ‘.beams’.
antenna_layout_path (str, optional) – Where to put the antenna layout CSV file. Default is alongside the main config file, but appended with ‘_antenna_layout.csv’.