Skip to content

cervix_tissue

cellseg_gsontools.data.cervix_tissue()

A GeoDataframe containing cervical tissue areas.

Examples:

>>> from cellseg_gsontools.data import cervix_tissue
>>> cervix_tissue().head(3)
        type                                           geometry  class_name
uid
1    Feature  POLYGON ((1852.953 51003.603, 1853.023 51009.1...  areastroma
2    Feature  POLYGON ((4122.334 48001.899, 4122.994 48014.8...   areagland
3    Feature  POLYGON ((3075.002 48189.068, 3075.001 48218.8...   areagland
Source code in cellseg_gsontools/data/fetch.py
def cervix_tissue():
    """A GeoDataframe containing cervical tissue areas.

    Examples:
        >>> from cellseg_gsontools.data import cervix_tissue
        >>> cervix_tissue().head(3)
                type                                           geometry  class_name
        uid
        1    Feature  POLYGON ((1852.953 51003.603, 1853.023 51009.1...  areastroma
        2    Feature  POLYGON ((4122.334 48001.899, 4122.994 48014.8...   areagland
        3    Feature  POLYGON ((3075.002 48189.068, 3075.001 48218.8...   areagland
    """
    return _load(BASE_PATH / "cervix_tissue.feather")