squidpy.experimental.tl.TilingQCParams
- class squidpy.experimental.tl.TilingQCParams(distance_tol=0.75, min_area=20, max_contour_points=500)[source]
Advanced tuning knobs for
calculate_tiling_qc().Pass an instance (or a
Mappingof field names to values) astiling_qc_paramsto override. Frozen so that validation done in__post_init__cannot be silently bypassed by later mutation.Methods
Attributes
Maximum perpendicular distance (pixels) from the fitted line for a contour point to count as straight.
Cells smaller than this (pixels at analysis resolution) are skipped (NaN scores).
Cap on contour resolution; longer contours are arc-length-resampled before the O(n^2) collinearity scan.