https://github.com/zenithclown/agine
Library for finding Nearest Neighbor or to find if two points on Earth have a Direct Line of Sight.
https://github.com/zenithclown/agine
bearing bearing-calculations distance-calculation euclidean-distance geometry haversine manhattan-distance nearest-neighbor-search numpy pandas rasterio shapely
Last synced: 5 months ago
JSON representation
Library for finding Nearest Neighbor or to find if two points on Earth have a Direct Line of Sight.
- Host: GitHub
- URL: https://github.com/zenithclown/agine
- Owner: ZenithClown
- License: apache-2.0
- Created: 2020-08-02T06:08:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-09-14T16:23:09.000Z (almost 6 years ago)
- Last Synced: 2024-12-27T16:23:33.971Z (over 1 year ago)
- Topics: bearing, bearing-calculations, distance-calculation, euclidean-distance, geometry, haversine, manhattan-distance, nearest-neighbor-search, numpy, pandas, rasterio, shapely
- Language: HTML
- Homepage:
- Size: 5.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
agine
agine is a Python package which have functionalities related to points in an n-dimensional space (which is defined by its x, y, ...z coordinates), or an actual position on the Earth (given by its latitude, longitude). Considering two points (say P, Q), apart from many other purposes, this library can also detect if the two have a clear line of sight or not.
## Basic Usage
agine has three main functionalities: (1) Calculation of Distances, using different metrics, which is defined under commons, (2) Functions to Find the Nearest Neighbor and (3) Function to Find if two Geographic Point has a Line-of-Sight or not. All of this can be done using the following:
```bash
pip install agine
# or if you want to build from source
git clone https://github.com/ZenithClown/agine.git
```
If you want to install `agine` in editable mode:
```python
pip install -e agine # Installing agine with pip
import agine
>> Setting up agine-Environment...
>> Detected OS : ""
>> scikit-learn Options : ""
>> "etc. which Defines the Core-Capability"
```
agine has a hard dependency of only numpy so that some of its functionalities can be used somewhere else. For options (2) and (3) it has different requirements, which can be accessed using: agine.OSOptions._point_func and agine.OSOptions._line_of_st repectively.