hera_sim.io.empty_uvdata

hera_sim.io.empty_uvdata(Ntimes=None, start_time=2456658.5, integration_time=None, array_layout: dict[int, collections.abc.Sequence[float]] = None, Nfreqs=None, start_freq=None, channel_width=None, n_freq=None, n_times=None, antennas=None, conjugation=None, **kwargs)[source]

Create an empty UVData object with given specifications.

Parameters:
  • Ntimes (int, optional) – NUmber of unique times in the data object.

  • start_time (float, optional) – Starting time (Julian date) by default 2456658.5

  • array_layout (dict, optional) – Specify an array layout. Keys should be integers specifying antenna numbers, and values should be length-3 sequences of floats specifying ENU positions.

  • Nfreqs (int, optional) – Number of frequency channels in the data object

  • start_freq (float, optional) – Lowest frequency channel, by default None

  • channel_width (float, optional) – Channel width, by default None

  • n_freq (int, optional) – Alias for Nfreqs

  • n_times (int, optional) – Alias for Ntimes.

  • antennas (dict, optional) – Alias for array_layout for backwards compatibility.

  • **kwargs – Passed to pyuvsim.simsetup.initialize_uvdata_from_keywords()

Returns:

UVData – An empty UVData object with given specifications.