1 #include "../include/cal_curve.h" 12 return cal_bp_.size();
22 ifstream in(file.c_str());
23 if (!in.is_open())
return 1;
28 while (getline(in, line)) {
29 if (counter > head_length) {
30 std::stringstream iss(line);
32 std::getline(iss, val,
',');
35 cal_bp_.push_back(atoi(val.c_str()));
36 std::getline(iss, val,
',');
39 c14_bp_.push_back(atoi(val.c_str()));
40 std::getline(iss, val,
',');
43 error_.push_back(atoi(val.c_str()));
51 int my_max = *std::max_element(cal_bp_.begin(), cal_bp_.end());
56 int my_min = *std::min_element(cal_bp_.begin(), cal_bp_.end());
vector< int > get_error()
vector< int > get_c14_bp()