Skip to main content

DESC_BPZ:

This repo contains a python3 port of the popular BPZ software package (https://www.stsci.edu/~dcoe/BPZ/). The code was modified from the original bpz-1.99.3 version available at the given URL, upgraded to be python3 compatible, and modified to read and write hdf5 files rather than straight ascii. The code is messy in many places, having gone through multiple iterations by multiple authors. No promises are made as to functionality of multiple subsystems (e.g. plotting), so use with caution!

If you use this code, please cite Benitez (2000) and Coe et al. (2006).

In order to run, you should set the environment variable

BPZDATAPATH to point to the directory housing the SED, FILTER, and AB files. Default SED and FILTER files are available in the src/desc_bpz/data_files/FILTER and src/desc_bpz/data_files/SED directories

To run traditional command-line BPZ use the bpz.py file in src/desc_bpz/scripts, e.g.:

python src/desc_bpz/scripts/bpz.py yourasciicatalog.cat -P yourparameterfile.pars

Dan Coe's STScI webpage (listed above) contains a nice BPZ user guide, for more detail on running the code, please check that website.

However, this package will mainly be used as a library for running "bpz_lite" in the DESC PZ RAIL Package, see:

https://github.com/LSSTDESC/RAIL

Metadata

Release files for desc-bpz 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for desc-bpz 0.4.0
File Size Uploaded Provenance
desc_bpz-0.4.0.tar.gz 717.1 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for desc-bpz 0.4.0
File Interpreter ABI Platform
desc_bpz-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.2 MB

Release files / desc_bpz-0.4.0.tar.gz

Download URL desc_bpz-0.4.0.tar.gz
Size 717.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2ab965f7ea47581b9d358e5b7d41df0a6226a4fd6e2a5d3b7be7fccc2206b310
BLAKE2b-256 checksum
How to use checksums
1ec11256eb193b4541d273a828e486b81982584b13a0270b6ca0b5165e747c2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.

Transparency log

Release files / desc_bpz-0.4.0-py3-none-any.whl

Download URL desc_bpz-0.4.0-py3-none-any.whl
Size 484.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24b54d0a56a4117515aa12c885084516a6df967600974b31cd93ed5af4cc8d24
BLAKE2b-256 checksum
How to use checksums
4afe397f8ffa76dddc44db6117a0ea689a705f2aa404ce12fbfcf541f4521735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.

Transparency log

Security for desc-bpz 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for desc_bpz-0.4.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 10, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page