Calibrator  0.1
Command line tool for 14C calibration
CalDate Class Reference

Represents a calibrated date. More...

#include <cal_date.h>

Public Member Functions

 CalDate (string name, vector< double > probabilities, vector< int > bp, int uncal_bp, int uncal_error, vector< int > full_bp, vector< double > full_probabilities)
 
 CalDate (string name, vector< double > probabilities, vector< int > bp, int uncal_bp, int uncal_error)
 
 CalDate ()
 
void info () const
 
json to_json ()
 
string get_name ()
 
void calculate_sigma_ranges ()
 
vector< SigmaRangeget_sigma_ranges ()
 
vector< int > get_full_bp ()
 
vector< double > get_full_probabilities ()
 
string to_csv ()
 

Detailed Description

Represents a calibrated date.

This class represents a calibrated date

Author
Martin Hinz
Version
0.1
Date
14/07/2016 11:07:28

Contact: marti.nosp@m.n.hi.nosp@m.nz@uf.nosp@m.g.un.nosp@m.i-kie.nosp@m.l.de

Definition at line 33 of file cal_date.h.

Constructor & Destructor Documentation

CalDate::CalDate ( string  name,
vector< double >  probabilities,
vector< int >  bp,
int  uncal_bp,
int  uncal_error,
vector< int >  full_bp,
vector< double >  full_probabilities 
)

Definition at line 3 of file cal_date.cpp.

CalDate::CalDate ( string  name,
vector< double >  probabilities,
vector< int >  bp,
int  uncal_bp,
int  uncal_error 
)

Definition at line 13 of file cal_date.cpp.

CalDate::CalDate ( )

Definition at line 21 of file cal_date.cpp.

Member Function Documentation

void CalDate::calculate_sigma_ranges ( )

Definition at line 64 of file cal_date.cpp.

vector< int > CalDate::get_full_bp ( )

Definition at line 56 of file cal_date.cpp.

vector< double > CalDate::get_full_probabilities ( )

Definition at line 60 of file cal_date.cpp.

string CalDate::get_name ( )

Definition at line 52 of file cal_date.cpp.

vector< SigmaRange > CalDate::get_sigma_ranges ( )

Definition at line 145 of file cal_date.cpp.

void CalDate::info ( ) const

Definition at line 25 of file cal_date.cpp.

string CalDate::to_csv ( )

Definition at line 156 of file cal_date.cpp.

json CalDate::to_json ( )

Definition at line 32 of file cal_date.cpp.


The documentation for this class was generated from the following files: