Package to locate landmarks from edge profiles
Project description
HeavyEdge-Landmarks
Python package to locate landmarks from edge profiles.
Supports:
- Pseudo-landmark sampling.
- Mathematical landmark detection.
- Converting configuration matrix to pre-shape.
- Plateau fitting.
Usage
HeavyEdge-Landmarks provides functions to locate landmarks from multiple profiles.
A simple use case to locate 10 pseudo-landmarks:
from heavyedge import get_sample_path, ProfileData
from heavyedge_landmarks import pseudo_landmarks
with ProfileData(get_sample_path("Prep-Type2.h5")) as data:
x = data.x()
Ys, Ls, _ = data[:]
lm = pseudo_landmarks(x, Ys, Ls, 10)
Refer to the package documentation for more information.
Installation
$ pip install heavyedge-landmarks
Documentation
The manual can be found online:
If you want to build the document yourself, get the source code and install with [doc] dependency.
Then, go to doc directory and build the document:
$ pip install .[doc]
$ cd doc
$ make html
Document will be generated in build/html directory. Open index.html to see the central page.
Developing
Installation
For development features, you must install the package by pip install -e .[dev].
Testing
Run pytest command to perform unit test.
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
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 heavyedge_landmarks-1.2.0.tar.gz.
File metadata
- Download URL: heavyedge_landmarks-1.2.0.tar.gz
- Upload date:
- Size: 8.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
285ef09a87b074c8022855ff27c9e558edeee8c7f64621e3f9caaa9f8fb731ba
|
|
| MD5 |
a86cb90dbfe5d43916b1308d12483f01
|
|
| BLAKE2b-256 |
f3bf462a7c24b35fa05b8b5bff64afaf9d538e998672219b57699334a836020e
|
File details
Details for the file heavyedge_landmarks-1.2.0-py3-none-any.whl.
File metadata
- Download URL: heavyedge_landmarks-1.2.0-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a12a50d764ed310a08c5f96e7ed5839e6d8a180db3043cb34f5386408efb516
|
|
| MD5 |
5e5d3e4bf90d194768697bf1476a5cd5
|
|
| BLAKE2b-256 |
29ac66665197eec9576268ab1b3e43c0aa929b7afdb07ed724f94ae60557bce8
|