Use astropy.cosmology to compute luminosity distance
Make the cosmology changeable by importing the desired cosmology in pcigale.sed.cosmology. If one day the users need to change the cosmology more easily, make it a configuration parameter of pcigale.
pcigale/sed/cosmology.py
0 → 100644
Please register or sign in to comment