32#ifndef eman__xydata_h__
33#define eman__xydata_h__ 1
79 float get_yatx(
float x,
bool outzero=
true);
122 void set_xy_list(
const vector<float>& xlist,
const vector<float>& ylist);
125 void make_gauss(
int n,
float xmax,
float width);
XYData defines a 1D (x,y) data set.
void make_gauss(int n, float xmax, float width)
void set_x(size_t i, float x)
float calc_correlation(XYData *xy, float minx, float maxx) const
float get_y(size_t i) const
float get_yatx(float x, bool outzero=true)
float get_yatx_smooth(float x, int smoothing)
void insort(float x, float y)
void set_y(size_t i, float y)
int write_file(const string &filename) const
void set_xy_list(const vector< float > &xlist, const vector< float > &ylist)
bool is_validx(float x) const
float get_x(size_t i) const
vector< float > get_xlist() const
vector< float > get_state() const
int read_file(const string &filename)
vector< float > get_ylist() const
void set_state(vector< float >)
#define InvalidValueException(val, desc)
bool operator<(const Pair &p) const