Simple test galaxy model with one flux, one color and no caching.
|
Public Member Functions |
|
| PopModelND (int ndim, int mdim, SampleDistribution *dist) |
| | Constructor ndim is the number of model dimensions mdim is the number of components dist is the data distribution.
|
|
| ~PopModelND () |
| | Destructor.
|
|
void | SetKnots (int num) |
| | Reset number of integration points.
|
|
void | ResetCache () |
| | Reset model cache.
|
|
virtual double | NormEval (double x, double y, SampleDistribution *d) |
| | Compute normalization of tiles.
|
|
virtual vector< double > | Evaluate (double x, double y, SampleDistribution *d) |
| | Main method returning source density.
|
|
string | ParameterDescription (int i) |
| | Label parameters.
|
|
int | DataDimension () |
| | Dimension of data attributes.
|
|
| void | Initialize (State &) |
| | Initialize state dependent part of calculation.
|
|
void | Initialize (vector< double > &w, vector< double > *&p) |
| | From component weights and parameter vectors.
|
Static Public Attributes |
|
static double | R0 |
| | Observers position (kpc) (default 8.0).
|
|
static double | RMAX |
| | Maximum radius (kpc) (default 20.0).
|
|
static double | NU |
| | Birth rate power law index.
|
|
static string | DataDir |
| | File defining stellar classes.
|
|
|
static int | NUM |
| | Number of integration knots for Jacobi quadrature (default 200).
|
|
static double | METAL |
| | Metallicity (default: 0.019).
|
| static double | ALPHA |
| | Jacobi quadrature parameters (default: 0, 0).
|
|
static double | BETA |
| | Beta index value.
|
|
| static double | AMIN |
| | Limits for model parameters.
|
|
static double | AMAX |
| | Maximum scale length.
|
|
static double | HMIN |
| | Minimum scale height.
|
|
static double | HMAX |
| | Maximum scale height.
|
Protected Member Functions |
|
virtual void | generate (double L, double B, SampleDistribution *sd) |
| | Generate model.
|
|
virtual void | compute_bins () |
| | Compute the bin values.
|
|
void | check_bounds () |
| | Bounds checking function.
|
Protected Attributes |
|
PopulationsApp * | pops |
| | Population model.
|
|
int | Nflux |
| | Number of data dimensions.
|
|
JacoQuad * | intgr |
| | Integrator.
|
|
int | M |
| | Maximum number in mixture.
|
|
int | Mcur |
| | Current number in mixture.
|
|
int | Ndim |
| | Number of model dimensions.
|
|
vector< double > | work |
| | Working vector.
|
|
bool | good_bounds |
| | Bounds flag.
|
|
EvalType | type |
| | Evaluation type.
|
|
| int | nbins |
| | Histogram components.
|
|
vector< dvector > | lowb |
| | Lower bin edges.
|
|
vector< dvector > | highb |
| | Upper bin edges.
|
|
|
vector< double > | wt |
| | State.
|
|
vector< double > * | pt |
|
| vector< NDPopCachedModel * > | cache |
| | Model cache structure.
|
|
int | listCntr |
| | The currently active cache element.
|
|
int | missed |
| | Number of cache misses.
|
|
int | nages |
| | Number of ages for each cache element.
|
Static Protected Attributes |
|
| static double | Log10 |
| | Constants.
|
|
static double | onedeg |
| | Number radians per degree.
|
Friends |
|
class | boost::serialization::access |
Simple test galaxy model with one flux, one color and no caching.