Skip to content
/ BPD Public

Bayesian Pixel Domain shear estimation based on differentiable forward modeling

License

Notifications You must be signed in to change notification settings

LSSTDESC/BPD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BPD: Bayesian Pixel Domain Shear Inference

Bayesian Pixel Domain shear estimation based on automatically differentiable cell-based coadd modeling.

This repository contains functions to run HMC (Hamiltonian Monte Carlo) using JAX-Galsim as a forward model to perform shear inference.

Installation

# fresh conda env
pip install --upgrade pip
conda create -n bpd python=3.12
conda activate bpd

# Install JAX
pip install -U "jax[cuda12]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html || pip install -U "jax[cpu]"

# Install JAX-Galsim
pip install git+https://github.com/GalSim-developers/JAX-GalSim.git

# Install package and depedencies
git clone git@github.com:LSSTDESC/BPD.git
cd BPD
pip install -e .
pip install -e ".[dev]"

About

Bayesian Pixel Domain shear estimation based on differentiable forward modeling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages