uvdata_tools module

Utility functions for handling UV visibility data.

aiv_utils.uvdata_tools.get_uv_visibility_data(obs_path)

Grabs relevant and useful data out of visibility files

Parameters:

obs_path (str) – Path to the visibility directory

Return type:

tuple

Returns:

a tuple of numpy arrays including: combined_data: all non-nan data frequency_samples_megahertz: the MHz values of the spectra mean_spectra: mean spectra (time scrunched) pol_xx_mean_spectra: mean spectra (time scrunched) of the XX polarisation pol_yy_mean_spectra: mean spectra (time scrunched) of the yy polarisation time_samples: astropy Time objects for each timestamp mean_time_series: mean time series (frequency scrunched)