- Notifications
You must be signed in to change notification settings - Fork21
hyperspectral galaxy modeling and deblending
License
pmelchior/scarlet
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This package performs source separation (aka "deblending") on multi-band images. It's geared towards optical astronomy, where scenes are composed of stars and galaxies, but it is straightforward to apply it to other imaging data.
For the full documentation seethe docs.
Separation is achieved through a constrained matrix factorization, which models each source with a Spectral Energy Distribution (SED) and a non-parametric morphology, or multiple such components per source. In astronomy jargon, the code performs forced photometry (with PSF matching if needed) using an optimal weight function given by the signal-to-noise weighted morphology across bands. The approach works well if the sources in the scene have different colors and can be further strengthened by imposing various additional constraints/priors on each source.
The minimization itself uses the proximal gradient method (PGM). In short, we iteratively compute gradients of the likelihood (or of the posterior if priors are included), perform a downhill step, and project the outcome on a sub-manifold that satisfies one or multiple non-differentiable constraints for any of the sources.
This package provides a stand-alone implementation that contains the core components of the source separation algorithm. However, the development of this package is part of theLSST Science Pipeline; themeas_deblender package contains a wrapper to implement the algorithms here for the LSST stack.
The API is reasonably stable, but feel free to contact the authorsfred3m andpmelchior for guidance. For bug reports and feature request, open an issue.
If you make use of scarlet, please acknowledgeMelchior et al. (2018), which describes in detail the concepts and algorithms used in this package.
The code runs on python>=3.5. In addition, you'll need
- numpy
- pybind11
- autograd
- proxmin
About
hyperspectral galaxy modeling and deblending
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.