Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eurobios-mews-labs/pyntb
https://github.com/eurobios-mews-labs/pyntb
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/eurobios-mews-labs/pyntb
- Owner: eurobios-mews-labs
- License: apache-2.0
- Created: 2023-12-05T08:30:42.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-03-27T14:40:50.000Z (8 months ago)
- Last Synced: 2024-10-01T11:42:26.771Z (about 1 month ago)
- Language: Python
- Size: 38.1 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Eurobios-Mews-Labs Toolbox
A toolbox to factorize some code utilities across various projects.
## Install
The package requires Python 3.7 or above and is available on PyPI:
```
python3 -m pip install pyntb
```The optional dependencies used in the examples in the Github repository can be installed at the same time by typing instead:
```
python3 -m pip install pyntb[examples]
```## Content
- `geoutils`
- implementation of haversine distance which works on numpy arrays with an option to change the sphere radius
- `optimize`
- a bisection algorithm that work on numpy array inputs
- a copy of `scipy.optimize.fixed_point` that deals with nan values
- a 2D, quasi-newton algorithm that works with numpy array inputs
- `polynomial`
- find roots of 2nd and 3rd order polymonials with numpy array inputs## Examples
See `examples` directory for more details.