Skip to main content

Add your description here

Project description

Mypy Ruff

Ripley-py

Performs 2D ripley analysis of points inside a masked area. Edge correction is performed in accordance with the description by Peter Haase (1995)

Edge corrections by weighting It(uij) were employed by Getis & Franklin (1987) and Andersen (1992). The weighting factor wij is equal to the proportion of the circumference of the circle with radius uij and centred on point i and passing through j, that lies within the plot boundaries.

This is approximated by 256 points on a circle.

Examples

Each example plots the masked area with the points on top, and below it the observed L(r) - r curve against the random-noise floor (median +/- 75% interval from repeated random draws in the same mask).

Example images 1

Generated with example1.py

Random

Ripley L(r) - r curve for uniformly random points, against the random noise floor

Clustered

Ripley L(r) - r curve for clustered points, against the random noise floor

Example images 2

Generated with example2.py

Real world data

Mask from convex hull of the points

Ripley L(r) - r curve for real world data, against the random noise floor

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ripleypy-0.2.1.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ripleypy-0.2.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file ripleypy-0.2.1.tar.gz.

File metadata

  • Download URL: ripleypy-0.2.1.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ripleypy-0.2.1.tar.gz
Algorithm Hash digest
SHA256 85b6b99a078ead6da87f4dfd17c3d37fbcf134d9c505ace8785a67a6368f7a53
MD5 d948b183530800b3b096443b294503e3
BLAKE2b-256 fab613d940bfa81f230750ac7065c128da0c5bd712c86eeacc8e8368940de0d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ripleypy-0.2.1.tar.gz:

Publisher: publish.yml on BioImaging-NKI/ripleypy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ripleypy-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: ripleypy-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ripleypy-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c553876be04e06b9aea3e5e280a677c24a85cefe494a3243bfc00c38c59c5536
MD5 af76d74825e137318e65551be1c4c641
BLAKE2b-256 8a8a017c833f18e9541e4ee07abd009f3269275e46633b58fd987171bfe063b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for ripleypy-0.2.1-py3-none-any.whl:

Publisher: publish.yml on BioImaging-NKI/ripleypy

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page