constants

API documentation for constants.h.

Numeric constants used throughout the code.

Defines

DH2R

0.26179938779914943653855361527329190701643078328126

Convert hour angle to radians

DD2R

0.017453292519943295769236907684886127134428718885417

Covert degrees to radians

DS2R

7.2722052166430399038487115353692196393452995355905e-5

Convert sideral seconds to radians

VELC

299792458.0

Speed of light (m/s)

SOLAR2SIDEREAL

1.00274

Convert solar angle to sidereal

DEFAULT_SI

-0.8

Default Spectral Index

MWA_LAT

-26.703319

Latitude of the MWA (degrees)

MWA_LAT_RAD

-26.703319*DD2R

Latitude of the MWA (radians)

M_PI_2_2_LN_2

7.11941466249375271693034 \( \frac{\pi^2}{2 \ln(2)} \)

SQRT_M_PI_2_2_LN_2

2.668223128318498282851579 \( \sqrt{ \frac{\pi^2}{2 \ln(2)} } \)

FWHM_FACTOR

2.35482004503

Convert standard deviation to FWHM for a Gaussian

MAX_CHUNKING_SIZE

260000

Default number of COMPONENTs to process per chunk

NUM_DIPOLES

16

Number of dipoles in an MWA tile

DQ

435e-12*VELC

Delay quantum of the MWA beamformer in meters

MAX_POLS

4

Maximum number of polarisations after cross-correlation (XX, XY, YX, YY)

N_COPOL

2

Number of polarisations before cross-correlation (X,Y)