pipeline.hif.heuristics.mosaicoverlap

Functions

angularSeparation(ra0, dec0, ra1, dec1[, …])

Computes the great circle angle between two celestial coordinates.

angularSeparationOfDirections(dir1, dir2[, …])

Accepts two direction dictionaries and returns the separation in radians.

angularSeparationRadians(ra0, dec0, ra1, dec1)

Computes the great circle angle between two celestial coordinates.

baarsTaperFactor(taper_dB[, use2007formula])

Converts a taper in dB to the constant X in the formula FWHM=X*lambda/D for the parabolic illumination pattern. We assume that taper_dB comes in as a positive value. use2007formula: False –> use Equation 18 from ALMA Memo 456. True –> use Equation 4.13 from Baars 2007 book.

centralObstructionFactor(diameter[, obscuration])

Computes the scale factor of an Airy pattern as a function of the central obscuration, using Table 10.1 of Schroeder’s “Astronomical Optics”.

effectiveTaper(fwhmFactor, diameter[, …])

The inverse of Baars formula multiplied by the central obstruction factor.

gaussianBeamResponse(radius, frequency, diameter)

Computes the gain at the specified radial offset from the center of a Gaussian beam.

mosaicOverlapFactorMS(ms, source, spw, diameter)

This routine computes the maximum sensitivity increase factor for a mosaic.

mosaicOverlapFactorVIS(vis, source, spw, …)

This routine computes the maximum sensitivity increase factor for an ALMA

primaryBeamArcsec(frequency, diameter[, …])

Implements the Baars formula: b * lambda / D.