Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tmcclintock/emulation

This contains the kriging code. It is written as an object, so it can easily be added into a program of your own. An example of how to use it is in the unit test.
https://github.com/tmcclintock/emulation

Last synced: 20 days ago
JSON representation

This contains the kriging code. It is written as an object, so it can easily be added into a program of your own. An example of how to use it is in the unit test.

Awesome Lists containing this project

README

        

Emulation
=========
This is a pure python imlpementation of basic Gaussian-Process
(aka kriging) code. In the cosmology community it is known as
an emulator, hence the name. This only implements the
squared-exponential kernel, so it is less flexible than
george. On the other hand it's dependencies are much less
restrictive than george which can only be easily run on
a Mac or Linux machine.

Installation
------------
To install write
```
python setup.py install
```
if you care about keeping the root directory clean then do
```
python setup.py clean
```

Usage
-----
Examples of how to use this code can be found
in the **examples/** directory. From the **cosine_example.py**
example you should get

![alt text](https://github.com/tmcclintock/Emulation/blob/master/figures/cosine_example.png)

while for the **reaction_rate_example.py** you should get

![alt text](https://github.com/tmcclintock/Emulation/blob/master/figures/reaction_rate.png)

You can emulate in multiple dimensions as well

![alt text](https://github.com/tmcclintock/Emulation/blob/master/figures/2d_example.png)