fastxm-0.1.5
توضیحات
blazing fast cross-matching
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fastxm-0.1.5 |
| نام | fastxm |
| نسخه کتابخانه | 0.1.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jeff Shen |
| ایمیل نویسنده | shenjeff@princeton.edu |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/fastxm/ |
| مجوز | - |
# fastxm
For cross-matching astronomical catalogs. Like `np.intersect1d` but faster.
### Installation
From `PyPI`:
```bash
pip install fastxm
```
From source (requires [maturin](https://github.com/PyO3/maturin/)):
```bash
git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin build --release
pip install target/release/<path to wheel>
```
### Example usage
```python
from fastxm import intersect_1d
catalog_1 = ...
catalog_2 = ...
match_ix_1, match_ix_2 = intersect_1d(catalog_1['common_id'], catalog_2['common_id'], parallel=True)
```
### Tests/Benchmarks
This requires `pytest` and `pytest-benchmark`.
```bash
git clone https://github.com/al-jshen/fastxm
cd fastxm
maturin develop
pytest
```
نیازمندی
| مقدار | نام |
|---|---|
| - | numpy>=1.21 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.7 | Python |
نحوه نصب
نصب پکیج whl fastxm-0.1.5:
pip install fastxm-0.1.5.whl
نصب پکیج tar.gz fastxm-0.1.5:
pip install fastxm-0.1.5.tar.gz