Software and Installation:
This project requires python installed with up-to-date versions of numpy, scipy and matplotlib (see this page). The GaussianProcess module then needs to be downloaded and installed as follows:
Download the module here and install by unpacking, going into the GaussianProcesses-1.0 directory and installing using distutils: $ tar -xzvf GaussianProcesses-1.0.tar.gz
$ cd GaussianProcesses-1.0
$ python setup.py build $ python setup.py install --prefix=<INSTALL_DIR>
where <INSTALL_DIR>
is your root directory for python modules (leaving out the --prefix
option installs to your default python install path). The path to GaussianProcesses must then be on your PYTHONPATH
environment variable. For those new to python, this is set by
$ setenv PYTHONPATH <PATH_TO_MODULE>
$ export PYTHONPATH=<PATH_TO_MODULE>
for tcsh and bash, respectively, or if PYTHONPATH
already exists:
$ setenv PYTHONPATH ${PYTHONPATH}:<PATH_TO_MODULE>
$ export PYTHONPATH=${PYTHONPATH}:<PATH_TO_MODULE>
Note <PATH_TO_MODULE>
is (usally) <INSTALL_DIR>/lib/python2.6/site-packages/
You should now be ready to run some of the GaussianProcesses examples. Go into the examples directory and try a few to check everything is installed properly
You may first need to make the examples executable; ie
$ cd examples
$ ./GPClassEg_1.py $ chmod u+x *.py
, and maybe change the shebang line #!/usr/bin/python
to point to your version of python (found by $ which python
). Note the light curve test examples will not work unless MyFunctions and/or MyMCMC modules are installed too. These are (most likely) not required for the project, but contain light curve functions and MCMC code to marginalise over GP mean function parameters and hyperparameters. These are written in C and are a little trickier to install, but may be useful for further work. These are available at MyFunctions and MyMCMC. Installation instructions are in the distributions, and we can help with the installation during the project if necessary.
-- NealeGibson - 08 Mar 2012
I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|
EAHS_GP_project_instructions.pdf | manage | 51 K | 13 Mar 2012 - 14:19 | NealeGibson | Project instructions | |
dat | HD189733_flux.dat | manage | 5 K | 13 Mar 2012 - 14:05 | NealeGibson | HD 189733 photometric data |
philTransA_2012.pdf | manage | 1 MB | 13 Mar 2012 - 14:22 | NealeGibson | RS paper |