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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qp_prob-1.0.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.7

File hashes

Hashes for qp_prob-1.0.2.tar.gz
Algorithm Hash digest
SHA256 15e09b258504fe1bab99d25f446a6d8a4896dc44ee34c6b209b9e87d1c34bf6a
MD5 c7442d9ced9d1c7b6e1c6b31b2db437e
BLAKE2b-256 1ec8e2189624b4e9f4dc603df5a234ddd48496ddf3225d9796844136acd009ec

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for qp_prob-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eff423887ab06f61a1e111eb7cde4112aebcd1479b69e50b5a1983ef3f89538e
MD5 024a27de18ea2c493d0157ce2c3cc0d0
BLAKE2b-256 330ee89e6cd9eb8a2c2416ccc71b287453576a580b0cee12b1cb7ee4bf5da39f

See more details on using hashes here.

Provenance

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