1. 17 Sep, 2013 2 commits
    • Yannick Roehlly's avatar
      Postfix the key instead of prefixing · a78bf8c3
      Yannick Roehlly authored
      Instead of prefixing the key in the SED with the module name, we postfix
      them with the same postfix as the module name if any. This makes easier
      to inter-change modules adding the same information (for instance
      attenuation modules adding the attenuation value).
      That implies that when using several modules adding the same
      information, one must postfix the name of each.
    • Yannick Roehlly's avatar
      Use ordered dictionaries for parameters · 4fcb6311
      Yannick Roehlly authored
      So that the configuration files and the serialized data have a logical
  2. 16 Sep, 2013 2 commits
  3. 26 Aug, 2013 1 commit
  4. 08 Jul, 2013 1 commit
  5. 28 Jun, 2013 2 commits
    • Yannick Roehlly's avatar
      Get rid of process / _process separation · c13de4ed
      Yannick Roehlly authored
      The process method was used to complete and check the parameter
      dictionary before launching the _process one defined in each module. Now
      that the parameters are dealed with at instantiation, this separation is
      no more useful.
      Also, modify the attenuation modules to read the filter in the database
      at instantiation.
    • Yannick Roehlly's avatar
      Initialise module parameters at instantiation · 1be38e55
      Yannick Roehlly authored
      In order to speed-up module re-use, get the module needs (ssp,
      filters...) out of pcigale database at module instantiation instead of
      doing this everytime "process" is called.
      To do that:
      - we must give the module parameters (and proceed with their checking)
        module instantiation.
      - we must add the possibility for each module to have its own
        initialisation code.
      In addition, to create the configuration file, we must be able to load
      the modules without any parameter to query them for their parameter
      The bc03, dh2002 and m2005 modules were changed to use this new
  6. 03 Apr, 2013 1 commit
  7. 06 Feb, 2013 3 commits
  8. 16 Dec, 2012 1 commit
  9. 15 Dec, 2012 1 commit
    • Yannick Roehlly's avatar
      Allow multiple module use and change the way information are stored in the SED · 5921476d
      Yannick Roehlly authored
      The modules can now be named with any prefix using a dot (e.g.
      dh2002_ir.1). That means that a 'pristine' module can't have a dot in
      it's name.
      The add_component SED method was removed. To add components to a sed,
      add_info, add_module (NEW) and add_contribution (NEW) must be used.
      The modules now add more information in the sed info dictionary, even
      the parametres that can be used for the statistical analysis. In
      particular, mh2005_sfh add the SFR and the average SFR.
      The sfr variable was renamed to sfh.
  10. 25 Nov, 2012 3 commits