Simple test galaxy model with one flux, one color and no caching.
|
Public Member Functions |
|
| GalaxyModelTwoD (int ndim, int mdim, SampleDistribution *_dist) |
| | Constructor.
|
|
| ~GalaxyModelTwoD () |
| | Destructor.
|
|
void | SetKnots (int num) |
| | Reset number of integration points.
|
|
void | SetExtinction (double A, double Z) |
| | Radial and Vertical size if extinction slab.
|
|
void | ResetCache () |
| | Reset model cache.
|
|
virtual double | NormEval (double x, double y) |
| | Compute normalization for point likelihood.
|
|
virtual double | NormEval (double x, double y, SampleDistribution *d) |
| | Compute normalization of tiles.
|
|
virtual double | NormEvalMeasure (double x, double y) |
| | Integration measure.
|
|
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< vector< double > > &p) |
| | From component weights and component 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 | AK |
| | Extinction (mags) (default 0.1).
|
|
static string | BASISDATA |
| | File defining stellar classes.
|
|
|
static double | LMAG |
| | Minimum apparent magnitude (default 6).
|
|
static double | HMAG |
| | Minimum apparent magnitude (default 16).
|
|
static double | A1 |
| | Extinction scale length (default 20 [kpc]).
|
|
static double | Z1 |
| | Extinction scale height (default 100 [pc]).
|
|
static double | K0 |
| | Standard candle magnitude (default -4.0).
|
|
static int | NUM |
| | Number of integration knots for Jacobi quadrature (default 200).
|
| static double | ALPHA |
| | Jacobi quadrature parameters (default: 0, 0).
|
|
static double | BETA |
| | Beta exponent value.
|
|
| static double | AMIN |
| | Limits for model parameters.
|
|
static double | AMAX |
| | Maximum scale length.
|
|
static double | HMIN |
| | Minimum scale height.
|
|
static double | HMAX |
| | Maxiimum scale height.
|
Protected Member Functions |
|
virtual void | generate (double L, double B, SampleDistribution *d) |
| | Compute line-of-sight quantities for these coordinates.
|
|
virtual void | compute_bins () |
| | Compute predicted bin values for current parameter vector.
|
|
void | check_bounds () |
| | Check parameter bounds and set flag.
|
Protected Attributes |
|
int | M |
| | Total number of components in mixture.
|
|
int | Mcur |
| | Current number of components in mixture.
|
|
int | Ndim |
| | Number of model dimensions.
|
|
vector< double > | flux |
| | Point components.
|
|
JacoQuad * | intgr |
| | Integrator.
|
|
vector< double > | wt |
| | Weights for each component in the mixture.
|
|
vector< vector< double > > | pt |
| | Parameter vector for each component in the mixture.
|
|
bool | good_bounds |
| | Flag is true if parameter values are in bounds.
|
|
mmapGalCM | cache |
| | Line-of-sight element cache.
|
|
mmapGalCM::iterator | mit |
| | Cache iterator.
|
|
CacheGalaxyModel * | current |
| | Current cache element.
|
|
EvalType | type |
| | Type of evaluation (e.g. point or binned).
|
|
| int | nbins |
| | Histogram components.
|
|
vector< double > | lowb1 |
| | Low values for first flux dimension.
|
|
vector< double > | highb1 |
| | High values for first flux dimension.
|
|
vector< double > | lowb2 |
| | Low values for second flux dimension.
|
|
vector< double > | highb2 |
| | High values for second flux dimension.
|
|
| int | nparam |
| | Stellar components.
|
|
vector< double > | x |
| | Centers for first dimension.
|
|
vector< double > | y |
| | Centers for second dimension.
|
|
vector< double > | sx |
| | Widths for first dimension.
|
|
vector< double > | sy |
| | Widths for second dimension.
|
|
vector< double > | w |
| | Weights for each component.
|
Static Protected Attributes |
|
| static double | Log10 |
| | Constants.
|
|
static double | onedeg |
| | Radians per degree.
|
|
| static const char * | LENGTH_FIELDNAME |
| | Constants related to record type.
|
|
static const char * | HEIGHT_FIELDNAME |
| | String descriptor for scale height.
|
|
static const char * | PARAM_NAMES [] |
| | String descriptors for remaining parameters.
|
Friends |
|
class | boost::serialization::access |
Simple test galaxy model with one flux, one color and no caching.