Skip to main content

treegp

Project description

https://github.com/PFLeget/treegp/actions/workflows/test_treegp.yaml/badge.svg https://codecov.io/gh/PFLeget/treegp/branch/master/graph/badge.svg https://readthedocs.org/projects/treegp/badge/?version=latest https://img.shields.io/badge/astro--ph.IM-2103.09881-red https://img.shields.io/badge/DOI-10.1051%2F0004--6361%2F202140463-blue.svg

Overview

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

treegp has some special features compared to other available Gaussian Processes codes:

  • Hyperparameters estimation will scale in O(N log(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

  • A tool is provided 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.

Installation

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 https://github.com/PFLeget/treegp.git
cd treegp/
python setup.py install

Dependencies

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

Python

treegp is regularly tested on Python 3.8, 3.9, 3.10, and 3.11. 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-1.2.0.tar.gz (24.5 kB view details)

Uploaded Source

File details

Details for the file treegp-1.2.0.tar.gz.

File metadata

  • Download URL: treegp-1.2.0.tar.gz
  • Upload date:
  • Size: 24.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for treegp-1.2.0.tar.gz
Algorithm Hash digest
SHA256 c455b5056a131e46f7e160c3b31ad8471a3fd64abdc73e6fe530c7bdd92ecfad
MD5 4ff60d2c057896b56be556495dd478f6
BLAKE2b-256 fd6d333f8da3101e80407b8134d1138e17c638eb55dac20174cc4db734f6f038

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page