Commit c643a0fb authored by Médéric Boquien's avatar Médéric Boquien
Browse files

Kroupa IMF rather than Chrabrier for m2005

parent 83e13558
......@@ -43,7 +43,7 @@ class M2005(CreationModule):
parameter_list = OrderedDict([
('imf', (
'int',
"Initial mass function: 0 (Salpeter) or 1 (Chabrier)",
"Initial mass function: 0 (Salpeter) or 1 (Kroupa)",
None
)),
('metallicity', (
......@@ -105,7 +105,7 @@ class M2005(CreationModule):
if self.parameters["imf"] == 0:
imf = 'salp'
elif self.parameters["imf"] == 1:
imf = 'chab'
imf = 'krou'
metallicity = float(self.parameters["metallicity"])
with Database() as database:
self.ssp = database.get_m2005(imf, metallicity)
......
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