MorphoDataMixin#

class ktch.io.MorphoDataMixin[source]#

Shared implementation for morphometric data containers.

Provides __array__ (NumPy protocol) and __repr__ based on the to_numpy() and specimen_name that concrete classes must supply.

Subclasses can define _repr_detail() returning a string of extra fields to include in the repr (e.g. "n_harmonics=20").