BIE::SimpleGalaxyModel Class Reference
A simple test galaxy model.
More...
#include <SimpleGalaxyModel.h>
List of all members.
|
Public Member Functions |
|
| SimpleGalaxyModel (int ndim, int mdim, bool cmap=false) |
| | Constructor.
|
|
| ~SimpleGalaxyModel () |
| | Destructor.
|
|
void | ResetCache () |
| | Reset model cache.
|
|
double | NormEval (double x, double y, SampleDistribution *d) |
| | Compute normalization of tiles.
|
|
double | NormEval (double x, double y) |
| | Compute normalization for points.
|
|
double | NormEvalMeasure (double x, double B) |
| | Integration measure.
|
|
vector< double > | EvaluateBinned (double x, double y, BinnedDistribution *d) |
| | Main method returning binned source density.
|
|
vector< double > | EvaluatePoint (double x, double y, PointDistribution *d) |
| | Main method returning point source density.
|
|
string | ParameterDescription (int i) |
| | Label parameters.
|
|
int | DataDimension () |
| | Dimension of data attributes.
|
|
void | SetStdCandle (int num, int ntab) |
| | Set StdCandle parameters.
|
|
| void | Initialize (State &) |
| | Initialize state dependent part of calculation.
|
|
void | Initialize (vector< double > &w, vector< vector< double > > &p) |
| | Initialize with component weights and component parameter vectors.
|
Static Public Attributes |
|
|
static double | A1 |
| | Extinction scale length (default 3.5 [kpc]).
|
|
static double | Z1 |
| | Extinction scale height (default 100 [pc]).
|
|
static double | K0 |
| | Standard candle magnitude (default -8.0).
|
|
static double | SIGK |
| | Std dev in standard candle magnitudes (default 0.25).
|
|
static double | KLOW |
| | Minimum magnitude (default 0.0).
|
|
static double | KLIM |
| | Maximum magnitude (default 14.3).
|
|
static double | MU |
| | Grid mapping (default 0.67).
|
Friends |
|
class | boost::serialization::access |
Detailed Description
A simple test galaxy model.
- Todo:
- Remove ParameterDescription and DataDimension methods.
- Todo:
- This class should not take an Ndim argument - this value is fixed.
Member Function Documentation
| void BIE::SimpleGalaxyModel::Initialize |
( |
State & |
|
) |
[virtual] |
Initialize state dependent part of calculation.
Initialize with state vector
Implements BIE::Model.
The documentation for this class was generated from the following file: