Skip to content

licongxu/hmfast

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

186 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hmfast

Machine learning accelerated and differentiable halo model code

Authors: Patrick Janulewicz, Licong Xu, Boris Bolliet

Installation

pip install "git+https://github.com/licongxu/hmfast.git"

Quick Start

import hmfast

cosmo = hmfast.Cosmology(
    Omega_c=0.25, 
    Omega_b=0.05, 
    h=0.67, 
    sigma8=0.8, 
    n_s=0.96
)
print(cosmo)

Features

  • JAX-based differentiable halo model
  • ML emulators for fast predictions
  • Comprehensive cosmology and tracers support
  • Gradient-based inference ready

See examples/ or docs for more.

License

Apache-2.0

About

machine learning accelerated and differentiable halo model code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%