diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e93c18c7fcdec694dfaa765b391438c5691ec38..6b507025954e3655b0d741eea7a7d54abc24dbc5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ # Unreleased ### Added +- Enable the possibility of having different normalisation factors for the star formation history. (Médéric Boquien) + ### Changed - The way to indicate the fluxes in the input table has changed because there was bugs in the way upper limits were handled. Here are the new rules: diff --git a/pcigale/sed_modules/sfh2exp.py b/pcigale/sed_modules/sfh2exp.py index d51687796f4b8d003b5dfa3e909baedee45898a7..502440b957b3d4886198ca61baa0e3b199f342ed 100644 --- a/pcigale/sed_modules/sfh2exp.py +++ b/pcigale/sed_modules/sfh2exp.py @@ -55,7 +55,7 @@ class Sfh2Exp(SedModule): 20 )), ("sfr_0", ( - "float(min=0)", + "cigale_list(minvalue=0.)", "Value of SFR at t = 0 in M_sun/yr.", 1. )), diff --git a/pcigale/sed_modules/sfhdelayed.py b/pcigale/sed_modules/sfhdelayed.py index 2f51629b37c3c78c292c550a34a1b889a895cc3f..b1a0557eb65dedae34f5e2cbd5435e3118e1cde3 100644 --- a/pcigale/sed_modules/sfhdelayed.py +++ b/pcigale/sed_modules/sfhdelayed.py @@ -41,7 +41,7 @@ class SFHDelayed(SedModule): 5000 )), ("sfr_A", ( - "float(min=0.)", + "cigale_list(minvalue=0.)", "Multiplicative factor controlling the amplitude of SFR.", 1. )), diff --git a/pcigale/sed_modules/sfhperiodic.py b/pcigale/sed_modules/sfhperiodic.py index ba323abe38cbe7dd90ce0f15700391f2ee270863..385a74da161b21c7250812a93c29c57c65a3413a 100644 --- a/pcigale/sed_modules/sfhperiodic.py +++ b/pcigale/sed_modules/sfhperiodic.py @@ -55,7 +55,7 @@ class SfhPeriodic(SedModule): 1000 )), ("sfr_A", ( - "float(min=0.)", + "cigale_list(minvalue=0.)", "Multiplicative factor controlling the amplitude of SFR (valid " "for each event).", 1.