BIE::CMD Class Reference

Binned CMD model in absolute magnitudes with user supplied offset (e.g. More...

#include <CMD.h>

Inheritance diagram for BIE::CMD:
Collaboration diagram for BIE::CMD:

List of all members.

Public Member Functions

 CMD (string directory, double minval=1.0e-10)
 Constructor ----------- "directory" is the path to the CMD tables.
 ~CMD ()
 Destructor.
void SetParameters (void)
 Set parameters (not currently used.
vector< double > genPoint ()
 Realize a point in the CMD.
void HashStat ()
 Hash statistics (for debugging).
Accessors
double GetValue (vector< double > &flux)
 Get star count value in bin with given flux.
double GetValue (vector< int > &indx)
 Get star count value in bin with given grid indices.
double Interpolate (vector< double > &flux, double distmod)
 Interpolate on flux on grid.
double Bin (vector< double > &fmin, vector< double > &fmax, double distmod)
 Sum over bins beteen flux boundaries.
Grid properties
vector< int > get_color (int n)
 Get color flags by entry.
vector< ivector > get_colors (void)
 Get all color flags.
int get_ncolors (void)
 Get number of colors.
vector< double > MinMag ()
 Min flux.
vector< double > MaxMag ()
 Max flux.
vector< double > ColorDelta ()
 Bin widths.
vector< int > NumBins ()
 Bin counts.
double DistMod ()
 Distance modulus.
Verify data against files (for debugging)
void VerifyDouble (double distmod)
void VerifyInt ()

Static Public Attributes

static bool verbose
 Turn on debugging info (don't do this . . .).
static int seed
 Random seed.

Friends

class boost::serialization::access


Detailed Description

Binned CMD model in absolute magnitudes with user supplied offset (e.g.

so that one can use a cluster or LMC color-magnitude diagram Reads binned isochrone in near-infrared K band and 2 colors


The documentation for this class was generated from the following file:
  • /home/weinberg/src/BIE/PopModel/CMD.h

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