NOTE: BTK is currently in development and rapidly changing, as such the documentation and most jupyter notebooks are deprecated. We will release a new stable version of BTK in the near future and fix these issues.
Framework for fast generation and analysis of galaxy blends catalogs. This toolkit is a convenient way of producing multi-band postage stamp images of blend scenes.
Documentation can be found at https://blendingtoolkit.readthedocs.io/en/latest/
- BlendingToolKit (btk) requires an input catalog that contains information required to simulate galaxies and blends. This repository includes sample input catalogs with a small number of galaxies that can be used to draw blend images with btk. See tutorials to learn how to run btk with these catalogs.
- CatSim Catalog corresponding to one square degree of sky and processed WeakLensingDeblending catalogs can be downloaded from here.
- Cosmo DC2 catalog requires pre-processing in order to be used as input catalog to btk. Refer to this notebook on how to convert the DC2 catalog into a CatSim-like catalog that can be analyzed with btk.
The code is intended to run in python >=3.7. To run btk you need to install
- WeakLensingDeblending
- GalSim
- numpy
- astropy
- fitsio
- scipy
- lmfit
More detailed installation instructions can be found here.
The tutorials include examples of using btk with some detection, deblending or measurement packages including