PSRCHIVE
| Ask a Question | Search PSRCHIVE: |
Home
|
PolynomialFit.h void set_degree(int n) Set the degree of the fit. Definition PolynomialFit.h:31 std::vector< Estimate< double > > y The y values/errors for the fit. Definition PolynomialFit.h:66 double evaluate(double x) Evaluate the fit solution at the given x. Definition PolynomialFit.C:56 int ndeg Number of polynomial degrees (1=linear, 2=quadratic, etc) Definition PolynomialFit.h:69 std::vector< Estimate< double > > coeffs The fitted coeffs. Definition PolynomialFit.h:81 double get_rchi2() Get the reduced chi2 of the fit. Definition PolynomialFit.C:140 double evaluate_integ(double x0, double x1) Integrate the fit solution between x0 and x1. Definition PolynomialFit.C:100 Estimate< double > get_coeff(int n) Get the nth degree fitted polynomial coeff and error. Definition PolynomialFit.C:148 double evaluate_deriv(double x) Evaluate the fit solution's derivative at the given x. Definition PolynomialFit.C:78 double evaluate_moment(double x0, double x1, int n) Integrate x^n * y(x) over the specified range. Definition PolynomialFit.C:109 void compute() Compute the fit using current data. Definition PolynomialFit.C:156 void add_data(double x, Estimate< double > y) Add a data point. Definition PolynomialFit.C:49 bool check_range(double x) Check if a requested x val is in the fit range. Definition PolynomialFit.C:35 Generated using doxygen 1.14.0
|