BIE::ModelPops Class Reference

Predefined star formation rate models. More...

#include <ModelPops.h>

Inheritance diagram for BIE::ModelPops:
Collaboration diagram for BIE::ModelPops:

List of all members.

Public Member Functions

 ModelPops (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.
 ModelPops (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.
 ModelPops (vector< double > &fmin, vector< double > &fmax)
 Constructor (JMC's version) ----------- this constructor is assuming the CMD uses j-k versus k the vectors fmin and fmax contain the ranges of j and k (in that order).
 ModelPops (float jmin, float jmax, float kmin, float kmax, float jkmin, float jkmax)
 Constructor (JMC's version - variants) ----------- this constructor is assuming the CMD uses j-k versus k.
 ModelPops (float jmin, float jmax, float kmin, float kmax, float jkmin, float jkmax, int j, int k, int jk)
 ~ModelPops ()
 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).
Accessors
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.
double AccessCMD_bar_jk (vector< double > &fmin, vector< double > &fmax)
 Interface to JMC's CMD generator.
double AccessCMD_disk_jk (vector< double > &fmin, vector< double > &fmax)
float get_jmin ()
float get_jmax ()
float get_kmin ()
float get_kmax ()
void reset (float jmin, float jmax, float kmin, float kmax, float jkmin, float jkmax)
void reset (float jmin, float jmax, float kmin, float kmax, float jkmin, float jkmax, int j, int k)
Grid properties
vector< double > Metal ()
vector< double > Ages ()
vector< double > DistMod ()
vector< double > AgeBoundaries ()
vector< double > MinMag ()
vector< double > MaxMag ()
vector< double > MagDelta ()
vector< int > NumMag ()
Verify data against files (for debugging)
void VerifyDouble ()
void VerifyInt ()

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


Detailed Description

Predefined star formation rate models.

Binned isochrone population models with distance moduli Reads binned isochrone in near-infrared J, H and K bands


The documentation for this class was generated from the following file:

Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by doxygen