|
Isis 3.0 Application Source Code Reference |
Home |
Go to the source code of this file.
Defines | |
| #define | NLP 51 |
| #define | NS (NLP * 2 -1) |
| #define | NL NLP |
Functions | |
| PvlGroup | results ("Results") |
| PvlGroup | note ("Note") |
| float | rando (int init) |
| Random number generator. | |
| double | LinearFitPhotometricToHapke (double pPar, void *pParams) |
| Fits a simple photometric model to the Hapke model by linear least squares fit at a contant given value of the limb-darkening parameter pPar. | |
| void | GetHapkeImgLocation (PhotoModel *pHapke, AtmosModel *pAsmModel, HapkeArrs &pHapkeArrs, Datum &pDatum) |
| Fills the buffer HAPKE_IMG with the Hapke-model radiances of points with given PHASE and random incidence and emission angles stored in INC_IMG, EMA_IMG. | |
| void | IsisMain () |
Variables | |
| bool | useSeed = 0 |
| int | seedNumber = 0 |
| #define NLP 51 |
Definition at line 31 of file phoemplocal.cpp.
| #define NS (NLP * 2 -1) |
Definition at line 32 of file phoemplocal.cpp.
| #define NL NLP |
Definition at line 33 of file phoemplocal.cpp.
| PvlGroup results | ( | "Results" | ) |
| PvlGroup note | ( | "Note" | ) |
| float rando | ( | int | init | ) |
| double LinearFitPhotometricToHapke | ( | double | pPar, | |
| void * | pParams | |||
| ) |
Fits a simple photometric model to the Hapke model by linear least squares fit at a contant given value of the limb-darkening parameter pPar.
The RMS error of the fit is returned.
The prototype is set to match the gsl_function data type to use gsl's brentminimizer function.
The gsl_function is a pointer to function of the following prototype: double (* function) (double x, void * params)
Following is an example to use gsl_function struct my_f_params { double a; double b; double c; };
double my_f (double x, void * p) { struct my_f_params * params = (struct my_f_params *)p; double a = (params->a); double b = (params->b); double c = (params->c);
return (a * x + b) * x + c; }
gsl_function F; struct my_f_params params = { 3.0, 2.0, 1.0 };
F.function = F.params =
| pPar | - limb-darkening parameter |
Definition at line 389 of file phoemplocal.cpp.
| void GetHapkeImgLocation | ( | PhotoModel * | pHapke, | |
| AtmosModel * | pAsmModel, | |||
| HapkeArrs & | pHapkeArrs, | |||
| Datum & | pDatum | |||
| ) |
Fills the buffer HAPKE_IMG with the Hapke-model radiances of points with given PHASE and random incidence and emission angles stored in INC_IMG, EMA_IMG.
Ported from Isis2
| pHapke | - Hapke Photo Model | |
| pAsmModel | - Is Atmospheric Model selected | |
| pHapkeArrs | - Structure of hapke, inc, ema arrays | |
| pDatum | - Structure with datum incidence, emission, phase and rms slope |
Definition at line 483 of file phoemplocal.cpp.
| void IsisMain | ( | ) |
Definition at line 79 of file phoemplocal.cpp.
| bool useSeed = 0 |
Definition at line 69 of file phoemplocal.cpp.
| int seedNumber = 0 |
Definition at line 70 of file phoemplocal.cpp.