Used in "Full-shape analysis with simulation-based priors: constraints on single field inflation from BOSS" by Ivanov, Cuesta-Lazaro, Mishra-Sharma, Obuljen, and Toomey.
Install from requirements.txt
or simply do
pip install torch numpy tqdm corner matplotlib nflows scipy
Train density estimators in notebooks/01_eft_fit.py
, sampling from priors and log-density calculation in notebooks/02_usage.py
.