caustic-0.2.0
توضیحات
The lensing pipeline of the future.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | caustic-0.2.0 |
| نام | caustic |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | Adam Coogan <dr.adam.coogan@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/caustic/ |
| مجوز | MIT License Copyright (c) [2023] [caustic authors] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
[](https://github.com/Ciela-Institute/caustic/actions)
[](https://pypi.org/project/caustic/)
[](https://app.codecov.io/gh/Ciela-Institute/caustic)
# caustic
The lensing pipeline of the future: GPU-accelerated, automatically-differentiable,
highly modular. Currently under heavy development: expect interface changes and
some imprecise/untested calculations.
## Installation
Manually install the [torchinterp1d](https://github.com/aliutkus/torchinterp1d)
dependency:
```bash
git clone git@github.com:aliutkus/torchinterp1d.git
cd torchinterp1d
pip install .
```
Then install caustic from PyPI:
```bash
pip install caustic
```
## Contributing
Please reach out to one of us if you're interested in contributing!
To start, follow the installation instructions, replacing the last line with
```bash
pip install -e ".[dev]"
```
This creates an editable install and installs the dev dependencies.
Please use `isort` and `black` to format your code. Open up issues for bugs/missing
features. Use pull requests for additions to the code. Write tests that can be run
by [`pytest`](https://docs.pytest.org/).
نیازمندی
| مقدار | نام |
|---|---|
| - | astropy |
| - | graphviz |
| - | h5py |
| - | numpy |
| - | scipy |
| - | torch |
| - | torchinterp1d |
| - | icecream |
| - | jupyter |
| - | lenstronomy |
| - | matplotlib |
| - | pytest |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.9 | Python |
نحوه نصب
نصب پکیج whl caustic-0.2.0:
pip install caustic-0.2.0.whl
نصب پکیج tar.gz caustic-0.2.0:
pip install caustic-0.2.0.tar.gz