Skip to main content

No project description provided

Project description

qp

GitHub release (latest SemVer) GitHub Workflow Status Read the Docs

qp is a python library for the storage and manipulation of tables of probability distributions.

Features

  • Read and write tables of probability distributions to/from file
  • Parameterize probability distributions inferred from real data
  • Convert between different methods of parameterizing probability distributions
  • Perform statistical methods on many distributions at a time

Links

Installation

For a basic install of qp:

git clone https://github.com/LSSTDESC/qp.git
cd qp
pip install .

To install the developer environment:

# Clone the repo and enter it
git clone https://github.com/LSSTDESC/qp.git
cd qp

# Creating the environment from the YAML
conda env create -n qp_dev -f environment.yml

# Activate the environment
conda activate qp_dev

# Install qp in editable mode with dev dependencies
pip install -e '.[dev]'

For more details see the installation instructions on Read the Docs.

Building the documentation locally

To build the documentation locally, start by making sure that you have the appropriate documentation packages installed:

pip install -e '.[docs]'

Once you have the appropriate packages, run the following lines of code to make the documentation:

cd docs/
make html

The HTML files will be generated in the _build/ folder inside the docs/ folder.

People

See the contributors page for an up-to-date list of the major contributors. Some of the main contributors are listed here:

Citation

If you end up using any of the code or ideas you find here in your academic research, please cite our paper: A. I. Malz et al 2018 AJ 156 35 (ADS - BibTex).

Contribution

If you are interested in this project, please write us an issue. Before contributing to the qp project, take a look at the Contribution Guidelines.

License

The code in this repo is available for re-use under the MIT license (see the license file).

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

qp_prob-1.1.2.tar.gz (2.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

qp_prob-1.1.2-py3-none-any.whl (110.7 kB view details)

Uploaded Python 3

File details

Details for the file qp_prob-1.1.2.tar.gz.

File metadata

  • Download URL: qp_prob-1.1.2.tar.gz
  • Upload date:
  • Size: 2.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qp_prob-1.1.2.tar.gz
Algorithm Hash digest
SHA256 669bc4d99515810b6b9b9dd7e241c2b42c04efa8e92b697ae3291cc0b13f3a40
MD5 2f33369194565f119456174606501dc2
BLAKE2b-256 d60253631f3a089160ea797cf510dfafa1dbd57826b31123b836fb5184b20999

See more details on using hashes here.

Provenance

The following attestation bundles were made for qp_prob-1.1.2.tar.gz:

Publisher: publish-to-pypi.yml on LSSTDESC/qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file qp_prob-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: qp_prob-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 110.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for qp_prob-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a61c73965f1eec90b6995ff05c173670b71d520517ff66bd65c1e7e488473eaf
MD5 0ccb3ded0f37cb2f79f1a06f2926b210
BLAKE2b-256 94a5878c6903394946433bb453ea63abc999223a58a1e891c8a5e7a269647a07

See more details on using hashes here.

Provenance

The following attestation bundles were made for qp_prob-1.1.2-py3-none-any.whl:

Publisher: publish-to-pypi.yml on LSSTDESC/qp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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