#include <cmath>#include <vector>#include <string>#include "sim_utils.h"#include "AO_cpp.h"#include "three_frame.h"Go to the source code of this file.
Namespaces | |
| namespace | Arroyo |
Functions | |
| double | chisq_2gf (const vector< float > &data, vector< double > ¢ers, vector< double > &widths, vector< double > &s, double &dcconst, int verbose=0) |
| void | twogauss_fit (const vector< float > &data, vector< double > ¢ers, vector< double > &widths, vector< double > &s, double &dcconst) |
| void | box_mueller (double &r1, double &r2) |
| template<class U, class V> | |
| void | fit_straight_line (const long &nelems, const double *x, const U *y, const V *wts, double &slope, double &sigsq_slope, double &yintercept, double &sigsq_yintercept, double &chisq) |
| template<class T> | |
| void | cyclic_permutation (vector< long > axes, long xshift, long yshift, T *data) |
| template<class T> | |
| void | complex_cyclic_permutation (vector< long > axes, long xshift, long yshift, T *data) |
|
||||||||||||
|
return a random variable with 2d gaussian distribution |
|
||||||||||||||||||||||||||||
|
function used in twogauss_fit |
|
||||||||||||||||||||||||
|
This isn't a particularly safe function... It cyclically permutes data by xshift and yshift. The zeroth element of the axes vector corresponds to the y direction, and the first element of the axes vector corresponds to the x direction |
|
||||||||||||||||||||||||
|
This isn't a particularly safe function... It cyclically permutes data by xshift and yshift. The zeroth element of the axes vector corresponds to the y direction, and the first element of the axes vector corresponds to the x direction |
|
||||||||||||||||||||||||||||||||||||||||||||
|
Modification of numerical recipes algorithm for fitting a straight line |
|
||||||||||||||||||||||||
|
fit gaussians |
1.3.9.1