aboucaud / BlendingToolKit

Tools to create blend catalogs, produce training samples and implement blending metrics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tests Documentation Status Code style: black codecov

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.

BlendingToolKit

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/

Workflow

btk workflow

Running BlendingToolKit

  • 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.

Requirements

The code is intended to run in python >=3.7. To run btk you need to install

More detailed installation instructions can be found here.

Optional

The tutorials include examples of using btk with some detection, deblending or measurement packages including

  • scarlet (multi-band deblender)
  • sep (Source Extraction and Photometry)
  • lsst (LSST science pipeline)

About

Tools to create blend catalogs, produce training samples and implement blending metrics

License:Other


Languages

Language:Python 52.2%Language:Jupyter Notebook 47.8%