pixelflat.cpp File Reference

Functions

Variables


Function Documentation

void print_usage ( OptionParser &  flags  ) 
void add_options ( OptionParser &  flags  ) 

References g.

BSpline::BSpline<double> iterative_spline ( const BSpline::BSpline< double > &  Spl,
const MArray< double, 1 > &  x,
const MArray< double, 1 > &  y,
MArray< bool, 1 > &  mask,
const double  cutoff,
const double  kappa 
)

Referenced by iterative_spline(), and main().

BSpline::BSpline<double> iterative_spline ( const MArray< double, 1 > &  x,
const MArray< double, 1 > &  y,
MArray< bool, 1 > &  mask,
const double  cutoff,
const double  kappa 
)

Fit an approximating spline with cutoff wavelength (in units of x) of cutoff to a set of {x,y} data, then kappa-sigme clip around the spline at and reject at kappa times the stddev. Fit a spline again with the clipped values excluded. Return a spline after another round of iteration.

References iterative_spline().

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

const string version = "$Id: pixelflat.cpp 996 2015-05-13 18:03:47Z drory $"
struct globals g

Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1