ktch.io#
The ktch.io module implements I/O interface for morphometrics file formats.
I/O Functions#
|
Read landmark data from a TPS file. |
|
Write landmark data to a TPS file. |
|
Read chain code (.chc) file. |
|
Write chain code to .chc file. |
|
Read normalized EFD (.nef) file. |
|
Write normalized EFD coefficients to a .nef file. |
|
Read .coef file of SPHARM-PDM. |
Data Containers#
|
Normalized elliptic Fourier descriptor data. |
|
Chain code data class. |
|
Data for a single specimen in TPS format. |
|
SPHARM-PDM coefficient data for a single specimen. |
Protocols#
|
Interface for morphometric data containers. |
Shared implementation for morphometric data containers. |
Conversion Functions#
|
Convert NefData to EFA-compatible flat coefficient vectors. |
|
Convert EFA flat coefficient vectors to NefData objects. |
|
Convert a coordinate DataFrame to a list of per-specimen arrays. |
Convert a coordinate DataFrame to sklearn-compatible wide format. |