Closed petercamps closed 4 years ago
With commit #23 we added support for two workflows related to FSPS-generated SED families:
The SKIRT FSPSSEDFamily
class offers built-in FSPS SED families generated using the default MIST isochrones and the default MILES spectral libraries, excluding dust attenuation and emission as well as nebular emission, for each of the Salpeter, Chabrier and Kroupa IMFs. If one of these built-in SED families suits your use case, you don't need workflow 2.
Users who need one or more FSPS SED families generated with other settings than the built-in families can use the SKIRT FileSSPSEDFamily
class, as follows:
FileSSPSEDFamily
instance in the SKIRT parameter file with the appropriate file name or pathThis should address the needs described in this issue.
Forgot to mention: after pulling the new code and building, you also need to perform the `downloadResources.sh' shell script to download the extra built-in resources.
Description Support SED families based on custom SED templates generated by the user through the stellar population synthesis code FSPS.
Context SKIRT 8 included support for a particular FSPS SED family. This feature was not carried forward to SKIRT 9 because it seemed fairly specific to a particular research project. The goal here is to find a more generic mechanism that supports any custom-generated FSPS SED family.