Open garrelt opened 1 week ago
I am aware of this inconsistency. @micbia and I want to make tools21cm use astropy.cosmology for cosmological calculation. Therefore the new modules have a parameter called cosmo
to take a astropy.cosmology
object. We will make this consistent.
Tools21cm seems to define the type of cosmology in many different places. temperature.py astro_tools.py lyman_alpha_transmission.py nbody_tools.py line_intensity.py all define Planck18 as the default. It would be much better if this was defined in only one place. This makes sure that there's no unwanted inconsistencies and also makes it easier to adapt the code if the latest version of astropy is not available.