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.0.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.0-py3-none-any.whl (109.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qp_prob-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 8cedcc8b01c1f4fe8b0747786faa7e470e3d1a026e67a4d354db2f0235a8c250
MD5 4e7ba0c91c708feb3e5bb18a77514247
BLAKE2b-256 340b4ba5169a2ea5e4c7794d2218fb762c1d6169fb7b8c4316f85d927778f4ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for qp_prob-1.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: qp_prob-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 109.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0d3fa4ffc479193e85221b3d85e8ed2bd77c55496aeaa1badc4044a8ce1d6b2
MD5 6a1d8ae3b68fcab838499ee583473b7e
BLAKE2b-256 b2abdd4673d7845dd5ce65bade8d9769d02da04e868bff296ec0633124ec00ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for qp_prob-1.1.0-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