pyluna-pathology.luna.pathology.point_annotation.proxy_table package

Submodules

pyluna-pathology.luna.pathology.point_annotation.proxy_table.generate module

luna.pathology.point_annotation.proxy_table.generate.create_proxy_table()[source]

Create a proxy table of point annotation json files downloaded from the SlideViewer API

Each row of the table is a point annotation json created by a user for a slide.

Returns

None

luna.pathology.point_annotation.proxy_table.generate.download_point_annotation(slideviewer_url, slideviewer_path, project_id, user)[source]

Downloads point-click nuclear annotations using slideviewer API

Parameters
  • slideviewer_url (string) – slideviewer base url e.g. https://slideviewer-url.com

  • slideviewer_path (string) – slide path in slideviewer

  • project_id (string) – slideviewer project id

  • user (string) – username used to create the expert annotation

Returns

point-click nuclear annotations

Return type

json

Module contents