=================================================================
Please notice: This is not the latest version of FREmu, to get the latest one, please contact me through e-mail: [email protected]. The new version of FREmu can be extended to large scales, which is critical for real data analyses.
=================================================================
You can install
pip install fremu
from fremu import fremu
# Initialize the emulator
emu = fremu.emulator()
# Set cosmological parameters
emu.set_cosmo(Om=0.3, Ob=0.05, h=0.7, ns=1.0, sigma8=0.8, mnu=0.05, fR0=-1e-5)
# Get power spectrum
k_values = emu.get_k_values()
power_spectrum = emu.get_power_spectrum(k=k_values, z=0.5)
# Get boost factor
boost_factor = emu.get_boost(k=k_values, z=0.5)
You can find the documentation of the emulator here: FREmu documentation.
If you find any issues or have any suggestions for improvement, feel free to submit an issue or pull request on GitHub.