Skip to main content

Blending ToolKit

Project description

BlendingToolKit

tests tests notebooks codecov Code style: black pre-commit PyPI Binder

Summary

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://lsstdesc.org/BlendingToolKit/index.html

Workflow

btk workflow
  • In red are the BTK objects that can be customized in various ways by BTK users.

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.

Installation

BTK is pip installable, with the following command:

pip install blending_toolkit

Although you might run into problems installing galsim. In case of any issues, please see the more detailed installation instructions here.

For required packages, see pyproject.toml under the [tool.poetry.dependencies] block. For developers, you will also need the packages under the [tool.poetry.dev-dependencies] block.

Tutorial

You can check out our introduction tutorial and get acquainted with BTK in a binder instance (no installation required) by simply clicking here.

Contributing

See CONTRIBUTING.md

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blending_toolkit-1.0.0a7.tar.gz (43.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blending_toolkit-1.0.0a7-py3-none-any.whl (45.8 kB view details)

Uploaded Python 3

File details

Details for the file blending_toolkit-1.0.0a7.tar.gz.

File metadata

  • Download URL: blending_toolkit-1.0.0a7.tar.gz
  • Upload date:
  • Size: 43.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1017-azure

File hashes

Hashes for blending_toolkit-1.0.0a7.tar.gz
Algorithm Hash digest
SHA256 fc8af60882b4201790501311e67e2398e27cafd348f9e5c3f0bcd7939a043899
MD5 b96f4f5a2ac64352fb9ab3a8acf896bd
BLAKE2b-256 35f4705556b6bce3a09cc1cb53c84ac4e1ebc12f22f99dcbd4ad56008a74f508

See more details on using hashes here.

File details

Details for the file blending_toolkit-1.0.0a7-py3-none-any.whl.

File metadata

  • Download URL: blending_toolkit-1.0.0a7-py3-none-any.whl
  • Upload date:
  • Size: 45.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.8.10 Linux/5.15.0-1017-azure

File hashes

Hashes for blending_toolkit-1.0.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 05421419870616d405a52c92f421bee4788bc367f6a30a0236e7c488aaecdb40
MD5 e7b5f1baf98f2bf3bf6b47e611893cce
BLAKE2b-256 de49ac0c6e280cef1f2d114392679d5d0e74beb29f4980951d9adde5ba43d96a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page