astrolofar.ms_tools

Tools to manipulate MeasurementSet (MS) files.

You can use the module as

>>> from astrolofar import ms_tools
astrolofar.ms_tools.calc_sigma_noise(SEFD, dt, df)

Calculate the per-visibility noise as

\[\sigma = \frac{SEFD}{\sqrt{2\Delta t \Delta f}} \, ,\]

where \(SEFD\) is the System Equivalent Flux Density (Jy), \(\Delta t\) is the integration time (seconds), and \(\Delta f\) is the channel width (Hz).

Parameters:
  • SEFD (float) – The System Equivalent Flux Density in Jy.

  • dt (float) – The time reolution (i.e. integration time) of one visibility in seconds.

  • df (float) – The frequency resolution (i.e. channel width) of one visibility in Hz.

Returns:

sigma – The sigma of the per-visibility thermal noise.

Return type:

float