Commit 48ce09d3 authored by Médéric Boquien's avatar Médéric Boquien

Improve the comments so they are more precise and accurate.

parent 27fb48f0
......@@ -81,13 +81,18 @@ class BC03(object):
Returns
-------
spec: array of floats
Spectrum in [W/nm].
info: dictionary
Dictionary containing various information from the *.?color tables:
spec_young: array of floats
Spectrum in W/nm of the young stellar populations.
spec_old: array of floats
Same as spec_young but for the old stellar populations.
info_young: dictionary
Dictionary containing various information from the *.?color tables
for the young stellar populations:
* "m_star": Total mass in stars in Msun
* "m_gas": Mass returned to the ISM by evolved stars in Msun
* "n_ly": rate of H-ionizing photons (s-1)
info_old : dictionary
Same as info_young but for the old stellar populations.
"""
# We cut the SSP to the maximum age considered to simplify the
......
......@@ -76,15 +76,19 @@ class M2005(object):
Returns
-------
spec: array of floats
Spectrum in [W/nm].
info: array of floats containing:
* info[0]: total stellar mass
* info[1]: alive stellar mass
* info[2]: white dwarf stars mass
* info[3]: neutron stars mass
* info[4]: black holes mass
* info[5]: turn-off mass
spec_young: array of floats
Spectrum in W/nm of the young stellar populations.
spec_old: array of floats
Same as spec_young but for the old stellar populations.
info_young: array of floats
Contains the info for the young stellar populations:
* 0: total stellar mass
* 1: alive stellar mass
* 2: white dwarf stars mass
* 3: neutron stars mass
* 4: black holes mass
info_old: array of floats
Same as info_young but for the old stellar populations.
"""
# We cut the SSP to the maximum age considered to simplify the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment