Bayesian Light Source Separator (BLISS)
Introduction
BLISS is a Bayesian method for deblending and cataloging light sources. BLISS provides
- Accurate estimation of parameters in blended field.
- Calibrated uncertainties through fitting an approximate Bayesian posterior.
- Scalability of Bayesian inference to entire astronomical surveys.
BLISS uses state-of-the-art variational inference techniques including
- Amortized inference, in which a neural network maps telescope images to an approximate Bayesian posterior on parameters of interest.
- Variational auto-encoders (VAEs) to fit a flexible model for galaxy morphology and deblend galaxies.
- Wake-sleep algorithm to jointly fit the approximate posterior and model parameters such as the PSF and the galaxy VAE.
Installation
BLISS is pip installable with the following command:
pip install bliss-deblender
and the required dependencies are listed in the [tool.poetry.dependencies] block of the pyproject.toml file.
Installation (Developers)
-
To use and install
blissyou first need to install poetry. -
Then, install the fftw library (which is used by
galsim). With Ubuntu you can install it by running
sudo apt-get install libfftw3-dev
- Install git-lfs if you haven't already installed it for another project:
git-lfs install
- Now download the bliss repo and fetch some pre-trained models and test data from git-lfs:
git clone git@github.com:prob-ml/bliss.git
- To create a poetry environment with the
blissdependencies satisified, run
cd bliss
poetry install
poetry shell
- Verify that bliss is installed correctly by running the tests both on your CPU (default) and on your GPU:
pytest
pytest --gpu
- Finally, if you are planning to contribute code to this repository, consider installing our pre-commit hooks so that your code commits will be checked locally for compliance with our coding conventions:
pre-commit install
Latest updates
Galaxies
- BLISS now includes a galaxy model based on a VAE that was trained on Galsim galaxies.
- BLISS now includes an algorithm for detecting, measuring, and deblending galaxies.
Stars
- BLISS already includes the StarNet functionality from its predecessor repo: DeblendingStarFields.
References
Mallory Wang, Ismael Mendoza, Cheng Wang, Camille Avestruz, and Jeffrey Regier. Statistical Inference for Coadded Astronomical Images. Machine Learning and the Physical Sciences workshop, NeurIPS 2022. arXiv:2211.09300
Derek Hansen, Ismael Mendoza, Runjing Liu, Ziteng Pang, Zhe Zhao, Camille Avestruz, and Jeffrey Regier. Scalable Bayesian Inference for Detection and Deblending in Astronomical Images. ICML Workshop on Machine Learning for Astrophysics, 2022. arXiv:2207.05642
Runjing Liu, Jon D. McAuliffe, Jeffrey Regier, and The LSST Dark Energy Science Collaboration. Variational Inference for Deblending Crowded Starfields, 2021. arXiv:2102.02409
Metadata
Release files for bliss-deblender 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bliss_deblender-0.2.1.tar.gz | 43.7 kB | Without provenance | Details for bliss_deblender-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bliss_deblender-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for bliss_deblender-0.2.1-py3-none-any.whl |
Total release size: 93.1 kB
Release files / bliss_deblender-0.2.1.tar.gz
| Download URL | bliss_deblender-0.2.1.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf9dc0710122795ce15cb459d7b671a1bb61d6ffdcbb4c48f3eab2a600647fc1
|
|
BLAKE2b-256 checksum How to use checksums |
927beb97bc315019cb3cac2c7c6a8c2807f9e9b36db48e1d37b3641a99e49252
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-73-generic
|
Release files / bliss_deblender-0.2.1-py3-none-any.whl
| Download URL | bliss_deblender-0.2.1-py3-none-any.whl |
|---|---|
| Size | 49.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
42583b023d0db8cdf6efa64ad086c2b9a56499ebe6ebc90d73dedbffa7c87457
|
|
BLAKE2b-256 checksum How to use checksums |
145ce18f83d8ff0357cd8e30b9003388c923deb0ce8f822183a59bdc7548e8f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.10.6 Linux/5.15.0-73-generic
|
Security for bliss-deblender 0.2.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.