load_landmark_trilobite_cephala#

ktch.datasets.load_landmark_trilobite_cephala(*, as_frame: bool = False) Bunch[source]#

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

The original of this dataset (v1.2) is available at Zenodo.

This dataset contains 2D landmark and curve semilandmark data for 300 trilobite cephala specimens, with 16 fixed landmarks and 4 curves.

Parameters:
as_framebool, default=False

If True, the data is a pandas DataFrame including columns with appropriate dtypes (numeric).

Returns:
dataBunch

Dictionary-like object, with the following attributes.

landmarks{ndarray, dataframe} of shape (300, 16, 2)

The landmark data. If as_frame=True, returns a pandas DataFrame.

curveslist of list of ndarray

Curve semilandmark data. Each element is a list of 4 curves for one specimen.

curve_landmarkslist of tuple of (int, int)

The start and end fixed-landmark indices for each curve, used by combine_landmarks_and_curves().

meta{dict, dataframe}

Metadata for each specimen.

DESCRstr

The full description of the dataset.

filenamestr

The path to the location of the data.

References

[Serra_2023]

Serra, F., Balseiro, D., Monnet, C., Randolfe, E., Bignon, A., Rustán, J.J., Bault, V., Muñoz, D.F., Vaccari, N.E., Martinetto, M., Crônier, C., Waisfeld, B.G., 2023. A dynamic and collaborative database for morphogeometric information of trilobites. Sci. Data 10, 841. https://doi.org/10.1038/s41597-023-02724-9