Gaussian distributed standard candle model class.
|
Public Member Functions |
| | StdCandle () |
| | Constructor.
|
|
| StdCandle (double a1, double h, double k0, double sigk, double klow, double klim) |
| | Constructor.
|
|
StdCandle * | New () |
| | Clone.
|
|
void | set (double a1, double h, double k0, double sigk, double klow, double klim) |
| | Change settable parameters.
|
|
| ~StdCandle () |
| | Destructor.
|
|
void | initdens (double l, double b, bool kd=false) |
| | Initialize density caluculation for given galactic lat and lon (in degrees).
|
|
double | dens (double a, double z, double l, double b, bool kd=false) |
| | Get density and set table for given galactic model.
|
| double | kfrac (double kmin, double kmax) |
| | Get fraction of density predicted to be between.
|
| double | kfracD (double k) |
| | Differention distribution in.
|
|
vector< double > | realize (double a, double z) |
| | Return random sample from distribution: apparent mag, l, b.
|
|
void | print_kfrac (const char *) |
| | Print out distribution in magnitude.
|
Static Public Attributes |
|
|
static int | NUM |
| | Gaussian integration knots, default=40 (Jacobi functions).
|
|
static int | NTAB |
| | Table size for extinction interpolation.
|
|
static double | ALPHA |
| | Jacobi weight , default=0.0.
|
|
static double | BETA |
| | Jacobi weight , default=0.0.
|
|
static double | R |
| | Location of Sun in galaxy (in kpc) default=8.0.
|
|
static double | AK |
| | Extinction in mags/kpc, default=0.1.
|
|
static int | NITER |
| | Number of iterations in extinction limit calc, default=100.
|
|
static double | tol |
| | Tolerance for extinction calc.
|
|
static double | Log10 |
|
static double | onedeg |
Friends |
|
class | boost::serialization::access |
Gaussian distributed standard candle model class.