small_gain_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_visibility_amplitude.h"
#include "model_symmetric_gaussian.h"
#include "likelihood_optimal_gain_correction_visibility_amplitude.h"
#include "utils.h"
#include "likelihood.h"
#include "sampler_affine_invariant_tempered_MCMC.h"
Include dependency graph for small_gain_tests.cpp:

Functions

int main (int argc, char *argv[])
 

Detailed Description

Author
Avery E. Broderick
Date
August 2018

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:

  • 0 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas without thermal noise. (DEFAULT)
  • 1 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas without thermal noise, including constant gain errors of order 20%.
  • 2 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas without thermal noise, including variable gain errors of order 20%, with the LMT at 100%.
  • 3 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas with thermal noise.
  • 4 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas with thermal noise, including constant gain errors of order 20%.
  • 5 ... An idealized Gaussian data set with amplitude 2.5 Jy and sigma 28 uas with thermal noise, including variable gain errors of order 20%, with the LMT at 100%.