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 the requirements.txt file.

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.0a9.tar.gz (61.7 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.0a9-py3-none-any.whl (48.0 kB view details)

Uploaded Python 3

File details

Details for the file blending-toolkit-1.0.0a9.tar.gz.

File metadata

  • Download URL: blending-toolkit-1.0.0a9.tar.gz
  • Upload date:
  • Size: 61.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.4.7 CPython/3.9.16

File hashes

Hashes for blending-toolkit-1.0.0a9.tar.gz
Algorithm Hash digest
SHA256 8e2369d3104c7ed0d26cb5aa3f7815870790cd2e750333db58b2e6d66a9af40f
MD5 0c454dd032e7d61732e0e40bf6bdfac4
BLAKE2b-256 41c2748dac9472d6e593559a9cfdffc8dcf145a2e4408644b27be2fb7dc1fd00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for blending_toolkit-1.0.0a9-py3-none-any.whl
Algorithm Hash digest
SHA256 130fc4342b267750746bb0fa048b08185e5a2c1b061e3edf773bb303349c22ce
MD5 5f8c2b67645117d01622d3b3862915f7
BLAKE2b-256 a1c64a2be95482213f43d5a20eba9d6b9c6f2fc74d4def83ad6d16463ea5417f

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