Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tmcclintock/emulation
- Owner: tmcclintock
- Created: 2016-03-30T23:45:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-01T06:18:40.000Z (over 7 years ago)
- Last Synced: 2024-10-27T11:09:00.438Z (2 months ago)
- Language: Python
- Size: 824 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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)