Skip to main content

PDNL Semi Automatic Neuropath Analysis (PDNL-SANA)

About

PDNL-SANA is a python-based package written by the Penn Digital Neuropathology Lab to formalize our methods of IHC quantification. PDNL-SANA includes functions which facilitate extracting pixel data from a Whole Slide Images (WSI), classifying pixels, and converting positive pixel masks to quantifications.

Requirements

python3.9 or greater

Installation

python3 -m pip install pdnl_sana

Getting Started

We provide several example Jupyter notebooks which contain example code blocks utilizing most of SANA's functionality.

  • docs/source/examples/example0_prepare_images.ipynb shows how to extract relevant ROI information from a WSI
  • docs/source/examples/example1_process_images.ipynb provides a sandbox for the preprocessing and pixel classification methods
  • docs/source/examples/example2_normalize_cortex.ipynb illustrates how to deform a curved section of cortex for more optimal quantification
  • docs/source/examples/example3_quantification.ipynb has examples of various quantification methods based on the positive pixel masks created by the previous notebooks

For more information, please refer to the Documentation

Roadmap

  • GPU Acceleration
  • Automatic GM/WM segmentation
  • Generic cell detection/segmentation
  • Microglia detection/segmentation
  • Structure Tensor Analysis

Metadata

Release files for pdnl-sana 1.0.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdnl-sana 1.0.18
File Size Uploaded Provenance Actions
pdnl_sana-1.0.18.tar.gz 66.6 MB With provenance Details for pdnl_sana-1.0.18.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pdnl-sana 1.0.18
File Interpreter ABI Platform Actions
pdnl_sana-1.0.18-py3-none-any.whl Python 3 none any Details for pdnl_sana-1.0.18-py3-none-any.whl

Total release size: 66.7 MB

Release files / pdnl_sana-1.0.18.tar.gz

Download URL pdnl_sana-1.0.18.tar.gz
Size 66.6 MB
Tags Source
SHA-256 checksum
How to use checksums
8213cd366c5f22e89c86eb0e7458c0825883cf8c392440b921f307296e23e116
BLAKE2b-256 checksum
How to use checksums
0320e0cfcf304b7fe77b1ade51e884147d693feb76242317e8b1fdc5e5c8f3d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / pdnl_sana-1.0.18-py3-none-any.whl

Download URL pdnl_sana-1.0.18-py3-none-any.whl
Size 50.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
91ca5ebb325358e6ca950b1f7dc94cbcff27ad223dc589d8b09a3411f7b979bd
BLAKE2b-256 checksum
How to use checksums
5c0318f786294f7cd1fac014b3c7eedb0db9ea25a4d4959bcb8736976a33dff4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for pdnl-sana 1.0.18

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pdnl_sana-1.0.18.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page