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.0.tar.gz (4.3 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.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ripleypy-0.2.0.tar.gz
  • Upload date:
  • Size: 4.3 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.0.tar.gz
Algorithm Hash digest
SHA256 ada3927edc731274e2e52763505ef092ef0e19d49aea22dd977e04c9377fe943
MD5 89735ecf484c95452e1a0f7f01eab192
BLAKE2b-256 f25670a44a6895678d432d6348391f114db6ffeeb3efca79d77191c8514a02f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ripleypy-0.2.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: ripleypy-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cb6e0210a88226d8cdfd48d70764f8ea1df2b85e99fd8cef78474a5d84ceeb5d
MD5 dd8acea862f5b84ce77ca106d1f2d7a8
BLAKE2b-256 73a22f8034d8daff1affcd3aa4e3807e84f0594d5d3c6cb95528308df3276ceb

See more details on using hashes here.

Provenance

The following attestation bundles were made for ripleypy-0.2.0-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