Installation¶
Quick Start¶
- Set up your environment – Create a fresh conda/mamba environment using the cloe-org-environments repository. Then, clone
cloelib:
- Check out the latest release (optional but recommended):
- Install cloelib – Get the core library up and running:
- Add optional dependencies – Enhance with external codes and tools:
pip install .[camb,classy,hmcode2020emu,comet-emu,pbjcosmo,pylevin,mpmath,tensorflow,pyinstrument,react]
Note: Some shells require quoting the argument when brackets are present:
The installation is now complete.
Optional Dependencies¶
Several optional dependencies enhance cloelib capabilities:
pyinstrument– Time profiling for performance optimizationpylevin,mpmath– Required for specific observational probes (e.g., COSEBIs)tensorflow– Needed for certain emulator backends (e.g.,HMCode2020emu)react– InstallsMGEmuplus the TensorFlow support needed by the ReACT modified-gravity boost module
These are not included in the default installation but can be added as shown above as other external cosmological codes.