Skip to main content

µDIC CircleCI

A python toolkit for Digital Image Correlation (DIC)

Overview

This package provides a "batteries included" toolkit for 2D digital image correlation. The intended use in in the field of material research, for non-contact strain measurements. The implementation is based on B-splines, providing a very flexible framework where various degrees of continuity can be enforced etc.

Typical usage is demonstrated in the provided examples

This toolkit includes the following:

  • Image reader tools
  • Virtual lab
    • Speckle image generators
    • Image deformation tools
    • Noise injection
    • Image down-sampling
  • B-spline finite elements
    • Arbitrary polynomial order
    • Knot vectors can be manipulated
  • Meshing tools:
    • A light weight GUI for structured meshing
  • Image correlation routines:
    • Non linear least squares solver
  • Post processor
    • Calculates most popular strain measures
    • Light weight visualization
  • Logging

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

This toolkit is tested on Python 2.7x an 3.7 and need all dependencies listen in requirements.txt

Installing

Installing by a package manager:

Installing by cloning the repos:

Start to clone this repo to your preferred location:

$ git init
$ git clone https://github.com/PolymerGuy/muDIC.git

We recommend that you always use virtual environments, either by virtualenv or by Conda env

Virtual env:

$ virtualenv myproject
$ source /myproject/bin/activate
$ pip install -r requirements.txt

Conda env:

$ conda create -n envname python=2.7
$ source activate envname
$ conda install --yes --file requirements.txt

You can now run an example:

$ python path_to_muDIC/Examples/phantomImages.py

Running the tests

The tests should always be launched to check your installation. These tests are integration and unit tests:

$ unittests /tests

Documentation

Documentation is hosted by: LINK TO READ THE DOCS

Our motivation

The motivation for this work was the need for a transparent code which could be modified and extended easily, without digging deep into C or C++ source code. The implementation is pure python with the exception of third-party packages such as Scipy, Numy etc.

Contributing

Clone the repository, add your changes, add new tests and you are ready for a pull request

Authors

  • Sindre Olufsen - Implementation - PolymerGuy
  • Marius Endre Andersen - Wrote the Matlab code which was the starting point for this project

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Citing this project

This project is described in the following paper and citation is highly appreciated

[THE AWESOME PAPER TO BE PUBLISHED]

Release files for muDIC 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for muDIC 0.0.6
File Size Uploaded
muDIC-0.0.6.tar.gz 31.2 kB Details

Release files / muDIC-0.0.6.tar.gz

Download URL muDIC-0.0.6.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
edc52113370406aaf55511d0404948e9287c5315d8ac33885f9bee8d71a0104d
BLAKE2b-256 checksum
How to use checksums
f5bc1cd56581666b38ad54d16c7170519537e394b1ed3206c12c0d401196f28e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8

Release history Release notifications | RSS feed

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

1 release file

0.1.0

1 release file

0.0.8

1 release file

0.0.7

1 release file

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

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