Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

consider adopting the fiducial DESI cosmology #88

Closed
moustakas opened this issue Oct 23, 2022 · 2 comments
Closed

consider adopting the fiducial DESI cosmology #88

moustakas opened this issue Oct 23, 2022 · 2 comments

Comments

@moustakas
Copy link
Member

fastphot currently uses a vanilla LCDM cosmology with h=0.7 to compute luminosity distances. Consider adopting the fiducial DESI cosmology to make it easier to map between data and mocks--
https://desi.lbl.gov/trac/wiki/keyprojects#Fiducialcosmology

@moustakas
Copy link
Member Author

Per a suggestion from @ashleyjross, one option would be to move LSS.tabulated_cosmo.TabulatedDESI into fastspecfit (as well as https://github.com/desihub/LSS/blob/main/py/LSS/data/desi_fiducial_cosmology.dat) and then do something like

cosmo = TabulatedDESI()
dis_dc = cosmo.comoving_radial_distance
def dl(z):   # Luminosity distance from now to z
    return dis_dc(z)*(1.+z)

@moustakas
Copy link
Member Author

Done in #96.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant