prob-ml / bliss

Bayesian Light Source Separator
MIT License
41 stars 11 forks source link

Bayesian Light Source Separator (BLISS)

tests codecov.io PyPI

Introduction

BLISS is a Bayesian method for deblending and cataloging light sources. BLISS provides

BLISS uses state-of-the-art variational inference techniques including

Installation

BLISS is pip installable with the following command:

pip install bliss-toolkit

and the required dependencies are listed in the [tool.poetry.dependencies] block of the pyproject.toml file.

Installation (Developers)

  1. To use and install bliss you first need to install poetry.

  2. Then, install the fftw library (which is used by galsim). With Ubuntu you can install it by running

sudo apt-get install libfftw3-dev
  1. Install git-lfs if you haven't already installed it for another project:
git-lfs install
  1. 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
  1. To create a poetry environment with the bliss dependencies satisified, run
cd bliss
export POETRY_VIRTUALENVS_IN_PROJECT=1
poetry install
poetry shell
  1. Verify that bliss is installed correctly by running the tests both on your CPU (default) and on your GPU:
pytest
pytest --gpu
  1. 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

Stars

References

Runjing Liu, Jon D. McAuliffe, Jeffrey Regier, and The LSST Dark Energy Science Collaboration. Variational inference for deblending crowded starfields, Journal of Machine Learning Research. 2023

Mallory Wang, Ismael Mendoza, Cheng Wang, Camille Avestruz, and Jeffrey Regier. Statistical inference for coadded astronomical images.. NeurIPS Workshop on Machine Learning and the Physical Sciences. 2022.

Yash Patel and Jeffrey Regier. Scalable Bayesian inference for detecting strong gravitational lensing systems.. NeurIPS Workshop on Machine Learning and the Physical Sciences. 2022.

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.