fasthaversine-0.1.2
توضیحات
A fast vectorized version of haversine distance calculation.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fasthaversine-0.1.2 |
| نام | fasthaversine |
| نسخه کتابخانه | 0.1.2 |
| نگهدارنده | ['Qiyu Liu'] |
| ایمیل نگهدارنده | ['keiyuk.liu@gmail.com'] |
| نویسنده | Qiyu Liu |
| ایمیل نویسنده | keiyuk.liu@gmail.com |
| آدرس صفحه اصلی | https://github.com/qyliu-hkust/fasthaversine |
| آدرس اینترنتی | https://pypi.org/project/fasthaversine/ |
| مجوز | ['MIT'] |
## Fast Haversine distance evaluation
This package is a numpy version of [haversine](https://github.com/mapado/haversine).
Compared with [haversine](https://github.com/mapado/haversine), our implementation is much more efficient when dealing with list-wise distance calculation.
### Usage
```python
from fasthaversine import haversine
haversine(points1, points2, unit='km')
```
where `points1` and `points2` are two list of tuples (lat, lon).
نحوه نصب
نصب پکیج whl fasthaversine-0.1.2:
pip install fasthaversine-0.1.2.whl
نصب پکیج tar.gz fasthaversine-0.1.2:
pip install fasthaversine-0.1.2.tar.gz