28 #include <gsl/gsl_errno.h> 29 #include <gsl/gsl_math.h> 30 #include <gsl/gsl_min.h> 31 #include <gsl/gsl_roots.h> 58 void Compute(
double pha,
double inc,
double ema,
double dn,
59 double &albedo,
double &mult,
double &base);
60 void Compute(
double pha,
double inc,
double ema,
double deminc,
61 double demema,
double dn,
double &albedo,
62 double &mult,
double &base);
69 static void minbracket(
double &xa,
double &xb,
double &xc,
double &fa,
70 double &fb,
double &fc,
double Func(
double par,
void *params),
74 static int brentminimizer(
double x_lower,
double x_upper, gsl_function *Func,
75 double & x_minimum,
double tolerance);
79 static int brentsolver(
double x_lo,
double x_hi, gsl_function *Func,
double tolerance,
double &root);
virtual ~Photometry()
Destroy Photometry object.
static void minbracket(double &xa, double &xb, double &xc, double &fa, double &fb, double &fc, double Func(double par, void *params), void *params)
Double precision version of bracketing algorithm ported from Python. Solution bracketing for 1-D mini...
virtual void SetPhotomWl(double wl)
Set the wavelength.
Isotropic atmos scattering model.
static int brentsolver(double x_lo, double x_hi, gsl_function *Func, double tolerance, double &root)
GSL's the Brent-Dekker method (Brent's method) combines an interpolation strategy with the bisection ...
Container for cube-like labels.
void Compute(double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base)
Calculate the surface brightness.
Namespace for ISIS/Bullet specific routines.
static int brentminimizer(double x_lower, double x_upper, gsl_function *Func, double &x_minimum, double tolerance)
Brent's method 1-D minimization routine using GSL's r8Brent minimization Algorithm.