Binned isochrone population models with distance moduli.
|
Public Member Functions |
|
| PopulationsApp (string directory, vector< int > *Marginalize=NULL, bool CMD=false) |
| | Constructor ----------- "directory" is the path to the isochrone tables the vector<int> should contain three entries which represent the J H K flux values: 0 if the flux is used and 1 to marginalize.
|
|
| PopulationsApp (string directory, string isoname, vector< int > *Marginalize=NULL) |
| | Constructor (CDF version) ----------- "directory" is the path to the isochrone tables "isoname" is the name of the isochrone cdf file the vector<int> should contain three entries which represent the J H K flux values: 0 if the flux is used and 1 to marginalize.
|
|
| ~PopulationsApp () |
| | Destructor.
|
|
void | SetParameters (void) |
| | Set parameters (not currently used.
|
|
vector< bool > | get_marge (void) const |
| | Get marginalization flags.
|
|
bool | CMDflag (void) |
| | CMD flag.
|
|
void | UseArray () |
| | Store data in an array (more efficient but may use more memory).
|
|
void | UseHash () |
| | Set data in a hash (less efficient but may use less memory).
|
|
|
double | GetValue (vector< double > &flux, double age, double metal, double distmod) |
| | Get star count value in bin with given flux, age and metallicity.
|
|
double | GetValue (vector< int > &indx, int age, int metal, int distmod) |
| | Get star count value in bin with given grid indices.
|
|
double | Interpolate (vector< double > &flux, double age, double metal, double distmod) |
| | Interpolate on flux on grid with given age and metallicity.
|
|
double | Bin (vector< double > &fmin, vector< double > &fmax, double age, double metal, double distmod) |
| | Sum over bins beteen flux boundaries.
|
|
|
vector< double > | Metal () |
| | Get the metallicity values in the grid.
|
|
vector< double > | Ages () |
| | Get the ages in the grid.
|
|
vector< double > | DistMod () |
| | Get the distance moduli in the grid.
|
|
vector< double > | AgeBoundaries () |
| | Get the age boundaries in the grid.
|
|
vector< double > | MinMag () |
| | Get the minimum magnitudes in the grid.
|
|
vector< double > | MaxMag () |
| | Get the maximum magnitudes in the grid.
|
|
vector< double > | MagDelta () |
| | Get the magnitude bin widths in the grid.
|
|
vector< int > | NumMag () |
| | Get the number of mangitude bins in the grid.
|
|
|
void | VerifyDouble () |
| | Check the double values.
|
|
void | VerifyInt () |
| | Check the integer values.
|
Static Public Attributes |
|
static bool | verbose |
| | Turn on debugging info (don't do this . . .).
|
|
static bool | use_array |
| | Set data-store type (true means use array, false means use hash).
|
Friends |
|
class | boost::serialization::access |
Binned isochrone population models with distance moduli.