Calibrator  0.1
Command line tool for 14C calibration
cal_curve.h
Go to the documentation of this file.
1 
19 #ifndef _cal_curve_h_
20 #define _cal_curve_h_
21 
22 #include <iostream>
23 #include <string>
24 #include <fstream>
25 #include <iterator>
26 #include <sstream>
27 #include <vector>
28 #include <algorithm>
29 
30 using namespace std;
31 
32 class CalCurve{
33 public:
37  CalCurve();
45  CalCurve(vector<int> cal_bp, vector<int> c14_bp, vector<int> error);
46 
52  int import(string file);
53 
59  vector<int> get_error();
63  vector<int> get_bp();
68  vector<int> get_c14_bp();
73  int rows();
78  int max_bp_cal_curve();
83  int min_bp_cal_curve();
84 private:
88  vector<int> cal_bp_;
92  vector<int> c14_bp_;
96  vector<int> error_;
97 };
98 
99 #endif
Represents the calibration curve.
Definition: cal_curve.h:32