hera_sim.foregrounds.PointSourceForeground.__call__

PointSourceForeground.__call__(lsts, freqs, bl_vec, **kwargs)[source]

Compute the point source foregrounds.

Parameters:
  • lsts (array-like of float) – Local Sidereal Times for the simulated observation, in units of radians.

  • freqs (array-like of float) – Frequency array for the simulated observation, in units of GHz.

  • bl_vec (array-like of float) – Baseline vector for the simulated observation, given in East-North-Up coordinates in units of nanoseconds. Must have length 3.

Returns:

vis (np.ndarray of complex) – Simulated observed visibilities for the specified LSTs, frequencies, and baseline. Complex-valued with shape (lsts.size, freqs.size).

Notes

The beam used here is a Gaussian with width hard-coded to HERA’s width, and truncated at the horizon.

This is a very rough simulator, use at your own risk.