Coherent sets for Geophysical trajectories.
Project description
GeoCS
A package to calculate coherent sets from geospatial trajectory data.
Installation
pip install GeoCS
Quick Start
The package follows object orientation and is centered around classes handling trajectories (Traj), point-wise distances (Dist), point-cloud boundaries (Bound), and diffusion maps (DiffMap). Each class can be calculated, saved, loaded and plotted.
from GeoCS import Traj, Dist, Bound, DiffMap
from datetime import datetime
T = Traj(path_to_your_trajectories, datetime(Y, M, D, H))
T.load()
r = 1e5 # cut-off radius
k = 15 # scaling parameter
D = Dist(path_to_distances, r=r, k=k, traj_data=T)
D.save()
B = Bound(path_to_boundaries, k=k, convex=True, traj_data=T)
B.save()
eps = 1e5 # diffusion bandwidth
DM = DiffMap(path_to_diffusion_maps, eps=eps, bound_data=B, dist_data=D)
DM.save()
DM.plot()
Documentation
Full documentation is available on readthedocs: https://geocs.readthedocs.io/.
Project repository is at github: https://github.com/hschoeller/GeoCS
License:
Licensed under the MIT License.
Credits:
Development has been financed by the DFG funded CRC 1114.
Largely based on theory laid out in Banisch & Koltai, 2017. Application and extension in the context of atmospheric flow will be detailed in future publication (Schoeller et. al, 2024).
Banisch, Ralf and P ́eter Koltai (Mar. 2017). “Understanding the Geometry of Transport: Diffusion Maps for Lagrangian Trajectory Data Unravel Coherent Sets”. In: Chaos 27.3, p. 035804. issn: 1054-1500, 1089-7682. doi: 10.1063/1.4971788.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geocs-1.0.1.tar.gz
.
File metadata
- Download URL: geocs-1.0.1.tar.gz
- Upload date:
- Size: 8.0 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c85dabfc180023f11f8777110d81b45f89d3ba4ec37c389744d60efc8170cc63 |
|
MD5 | acb75f1354a14bbd04abf64a0f40c538 |
|
BLAKE2b-256 | 0fbb176320e415fddc590542c0b1ffa3e93b551fad29bdc18cae6b4cb5ed9f37 |
File details
Details for the file geocs-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: geocs-1.0.1-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7229c72970a1ba5001be01ac309df8d48eaa04968cffba79b4d21cfd61d94c |
|
MD5 | 6a902fdd0a5a3df3399a8aad88a6c293 |
|
BLAKE2b-256 | 69135a8f65830803daf20ce7c55bfbcad79019b9570913f6f5b108c1dacf8ae0 |