Skip to main content

Digital Image Correlation Toolkit

Project description

dictk

Digital Image Correlation Toolkit

dictk is a Python library for digital image correlation (DIC) — comparing images of a specimen before and after deformation to measure displacement and strain fields.

This is an early-stage skeleton: a small, real, tested primitive (zero-normalized cross-correlation) rather than a full DIC pipeline.

Documentation

🚀 main (released) 🛠️ dev (in development)

CI
Docs  User Guide  API Docs
Coverage  Lint

CI
Docs  User Guide  API Docs
Coverage  Lint

Docs

Installation

pip install dictk

Usage

import numpy as np
from dictk import zero_normalized_cross_correlation

a = np.array([[1.0, 2.0], [3.0, 4.0]])
b = np.array([[2.0, 4.0], [6.0, 8.0]])

zero_normalized_cross_correlation(a, b)  # 1.0

Development

This project uses uv for dependency management.

uv sync --all-extras --dev
uv run pytest --cov=src/dictk
uv run ruff format --check
uv run ruff check

Contributing

See CONTRIBUTING.md for development setup, testing, docs, and release instructions.

License

GPL-3.0-or-later. See LICENSE.

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

dictk-0.1.2.tar.gz (774.3 kB view details)

Uploaded Source

Built Distribution

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

dictk-0.1.2-py3-none-any.whl (557.7 kB view details)

Uploaded Python 3

File details

Details for the file dictk-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for dictk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 4fc20b959c937efbc45eb853473779aef3a32072ab8cf77d6b02ac3c0e447b10
MD5 9220a132d0992a72960aad1759529dd1
BLAKE2b-256 433a95463aef2fe1ff569e4644b2c5797383898f8666da642cf5407a960aedd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for dictk-0.1.2.tar.gz:

Publisher: release.yml on hovey/dictk

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

File details

Details for the file dictk-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for dictk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 496f2a3dd18df78c45d0a7814714a1c83a8dfa0d045bef3a468cc4c1e55cae87
MD5 fe99a2afd2f5e780d46940f2f648d8d0
BLAKE2b-256 ef12ff01d649f4fef6a3cc56af2b23f77e0a62c0f776be6169f0fe5f8816f5f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for dictk-0.1.2-py3-none-any.whl:

Publisher: release.yml on hovey/dictk

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