Home | Trees | Indices | Help |
---|
|
module for performing calculations on Spectral Energy Distributions (SEDs)
(c) 2007-2013 Matt Hilton
This module provides classes for manipulating SEDs, in particular the Bruzual & Charlot 2003, Maraston 2005, and Percival et al 2009 stellar population synthesis models are currently supported. Functions are provided for calculating the evolution of colours and magnitudes in these models with redshift etc., and for fitting broadband photometry using these models.
|
|||
Passband This class describes a filter transmission curve. |
|||
TopHatPassband This class generates a passband with a top hat response between the given wavelengths. |
|||
SED This class describes a Spectral Energy Distribution (SED). |
|||
VegaSED This class stores the SED of Vega, used for calculation of magnitudes on the Vega system. |
|||
StellarPopulation 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. |
|||
M05Model This class describes a Maraston 2005 stellar population model. |
|||
BC03Model This class describes a Bruzual & Charlot 2003 stellar population model, extracted from a GALAXEV .ised file using the galaxevpl program that is included in GALAXEV. |
|||
P09Model This class describes a Percival et al 2009 (BaSTI; http://albione.oa-teramo.inaf.it) stellar population model. |
|
|||
list |
|
||
dictionary |
|
||
dictionary |
|
||
list |
|
||
list |
|
||
float |
|
||
float |
|
|
|||
SED object |
VEGA = VegaSED() The SED of Vega, used for calculation of magnitudes on the Vega system. |
||
SED object |
AB = SED(wavelength= numpy.logspace(1, 8, 1e5), flux= numpy.on Flat spectrum SED, used for calculation of magnitudes on the AB system. |
||
SED object |
SOL = SED() The SED of the Sun. |
|
This routine makes a list of SEDDict dictionaries (see mags2SEDDict) for fitting using fitSEDDict. This speeds up the fitting as this allows us to calculate model SED magnitudes only once, if all objects to be fitted are at the same redshift. We add some meta data to the modelSEDDicts (e.g. the model file names). The effect of extinction by dust (assuming the Calzetti et al. 2000 law) can be included by giving a list of E(B-V) values. If forceYoungerThanUniverse == True, ages which are older than the universe at the given z will not be included.
|
Fits the given SED dictionary (made using mags2SEDDict) with the given list of model SED dictionaries. The latter should be made using makeModelSEDDictList, and entries for fluxes should correspond directly between the model and SEDDict. Returns a dictionary with best fit values.
|
Takes a set of corresponding AB magnitudes, uncertainties, and passbands, and returns a dictionary with keys 'flux', 'fluxErr' 'wavelength'. Fluxes are in units of erg/s/cm^2/Angstrom, wavelength in Angstroms. These dictionaries are the staple diet of the fitSEDDict routine.
|
Converts given AB magnitude and uncertainty into flux, in erg/s/cm^2/Angstrom. |
Converts given flux and uncertainty in erg/s/cm^2/Angstrom into AB magnitudes. |
Converts an AB magnitude into flux density in Jy
|
Converts flux density in Jy into AB magnitude
|
|
ABFlat spectrum SED, used for calculation of magnitudes on the AB system.
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Jul 5 14:41:35 2017 | http://epydoc.sourceforge.net |