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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qp_prob-1.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7d0a931f000212fd5ca5a18b0191aaac7ab2eccb3c6819a43470e9e9c4bd0f4b
MD5 d002d70c291ea5cb1d70af8ef4ef529a
BLAKE2b-256 acaad8a3a2a175d307ad27a9cfcaf5456233fd8c0d4aad113d5398a1297134b2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: qp_prob-1.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ed1c366d8052eb364303fd53ee2a5d92bd512205f31364123ec0330c44eee99e
MD5 73477dc7153bcd97628ef72b07b42d8c
BLAKE2b-256 a78c1886f6b2335611fa7341c3797320664b24bdd2b7e6e5050814050464f928

See more details on using hashes here.

Provenance

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