blending-toolkit-1.0.0a9
توضیحات
Blending ToolKit
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | blending-toolkit-1.0.0a9 |
| نام | blending-toolkit |
| نسخه کتابخانه | 1.0.0a9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ismael Mendoza |
| ایمیل نویسنده | imendoza@umich.edu |
| آدرس صفحه اصلی | https://github.com/LSSTDESC/BlendingToolKit |
| آدرس اینترنتی | https://pypi.org/project/blending-toolkit/ |
| مجوز | MIT |


[](https://codecov.io/gh/LSSTDESC/BlendingToolKit)
[](https://github.com/psf/black)
[](https://github.com/pre-commit/pre-commit)
[](https://www.python.org/downloads/release/python-370/)
# 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
<img src="docs/source/images/current_flowchart.png" alt="btk workflow" width="450"/>
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 (eg `sampling_function(catalog)`) and the `__next__` method is executed when using `next` (eg `next(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](https://github.com/LSSTDESC/BlendingToolKit/tree/main/notebooks) 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](https://stanford.app.box.com/s/s1nzjlinejpqandudjyykjejyxtgylbk).
- [Cosmo DC2](https://arxiv.org/abs/1907.06530) catalog requires pre-processing in order to be used as input catalog to btk. Refer to this [notebook](https://github.com/LSSTDESC/WeakLensingDeblending/blob/cosmoDC2_ingestion/notebooks/wld_ingestion_cosmoDC2.ipynb) 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](https://lsstdesc.org/BlendingToolKit/install.html).
For required packages, see [pyproject.toml](https://github.com/LSSTDESC/BlendingToolKit/blob/main/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](https://github.com/LSSTDESC/BlendingToolKit/blob/main/CONTRIBUTING.md)
نیازمندی
| مقدار | نام |
|---|---|
| >=4.2,<5.0 | astropy |
| >=1.3,<2.0) | autograd |
| >=2.2.4,<3.0.0 | galsim |
| >=0.0.1-rc.4,<0.0.2) | galsim-hub |
| >=1.0.6,<2.0.0 | hydra-core |
| >=7.6.3,<8.0.0 | ipywidgets |
| >=3.3.3,<4.0.0 | matplotlib |
| >=1.18.5,<2.0.0 | numpy |
| >=1.2.5,<2.0.0 | pandas |
| >=0.0.9,<0.0.10) | peigen |
| >=0.6.11,<0.7.0) | proxmin |
| >=2.7.0,<3.0.0) | pybind11 |
| >=0.18.0,<0.19.0 | scikit-image |
| >=1.4.1,<2.0.0 | scipy |
| >=0.11.1,<0.12.0 | seaborn |
| >=1.1.1,<2.0.0 | sep |
| ==1.15.5) | tensorflow |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7.1,<4.0.0 | Python |
نحوه نصب
نصب پکیج whl blending-toolkit-1.0.0a9:
pip install blending-toolkit-1.0.0a9.whl
نصب پکیج tar.gz blending-toolkit-1.0.0a9:
pip install blending-toolkit-1.0.0a9.tar.gz