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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qp_prob-1.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 a68a3a3785d3ca57a2246c0524398338b7b7dffef0aef0722c231c64dde30107
MD5 c40d131807e6f6014a5a596855fbd7d3
BLAKE2b-256 b065c54639ac63667800ee00d74c8851bd104ccaefcae95138073d6e77832d17

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: qp_prob-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 112.9 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e68d193ba0a4eb0a92f9b4861b9defc59194712865fa90e06db57196f8227e30
MD5 ea874417b2e876e8e3696df831e225b8
BLAKE2b-256 1c9f6df94f6a8fc6af157b2479c7ea0f1ef86d06e8ce7f6cba09bfbb004d5de7

See more details on using hashes here.

Provenance

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