BIE::SplatModelNdv Class Reference
A simple test model based on 2-dim Gaussian splats.
More...
#include <SplatModelNdv.h>
List of all members.
|
Global parameters |
|
static double | SIGX |
| | Dispersion in X direction.
|
|
static double | SIGY |
| | Dispersion in Y direction.
|
|
static double | VV |
| | Variance for each component.
|
|
| SplatModelNdv (int mdim, int nband, double fluxmin, double fluxmax) |
| | Constructor (mdim = number of components).
|
|
void | Initialize (State &) |
| | Initialize state dependent part of calculation.
|
|
void | Initialize (vector< double > &w, vector< vector< double > > &p) |
|
virtual double | NormEval (double xmin, double xmax, double ymin, double ymax) |
| | Integrated norm (for point likelihood).
|
|
double | NormEval (double x, double y, SampleDistribution *d) |
| | Compute normalization of tiles.
|
| vector< double > | EvaluateBinned (double x, double y, BinnedDistribution *d) |
| | Main method returning source density.
|
|
vector< double > | EvaluatePoint (double x, double y, PointDistribution *d) |
| | Point version.
|
Public Member Functions |
|
string | ParameterDescription (int i) |
| | Label parameters.
|
|
int | DataDimension () |
| | Return data dimension produced by model.
|
Friends |
|
class | boost::serialization::access |
Detailed Description
A simple test model based on 2-dim Gaussian splats.
Assumes data with Nband flux attributes, also distributed as Gaussians. The centers of these Gaussians are model variables. This model has two splat components with Gaussian distributed attributes. The locations of the splats and the center of attribute distributions are parameters for a total of 2+Nband parameters altogether.
- Todo:
- Remove ParameterDescription and DataDimension.
- Todo:
- Evaluate should return a Distribution, not a vector.
Member Function Documentation
| vector<double> BIE::SplatModelNdv::EvaluateBinned |
( |
double |
x, |
|
|
double |
y, |
|
|
BinnedDistribution * |
d | |
|
) |
| | [virtual] |
Main method returning source density.
Binned version
Reimplemented from BIE::Model.
The documentation for this class was generated from the following file: