Skip to content

dylancromer/ostrich

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ostrich

Ostrich is a library for performing emulation, also called surrogate modeling, using PCA and Gaussian process interpolation. Ostrich was used in Cromer et al, 2022 to emulate a galaxy cluster weak-lensing model, and its methodology is described there. It is based on an algorithm used in Heitmann et al, 2009 to emulate the power spectrum from cosmological simulations.

The basic premise that you have a function which is expensive to computer, so you want to create an emulator or surrogate which is trained on samples from this expensive function, and can then quickly recreate and interpolate between those samples accurately, with far less computational cost.

Installation

For now, I recommend installing using pip: run

pip install --user -e .

inside the base directory. To install dependencies, run

pip install --user -r requirements.txt

Usage

Currently there are Jupyter notebooks demoing usage in the ipython directory of the repository. In the future these will be updated and additional documentation will be created.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published