dataset More...
#include <data.h>
Public Member Functions | |
| Data (const Ftk *F) | |
| std::string | get_info () const |
| void | load_file (const std::string &fn, int idx_x, int idx_y, int idx_s, const std::vector< int > &blocks, const std::string &format, const std::string &options) |
| int | load_arrays (const std::vector< realt > &x, const std::vector< realt > &y, const std::vector< realt > &sigma, const std::string &data_title) |
| void | set_points (const std::vector< Point > &p) |
| void | clear () |
| void | add_one_point (realt x, realt y, realt sigma) |
| realt | get_x (int n) const |
| realt | get_y (int n) const |
| realt | get_sigma (int n) const |
| int | get_n () const |
| bool | is_empty () const |
| bool | has_any_info () const |
| double | get_x_step () const |
| void | after_transform () |
| 0.0 if not fixed | |
| void | update_active_p () |
| std::string | range_as_string () const |
| int | get_lower_bound_ac (double x) const |
| int | get_upper_bound_ac (double x) const |
| const std::string & | get_title () const |
| void | set_title (const std::string &title) |
| const std::string & | get_filename () const |
| void | find_step () |
| check for fixed step | |
| void | sort_points () |
| void | update_active_for_one_point (int idx) |
|
std::vector< Point > ::const_iterator | get_point_at (double x) const |
| double | get_x_min () const |
| double | get_x_max () const |
| std::vector< Point > const & | points () const |
| std::vector< Point > & | get_mutable_points () |
| int | get_given_x () const |
| int | get_given_y () const |
| int | get_given_s () const |
| void | revert () |
Static Public Member Functions | |
| static int | count_blocks (const std::string &fn, const std::string &format, const std::string &options) |
| static int | count_columns (const std::string &fn, const std::string &format, const std::string &options, int first_block) |
dataset
Definition at line 21 of file data.h.