This class describes a stellar population model, either a Simple
Stellar Population (SSP) or a Composite Stellar Population (CSP), such as
the models of Bruzual & Charlot 2003 or Maraston 2005.
The constructor for this class can be used for generic SSPs or CSPs
stored in white space delimited text files, containing columns for age,
wavelength, and flux. Columns are counted from 0 ... n. Lines starting
with # are ignored.
|
__init__(self,
fileName,
ageColumn=0,
wavelengthColumn=1,
fluxColumn=2) |
source code
|
|
SED object
|
getSED(self,
ageGyr,
z=0.0,
normalise=False,
label=None)
Extract a SED for given age. |
source code
|
|
dictionary
|
getColourEvolution(self,
passband1,
passband2,
zFormation,
zStepSize=0.05,
magType="Vega")
Calculates the evolution of the colour observed through passband1 -
passband2 for the StellarPopulation with redshift, from z = 0 to z =
zFormation. |
source code
|
|
dictionary
|
getMagEvolution(self,
passband,
magNormalisation,
zNormalisation,
zFormation,
zStepSize=0.05,
onePlusZSteps=False,
magType="Vega")
Calculates the evolution with redshift (from z = 0 to z = zFormation)
of apparent magnitude in the observed frame through the passband for
the StellarPopulation, normalised to magNormalisation (apparent) at z
= zNormalisation. |
source code
|
|
float
|
calcEvolutionCorrection(self,
zFrom,
zTo,
zFormation,
passband,
magType="Vega")
Calculates the evolution correction in magnitudes in the rest frame
through the passband from redshift zFrom to redshift zTo, where the
stellarPopulation is assumed to be formed at redshift zFormation. |
source code
|
|