Skip to main content

Package to locate landmarks from edge profiles

Project description

HeavyEdge-Landmarks

Supported Python Versions PyPI Version License CI CD Docs

title

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:

https://heavyedge-landmarks.readthedocs.io

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

heavyedge_landmarks-1.3.0.post0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

heavyedge_landmarks-1.3.0.post0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file heavyedge_landmarks-1.3.0.post0.tar.gz.

File metadata

File hashes

Hashes for heavyedge_landmarks-1.3.0.post0.tar.gz
Algorithm Hash digest
SHA256 d483ba36338463ff0686e537fc12bae3e604019af0211a4cf541c83f87325159
MD5 3cad91821bac1a456397832948117719
BLAKE2b-256 5f1970ead0bfe7ddaac9197bba8aa666963b97e7072c018c1c0bf25d979c339a

See more details on using hashes here.

File details

Details for the file heavyedge_landmarks-1.3.0.post0-py3-none-any.whl.

File metadata

File hashes

Hashes for heavyedge_landmarks-1.3.0.post0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5b8cc9f61648feb84734ab910d6c6460548171b23a9072f493cbb87adb2f90b
MD5 19077931ea615a4d168b87c589d65c0d
BLAKE2b-256 c14460b49396c22b30cd078d69ba505eaaa4b47a30f88e5f9ee8d0d590122d0a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page