data_closure_amplitude Class Reference
Defines a class containing a collection of closure amplitude datum objects with simple I/O. More...
#include "data/data_closure_amplitude.h"
Public Member Functions | |
data_closure_amplitude () | |
Defines a default, empty data_closure_amplitude object. | |
data_closure_amplitude (std::string file_name) | |
Defines a default, data_closure_amplitude filled by data in file <file_name>. | |
data_closure_amplitude (std::vector< std::string > file_name) | |
Defines a default, data_closure_amplitude filled by data in the collection of files in the vector <file_name>. | |
void | add_data (std::string file_name) |
Adds data from the file <file_name>. | |
void | add_data (datum_closure_amplitude &d) |
Adds data from a datum object. | |
size_t | size () const |
Returns the number of data points. | |
datum_closure_amplitude & | datum (size_t i) const |
Provides access to the atomic datum element. | |
Private Attributes | |
std::vector< datum_closure_amplitude * > | _closure_amplitudes |
Detailed Description
Collections of closure amplitude data are defined in data_closure_amplitude, which includes simple I/O tools and provides access to a list of appropriately constructed datum_closure_amplitude objects.
- Warning
- Currently assumes a fixed data file format.
- Todo:
- Once data file formats crystalize, implement more generic or multi-format I/O options.
The documentation for this class was generated from the following files: