Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cigale
CIGALE
Commits
48ce09d3
Commit
48ce09d3
authored
Sep 20, 2016
by
Médéric Boquien
Browse files
Improve the comments so they are more precise and accurate.
parent
27fb48f0
Changes
2
Hide whitespace changes
Inline
Side-by-side
pcigale/data/bc03.py
View file @
48ce09d3
...
...
@@ -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
...
...
pcigale/data/m2005.py
View file @
48ce09d3
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment