ktch.datasets#

The ktch.datasets module implements utility functions to load morphometric datasets.

Functions#

datasets.load_landmark_mosquito_wings(*[, ...])

Load and return the mosquito wing landmark dataset used in [R879dd463bd6e-Rohlf_and_Slice_1990].

datasets.load_landmark_trilobite_cephala(*)

Load and return the trilobite cephala landmark dataset with semilandmarks used in [Rbe8048e082ef-Serra_2023].

datasets.load_outline_mosquito_wings(*[, ...])

Load and return the mosquito wing outline dataset used in [R069eb2748fa9-Rohlf_and_Archie_1984], however includes only 126 of 127 specimens because of missing in the original NTS file.

datasets.load_outline_leaf_bending(*[, as_frame])

Load and return the synthetic 3D leaf bending outline dataset.

datasets.load_image_passiflora_leaves(*[, ...])

Load and return the Passiflora leaf image dataset.

datasets.convert_coords_df_to_list(df_coords)

Convert a dataframe of coordinates to a list of numpy arrays.

datasets.convert_coords_df_to_df_sklearn_transform(...)

Convert a dataframe of coordinates to a dataframe of coordinates for sklearn transformers.

datasets.make_landmarks_from_reference(reference)

Generate landmark dataset around a reference configuration.