StdCandle Class Reference

Gaussian distributed standard candle model class. More...

#include <StdCandle2.h>

Inheritance diagram for StdCandle:
Collaboration diagram for StdCandle:

List of all members.

Public Member Functions

 StdCandle ()
 Constructor.
 StdCandle (double a1, double h, double k0, double sigk, double klow, double klim)
 Constructor.
StdCandleNew ()
 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

Global parameters
static int NUM
 Gaussian integration knots, default=40 (Jacobi functions).
static int NTAB
 Table size for extinction interpolation.
static double ALPHA
 Jacobi weight $t^\alpha$, default=0.0.
static double BETA
 Jacobi weight $(1-t)^\beta$, 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


Detailed Description

Gaussian distributed standard candle model class.

Constructor & Destructor Documentation

StdCandle::StdCandle (  ) 

Constructor.

  • a = scale length of population
  • z = scale height of population
  • a1 = scale length of extinction
  • z1 = scale height of extinction
  • k0 = mean magnitude of standard candles
  • sigk = dispersion about mean of standard candle magnitudes
  • klim = flux limit
Constructor


Member Function Documentation

double StdCandle::kfrac ( double  kmin,
double  kmax 
)

Get fraction of density predicted to be between.

Parameters:
kmin and
kmax 

double StdCandle::kfracD ( double  k  ) 

Differention distribution in.

Parameters:
k 


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:12 2010 by doxygen