From 1f29cc0eeb6b1b81aad7840664270c87ae3505c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9d=C3=A9ric=20Boquien?= Date: Mon, 22 Oct 2018 14:37:15 -0300 Subject: [PATCH] Give more detail in the list of modules in pcigale.ini. --- CHANGELOG.md | 1 + pcigale/session/configuration.py | 48 ++++++++++++++++++++++++-------- 2 files changed, 37 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f90f7b6c..b529715e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ ### Changed - The `sfhdelayed` module has been extended to optionally include an exponential burst to model the latest episode of star formation. (Médéric Boquien & Barbara Lo Faro) - On Linux platforms the method to start the parallel processes has been changed from "spawn" to "fork". This allows for a much faster startup. On other platforms is remains unchanged as Windows does not support "fork" and MacOS is bugged when using "fork", resulting in a free of cigale. (Médéric Boquien) +- The list of modules has been made more explicit in the `pcigale.ini` file. (Médéric Boquien) ### Fixed - The histogram bin width was not computed optimally when some models were invalid. (David Corre & Médéric Boquien) diff --git a/pcigale/session/configuration.py b/pcigale/session/configuration.py index 1e26d193..a95ecb1d 100644 --- a/pcigale/session/configuration.py +++ b/pcigale/session/configuration.py @@ -93,18 +93,42 @@ class Configuration(object): self.config['sed_modules'] = [] self.config.comments['sed_modules'] = ([""] + - ["Order of the modules use for SED creation. Available modules:"] + - ["SFH: sfh2exp, sfhdelayed, sfhdelayedbq, sfhfromfile, " - "sfhperiodic"] + - ["SSP: bc03, m2005"] + - ["Nebular emission: nebular"] + - ["Dust attenuation: dustatt_calzleit, dustatt_powerlaw, " - "dustatt_2powerlaws"] + - ["Dust emission: casey2012, dale2014, dl2007, dl2014, themis"] + - ["AGN: dale2014, fritz2006"] + - ["Radio: radio"] + - ["Restframe parameters: restframe_parameters"] + - ["Redshift: redshifting (mandatory!)"]) + ["Avaiable modules to compute the models. The order must be kept." + ] + + ["SFH:"] + + ["* sfh2exp (double exponential)"] + + ["* sfhdelayed (delayed SFH with optional exponential burst)"] + + ["* sfhdelayedbq (delayed SFH with optional constant burst/quench)" + ] + + ["* sfhfromfile (abitrary SFH read from an input file)"] + + ["* sfhperiodic (periodic SFH, exponential, rectangle or delayed" + ")"] + + ["SSP:"] + + ["* bc03 (Bruzual and Charlot 2003)"] + + ["* m2005 (Maraston 2005)"] + + ["Nebular emission:"] + + ["* nebular (continuum and line nebular emission)"] + + ["Dust attenuation:"] + + ["* dustatt_modified_CF00 (modified Charlot & Fall 2000 " + "attenuation law)"] + + ["* dustatt_modified_starburst (modified starburst attenuaton law)" + ] + + ["Dust emission:"] + + ["* casey2012 (Casey 2012 dust emission models)"] + + ["* dale2014 (Dale et al. 2014 dust emission templates)"] + + ["* dl2007 (Draine & Li 2007 dust emission models)"] + + ["* dl2014 (Draine et al. 2014 update of the previous models)"] + + ["* themis (Themis dust emission models from Jones et al. 2017)"] + + ["AGN:"] + + ["* fritz2006 (AGN models from Fritz et al. 2006)"] + + ["Radio:"] + + ["* radio (synchrotron emission)"] + + ["Restframe parameters:"] + + ["* restframe_parameters (UV slope, IRX-beta, D4000, EW, etc.)"] + + ["Redshift+IGM:"] + + ["* redshifting (mandatory, also includes the IGM from Meiksin " + "2006)"] + ) self.spec['sed_modules'] = "cigale_string_list()" self.config['analysis_method'] = "" -- GitLab