Source code for zeus21.wrappers

# TO BE DONE! 
# SL: for now I just move here the cosmo_wrapper from the cosmology.py, but we will need to add more wrapper functions here in the future. 

"""
Wrappers to run zeus21 modules more easily.

Authors: zeus21 v2 collaboration - June 2026
    Emily Bregou ;
    Hector Afonso G. Cruz ;
    Sarah Libanore ;
    Julian B. Muñoz ;
    Yonny Sklansky ;
    Emilie Thélie ;
    Alessandra Venditti
arXiv:2302.08506, arXiv:2306.09403, arXiv:2407.18294, Sklansky et al. (in prep)
"""

from .inputs import Cosmo_Parameters
from .cosmology import HMF_interpolator

[docs] def cosmo_wrapper(User_Parameters): """ Wrapper function for all the cosmology. It takes Cosmo_Parameters_Input and returns: Cosmo_Parameters, Class_Cosmo, Correlations, HMF_interpolator """ CosmoParams = Cosmo_Parameters(User_Parameters) HMFintclass = HMF_interpolator(User_Parameters,CosmoParams) return CosmoParams, HMFintclass