No project description provided
Project description
path-toolkit
This package contains the class Path which is useful for computing geometrical properties.
Instantiating a path
from path_toolkit import Path
# Either from a list of points or (n, 2) numpy array
path1 = Path(points=[[0, 0], [1, 0], [2, 1]])
# Or from seperated x and y coordinates (numpy arrays are allowed as well)
path2 = Path(x=[0, 1, 2], y=[0, 0, 1])
Class properties
These properties are lazily evaluated, such that the desired property is computed on first access. The result is cached such that no additional computation is required on repeated access.
| Property | Description |
|---|---|
points |
The points of the path. |
x |
The x coordinates. |
y |
The y coordinates. |
length |
The length of the entire path. |
path_length_per_point |
The length of the path at each point. |
orientation |
The orientation of the path for each point. |
curvature |
The curvature for each point. |
unit_tangent_vector |
The unit tangent vector at each point. |
Class functions
| Function | Description |
|---|---|
resampled_path |
Returns the path with equidistantly resampled points. |
smoothed_path |
Returns the smoothed path using this approach from Autoware. |
without_duplicate_points |
Returns a path without consecutive duplicate points. |
find_circle_segments |
Returns a list of circle segments with the starting end ending index of the point list and respective radius. |
compute_circle_fit_curvature |
Returns the curvature profile of the path using the circle segments from find_circle_segments. |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file path_toolkit-0.1.1.tar.gz.
File metadata
- Download URL: path_toolkit-0.1.1.tar.gz
- Upload date:
- Size: 17.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e0f7b46e16376218b069a4133f9b4e8ff4ae09f41b7849dfbac1e38e4f254d2
|
|
| MD5 |
5db123728f152d5b8e444195f22a3987
|
|
| BLAKE2b-256 |
6ca02c93cc8449aef5d154f449ffa72ef846b77e34e17f0badc74b9da0a49a22
|
File details
Details for the file path_toolkit-0.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a0a4386ec460c506c1cc4a1037acd9dcd36d06d9ebf3274a84d93b35a42037f
|
|
| MD5 |
c2e4168e127585da581bd431420b8624
|
|
| BLAKE2b-256 |
e5d3f9d6c07a0e2ac4baba0e9c7a12e52a6e54765638ca8bd2c708945ca484ff
|
File details
Details for the file path_toolkit-0.1.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc01661112803f53037da12e8165ff841c71d87a58c6e3bd52019219f9a4e6e6
|
|
| MD5 |
dfddbd89e4e852d409e91b4ff1e65bec
|
|
| BLAKE2b-256 |
d5f5d1fb53ba3b62e6a931d9515a52739bd2da86b90b38f56858dea1972a0c59
|
File details
Details for the file path_toolkit-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e81b9437ec5f4b390dd334a3a5cff3df32c7de67a2879ba0684bda907f372345
|
|
| MD5 |
ae861764dc7641662cbddac553034a16
|
|
| BLAKE2b-256 |
7bc44dfae83687e4330f196df899b25efbeadf50174f70b1ac58998bbf2b71dd
|
File details
Details for the file path_toolkit-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
844b5ad218fb4b39cdafeb005c83347e61327b204ad8f83e76257dd43665540d
|
|
| MD5 |
f5ad3ace0a2618f66a6e3bfd7f77e8ea
|
|
| BLAKE2b-256 |
e576946582de9942a105c36424a3edb9d40c57779106a1aebf4006311894d3c1
|
File details
Details for the file path_toolkit-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca40e344ef72f005f532e7cf33d7025ba7f5d22a602464dafd4f8df00d1d249a
|
|
| MD5 |
17056d6a06ff297d12b59b9fcfb7dc3f
|
|
| BLAKE2b-256 |
490e041c99ac66f99b5029e89094d7fe139a0cbc085b71329605e1d17f528643
|
File details
Details for the file path_toolkit-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
733aab9944c0edb3c1b8273e89ecd1e3a9aacabd48e3282ac3273b1f6ad4460e
|
|
| MD5 |
f327c8ce4ad9f87983059e4b22128e21
|
|
| BLAKE2b-256 |
6db8a3f9ce74daaf425f899cc6ece364634deb9fea5ce82c3442a0cc4bda4422
|
File details
Details for the file path_toolkit-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: path_toolkit-0.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 10.8 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9411a9ae2881721d342fca36f6391224c76c6b7aab8d8d255280f0868ad9a2a
|
|
| MD5 |
b62cdf133391e4b98e0d83e0e5f0f480
|
|
| BLAKE2b-256 |
b01b26e56a25aaaa95f147d4baadff823069d1f72ed23933edb92f47c4d0f922
|