polyTEM.spatial.spatial_analysis.domain_length_df

polyTEM.spatial.spatial_analysis.domain_length_df(cluster_df, theta_type='lamellar', inplace=True)

Get domain size statistics for each cluster in cluster dataframe.

The lengths are returned for “backbone”, “bbox_length”, and “bbox_width”. “backbone” length is the longest length through the polygon in the direction of backbone orientation, we assuem that the backbone is perpendicular to the lamellar. “bbox_length” is the length of the bounding box in the backbone direction, and “bbox_width” is the length of the bounding box in the lamellar direction.