Python3 version of BPZ used in DESC
Project description
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:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file desc_bpz-0.3.3.tar.gz.
File metadata
- Download URL: desc_bpz-0.3.3.tar.gz
- Upload date:
- Size: 716.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40ed4f200a6bf2107ca52a4b0441339274034ad8f3351a3b8dbf44ad09637ca1
|
|
| MD5 |
e368cb469d86f26d770114b1c6af6204
|
|
| BLAKE2b-256 |
82b515ecd752dd1f7173b63e642923efdae403710b43f5ee57e62c62450065df
|
Provenance
The following attestation bundles were made for desc_bpz-0.3.3.tar.gz:
Publisher:
publish-to-pypi.yml on LSSTDESC/DESC_BPZ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
desc_bpz-0.3.3.tar.gz -
Subject digest:
40ed4f200a6bf2107ca52a4b0441339274034ad8f3351a3b8dbf44ad09637ca1 - Sigstore transparency entry: 1118346526
- Sigstore integration time:
-
Permalink:
LSSTDESC/DESC_BPZ@14812c57af14ec42d862b47a5f404832959b6480 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/LSSTDESC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@14812c57af14ec42d862b47a5f404832959b6480 -
Trigger Event:
release
-
Statement type:
File details
Details for the file desc_bpz-0.3.3-py3-none-any.whl.
File metadata
- Download URL: desc_bpz-0.3.3-py3-none-any.whl
- Upload date:
- Size: 483.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
086cc7ee040591e358b574301e35e661adb0ac5a45651b0fb72644815af5e113
|
|
| MD5 |
c7771e451a0699bea2cd4c7a4e2c9198
|
|
| BLAKE2b-256 |
31bc477d1dfc8cf1d043ee672767398dc3fdcad1792a1840aed873ebd56be8a4
|
Provenance
The following attestation bundles were made for desc_bpz-0.3.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on LSSTDESC/DESC_BPZ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
desc_bpz-0.3.3-py3-none-any.whl -
Subject digest:
086cc7ee040591e358b574301e35e661adb0ac5a45651b0fb72644815af5e113 - Sigstore transparency entry: 1118346566
- Sigstore integration time:
-
Permalink:
LSSTDESC/DESC_BPZ@14812c57af14ec42d862b47a5f404832959b6480 -
Branch / Tag:
refs/tags/v0.3.3 - Owner: https://github.com/LSSTDESC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@14812c57af14ec42d862b47a5f404832959b6480 -
Trigger Event:
release
-
Statement type: