glass-dev / glass

Generator for Large Scale Structure
https://glass.readthedocs.io
MIT License
31 stars 7 forks source link

use cosmology API instead of deprecated cosmology package #124

Open ntessore opened 1 year ago

ntessore commented 1 year ago

Switch to use the cosmology API instead of the old, deprecated cosmology package.

There is a work-in-progress CAMB wrapper, which needs to be checked for feature-completeness against all uses of cosmo in GLASS. I don't think we use anything that's not covered by the cosmology API currently (growth functions, power spectra).

Since the cosmology API functions have no dimensionless equivalent to the cosmology package, there is probably some amount of testing needed in e.g. the lensing module.

cc @nstarman

nstarman commented 1 year ago

How can I help?

ntessore commented 1 year ago

How can I help?

I think this really only needs some time to sit down and make the changes -- I just wanted to keep you in the loop on this issue.

(And it will probably take longer to write the docs on the cosmology object than to make code changes, there's surprisingly little cosmology use in our library.)