6 float plotpa0,plotRM,plotRM_err;
8 std::vector<double> goodfreqs;
9 std::vector<double> goodpa;
10 std::vector<double> goodpa_stddev;
12 std::vector<double> goodi;
13 std::vector<double> goodirms;
14 std::vector<double> goodv;
15 std::vector<double> goodvrms;
16 std::vector<double> goodq;
17 std::vector<double> goodqrms;
18 std::vector<double> goodu;
19 std::vector<double> goodurms;
21 std::vector<double> goodl;
22 std::vector<double> goodlrms;
25 std::vector<double> delta_V;
26 std::vector<double> delta_Verr;
27 std::vector<double> delta_L;
28 std::vector<double> delta_Lerr;
31 void set_plotparams(
float _plotpa0,
float _plotRM,
float _plotRM_err){
35 plotRM_err=_plotRM_err;
39 std::vector<float> fbscr_RMs;
40 std::vector<float> fbscr_RM_errs;
41 std::vector<float> fbscr_RM_probmax;
44 float best_fbscr_probmax;
47 float best_fbscr_RM_err;
63 float lookup_PA_err(
float xint);
65 float lookup_RM_err(std::vector<float>& xint);
67 std::vector<int> ibin_vec;
69 void Kasterg_Fit(
float& fRM_low,
float& fRM_high,
float& fRM_step,
70 const std::vector<double>& freqs,
71 const std::vector<double>& PAs,
72 const std::vector<double>& PA_stddevs,
73 double& RM,
double& PA0,
double& sigRM,
double& sigPA0,
74 double& probmax,
int& iRM);