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.703319405555554
Latitude of the MWA (degrees)
-
MWA_LAT_RAD¶
-0.4660608448386394
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
-
sbf_N¶
101
Number of orders of basis functions (from 0 to 100 inclusive)
-
sbf_L¶
10001
Number of samples of each order of the basis functions
-
sbf_c¶
5000
If shapelet basis function is B(x), this is the array index where x=0
-
sbf_dx¶
0.01
If shapelet basis function is B(x), this is the x sampling resolution
-
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)
-
MWA_DIPOLE_HEIGHT¶
0.29
Height of MWA dipole (meters)
-
MWA_DIPOLE_SEP¶
1.1
Separation of MWA dipoles (meters)
-
INITIAL_NUM_COMPONENTS¶
10000
Initially make enough room to fit 1000000 components in a source
-
INITIAL_NUM_FLUXES¶
100
Initially make enough room to fit 100 flux entries in a list