crosshand_visibilities_tests.cpp File Reference
Test rig for developing and testing the likelihood_small_gain_correction_visibility_amplitude class. More...
#include <mpi.h>
#include <memory>
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include <fstream>
#include "data_crosshand_visibilities.h"
#include "model_polarized_image_constant_polarization.h"
#include "model_image_symmetric_gaussian.h"
#include "likelihood_crosshand_visibilities.h"
#include "likelihood_optimal_complex_gain_constrained_crosshand_visibilities.h"
#include "utils.h"
#include "likelihood.h"
#include "sampler_differential_evolution_deo_tempered_MCMC.h"
#include "optimizer_kickout_powell.h"
Include dependency graph for crosshand_visibilities_tests.cpp:
Functions | |
int | main (int argc, char *argv[]) |
Detailed Description
- Date
- March 2020
Runs various tests for various sets of test data to determine how well the gains can be reconstructed and mitigated in a simple parameter estimation study.
The test data set to use can be set on the command line. Options are:
- 1 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas without thermal noise. (DEFAULT)
- 2 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas without thermal noise, including constant D-term errors, randomly chosen with amplitude<=1.
- 3 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas without thermal noise, including constant gain errors of order 10%, assuming left and right gains are equal, with the LMT at 90%,
- 4 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas without thermal noise, including constant gain errors of order 10%, assuming left and right gains are independent, with the LMT at 90%,
- 10- ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas with thermal noise.
- 20 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas with thermal noise, including constant D-term errors, randomly chosen with amplitude<=1.
- 30 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas with thermal noise, including constant gain errors of order 10%, assuming left and right gains are equal, with the LMT at 90%,
- 40 ... An idealized Gaussian data set with amplitude 2.0 Jy and sigma 15 uas with thermal noise, including constant gain errors of order 10%, assuming left and right gains are independent, with the LMT at 90%,