Blending ToolKit
Project description
NOTE: BTK is currently undergoing heavy development and rapidly changing, as such the documentation and most jupyter could be deprecated. Please feel free to contact @ismael-mendoza if you would like to use BTK for a current project or contribute.
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://lsstdesc.org/BlendingToolKit/index.html
Workflow
Color code for this flowchart :
- Classes in black should be used as is by the user.
- Classes in red may be reimplemented by the experienced user ; we recommend for new users to use the default implementations until they are familiar with them.
- In blue is the code for instantiating the classes within the code (optional arguments not included).
- In green are the revelant methods for the classes ; please note that the
__call__method is executed when calling the object (egsampling_function(catalog)) and the__next__method is executed when usingnext(egnext(generator)).
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.
Contributing
See CONTRIBUTING.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file blending_toolkit-0.0.1a5.tar.gz.
File metadata
- Download URL: blending_toolkit-0.0.1a5.tar.gz
- Upload date:
- Size: 29.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09833a9056afd69a74e552adbdd124e3941daab1800aa62f2a202212abc95fef
|
|
| MD5 |
3e9610b51cd13245ffe1db5bd2bec6e0
|
|
| BLAKE2b-256 |
e4a7748828e5948ece0c38c560bb5f29f77b137b7cfd80eafc456e1408e8a790
|
File details
Details for the file blending_toolkit-0.0.1a5-py3-none-any.whl.
File metadata
- Download URL: blending_toolkit-0.0.1a5-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.5 CPython/3.8.8 Darwin/20.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6011faf2f32b1bc64b7f559cb03d33a0c7c9937a0e2dffd86179c3219fdeb96e
|
|
| MD5 |
56fa8e8e493c2ee68402b4f2286498ad
|
|
| BLAKE2b-256 |
bc650f5b82cf00d4b868aaf4bf0c8a265c3640914d88d4ac937190c7290d5f81
|