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.

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

Documentation (mdBook) lives in docs/userguide/:

mdbook build docs/userguide
mdbook serve docs/userguide  # live preview at http://localhost:3000

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.1.tar.gz (54.0 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.1-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dictk-0.1.1.tar.gz
  • Upload date:
  • Size: 54.0 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.1.tar.gz
Algorithm Hash digest
SHA256 967e97d3c5c53f2fef93b7fac209f6b95e6a3c3711d53943b37135193ee6c704
MD5 0bb632d7a49b43b17dfc3d75104dce85
BLAKE2b-256 76e08c98c3db79659eeca77b346325e0d35ff400d957aa36ef67fa685f90e302

See more details on using hashes here.

Provenance

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

Publisher: ci.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.1-py3-none-any.whl.

File metadata

  • Download URL: dictk-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d54d8d36e3912336dfe47753f76e9dcc991be7fdeef32ec96ad661a7e82e43fc
MD5 e478621e981e4bfcb619b04c87450f72
BLAKE2b-256 c4f84cdbe5fabf4c5783c8c72f6ca33bd342edc4943f648191deed9d61e81cbd

See more details on using hashes here.

Provenance

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

Publisher: ci.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