|
Isis Developer Reference
|
Go to the documentation of this file.
12 #include <gsl/gsl_errno.h>
13 #include <gsl/gsl_math.h>
14 #include <gsl/gsl_min.h>
15 #include <gsl/gsl_roots.h>
42 void Compute(
double pha,
double inc,
double ema,
double dn,
43 double &albedo,
double &mult,
double &base);
44 void Compute(
double pha,
double inc,
double ema,
double deminc,
45 double demema,
double dn,
double &albedo,
46 double &mult,
double &base);
53 static void minbracket(
double &xa,
double &xb,
double &xc,
double &fa,
54 double &fb,
double &fc,
double Func(
double par,
void *params),
58 static int brentminimizer(
double x_lower,
double x_upper, gsl_function *Func,
59 double & x_minimum,
double tolerance);
63 static int brentsolver(
double x_lo,
double x_hi, gsl_function *Func,
double tolerance,
double &root);
AtmosModel * GetAtmosModel() const
Definition: Photometry.h:69
Definition: PhotoModel.h:41
static AtmosModel * Create(Pvl &pvl, PhotoModel &pmodel)
Create an AtmosModel object using a PVL specification.
Definition: AtmosModelFactory.cpp:44
AtmosModel * p_phtAmodel
Definition: Photometry.h:78
Photometry()
Definition: Photometry.h:38
virtual ~Photometry()
Destroy Photometry object.
Definition: Photometry.cpp:51
virtual void SetPhotomWl(double wl)
Set the wavelength.
Definition: Photometry.cpp:73
Isotropic atmos scattering model.
Definition: AtmosModel.h:60
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...
Definition: Photometry.cpp:213
void Compute(double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base)
Calculate the surface brightness.
Definition: Photometry.cpp:83
Container for cube-like labels.
Definition: Pvl.h:119
static NormModel * Create(Pvl &pvl, PhotoModel &pmodel)
Create a NormModel object using a PVL specification.
Definition: NormModelFactory.cpp:36
Definition: Photometry.h:35
PhotoModel * GetPhotoModel() const
Definition: Photometry.h:65
Definition: NormModel.h:36
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.
Definition: Photometry.cpp:174
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
static PhotoModel * Create(Pvl &pvl)
Create a PhotoModel object using a PVL specification.
Definition: PhotoModelFactory.cpp:35
Isis exception class.
Definition: IException.h:91
bool hasObject(const QString &name) const
Returns a boolean value based on whether the object exists in the current PvlObject or not.
Definition: PvlObject.h:323
NormModel * p_phtNmodel
Definition: Photometry.h:80
PhotoModel * p_phtPmodel
Definition: Photometry.h:79
NormModel * GetNormModel() const
Definition: Photometry.h:73
Adds specific functionality to C++ strings.
Definition: IString.h:165
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 ...
Definition: Photometry.cpp:131
void CalcNrmAlbedo(double pha, double inc, double ema, double dn, double &albedo, double &mult, double &base)
Calculate the albedo normalization.
Definition: NormModel.cpp:64
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126
virtual void SetNormWavelength(double wavelength)
Set the wavelength parameter.
Definition: NormModel.cpp:51