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.17

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.17
File Size Uploaded
pdnl_sana-1.0.17.tar.gz 66.6 MB Details

Built distribution (wheel)

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

Total release size: 66.7 MB

Release files / pdnl_sana-1.0.17.tar.gz

Download URL pdnl_sana-1.0.17.tar.gz
Size 66.6 MB
Tags Source
SHA-256 checksum
How to use checksums
ea03956b13d7cd231e49f6503697dac4301643f34b4cfd446429a7236685b597
BLAKE2b-256 checksum
How to use checksums
a149b4697767581ce6f01cb06f67a22b25dabc87443fb1f37086baa5a97ee6b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

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

Download URL pdnl_sana-1.0.17-py3-none-any.whl
Size 49.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84054279141068b10b0837323d3efee7fa5b4cee286ae88e5c69582b00f68fa4
BLAKE2b-256 checksum
How to use checksums
ff63cea8348d1e4048957be2b55c292f5574fb9f66c539765e1c8412d9359085
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 23, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.17 This release

2 release files

1.0.16

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

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