Compile-Time Constants

Defined within src/Main/GlobalConstants.h.

The following variables are defined at compile-time, either from their default value, or inferred from the Compile-Time Variables.

Temporal Properties

const int TotalScanningTime = 8967691

The maximum number of 10s time bins within the eDR3 catalogue.

const double secondsPerNtStep = 8967691.0 / Nt * 10

The real-time length (in seconds) of each temporal bin.

const double lt = 3600 * 6 * lt_revs / secondsPerNtStep

The temporal correlation length scale (measured in bins)

Properties of the Efficiency Vector

const int Nl = 12 * pow(2, 2 * healpix_order)

The number of spatial elements within the raw vector.

const int Ns = pow(4, needlet_order + 2) - 3

The number of spatial elements within the transformed vector.

const int NHyper = (2 + hyperOrder) * NVariancePops

The number of hyperparameters within the vector.

const int totalRawParams = rawNonHyperParams + NHyper

The total length of the raw vector.

const int totalTransformedParams = transformedNonHyperParams + NHyper

The total length of the transformed vector.

const int rawNonHyperParams = Nt + Nm * (Ns)

The index of the first hyperparameter in the raw vector.

const int hyperFractionOffset = (1 + hyperOrder) * NVariancePops

The index of the population fraction hyperparameters, relative to the first hyperparameter index.

Common Reused Numbers & Cutoffs

const int NumberLargerThanMaxObservations = 1024

The pre-set length of all {p_i} vectors - needs to be larger than max visitations to prevent overflow.

const double VerySmallNumber = 1e-300

Numbers smaller than this are set to zero (or flagged as errors)

const double VerySmallLog = -9999999999

Very basic approx for log(0)

const double SingularityPreventer = 1e-18

Added to diagonal elements of matrices for stable inversion.

const double spatialAddingPrefactor = 0.5 * log(2.0)

The scaling prefactor used to convert x_ml(FOV_1) and x_ml(FOV_2) into a single probability associated with the looking posiiton of Gaia at a given time.

const double elu_transitionPoint = -3.0

The truncation point for the elu() function.

const double exp_elu_transitionPoint = exp(-elu_transitionPoint)

Scaling factor for elu() function below elu_transitionPoint, equal to exp(elu_transitionPoint)

Misc Parameters

const int RootID = 0

Declares that process id=0 is always Root.

const int PipelineMinVisits = 5

The minimum number of visitations that a star is required to have to enter into the astrometric pipeline.