Skip to main content


Project description


treegp is a python gaussian process code that perform 1D and 2D interpolation.

treegp have some specific features compared to other gaussian processes available code:

  • Hyperparameters estimation will scale in O(N) with the the 2-points correlation function estimation compared to O(N^3) with the classical maximum likelihood.

  • Gaussian process interpolation can be performed around a mean function

  • Tools are given to compute the mean function (meanify)

treegp was originally developed for Point Spread Function interpolation within Piff. There is a specific article that describes the math used in treegp in the context of modelling astrometric shifts of the Subaru Telescope due to atmospheric turbulences. This article can be found here.


The easiest way to install is usually:

pip install treegp

which will install the latest released version.

If you would instead like to install the development version, you can do so via:

git clone
cd treegp/
python install


treegp has for now the following dependencies (see the quick installs below):


treegp is regularly tested on Python 2.7, 3.6, 3.7, and 3.8. It may work in other versions of Python (e.g. pypy), but these are not currently supported.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

treegp-0.6.0.tar.gz (17.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page