Skip to main content

A package for Digital Image Correlation (DIC) analysis in Python 3.

Project description

py3dic

Author: Nikolaos Papadakis

This is a repository for the materials lab at HMU.

documentation is (will be) in the github pages for py3dic.

It contains a number of utilities for the easier (and verified) calcualation of properties from the tests that are normally carried out.

It contains:

  • Tensile testing with the Imada MX2 universal testing machine
    • a quick utility based on a matplotlib window
    • a tk mvc controller window with more capabilities
  • DIC processing for tensile testing.
    • batch processing
    • rolling gui (incomplete)
    • types of strain:
      • true strain
      • engineering strain (cauchy)
    • interpolation:
      • linear
      • cubic
      • spline
      • raw
    • output images
      • displacement
      • markers
      • grid
      • strain map (not complete)
  • capture gui for a microscope USB camera
  • Tektronix dmm 4020 Digital multimeter function
    • for logging data (simple script)
    • for logging data (tk mvc controller window)

Quickstart: Entry points

For simplicity, use the following commands (After installation) to open up the different tools:

Command line Description
tk_dic_analysis GUI for batch processing of DIC data
tk_merge_dic GUI for merging data of Universal Tensile Testing and DIC
tk_dic_viewer GUI for strain map processing of DIC data

installation

cd to the directory and execute

python setup.py install python setup.py develop

or (when loaded to pypi)

pip install py3dic

to use it import:

import py3dic as mlt

Installation procedure using Conda

creating a new environment (recommended)

This is the recommended method.

> conda create -n materialslab python=3
> conda activate materialslab 

Alternatively *if you are running low on space on a SSD * drive you can use the prefix option (IMPORTANT: read through the following StackOverflow Question: how to specify new environment location for conda create)

Install dependencies

Activate the new conda environment and install the following:

> conda activate materialslab
> conda install opencv numpy scipy
> conda install matplotlib  pandas seaborn
> conda install ipython jupyter
> conda install openpyxl

Install py3dic package.

from source

Clone the repository from online to .

Change directory into /pypkg/

cd ./pypkg

Install the package locally:

python setup.py install

from pypi (not yet implemented)

This will be simpler but not yet implemented

> pip install py3dic

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

py3dic-0.4.2.tar.gz (105.7 kB view details)

Uploaded Source

Built Distribution

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

py3dic-0.4.2-py3-none-any.whl (128.5 kB view details)

Uploaded Python 3

File details

Details for the file py3dic-0.4.2.tar.gz.

File metadata

  • Download URL: py3dic-0.4.2.tar.gz
  • Upload date:
  • Size: 105.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for py3dic-0.4.2.tar.gz
Algorithm Hash digest
SHA256 873c82817f83f04ae98cfdf852bf7a30983154e7a7d4b55667734e3decf8ca88
MD5 9b5f13d80473c7c13bd4c25067fdb4ff
BLAKE2b-256 097657fcf848fdda1d9837f3ba51d4ad9243bed3d8f79c92c6941e60e52814a3

See more details on using hashes here.

File details

Details for the file py3dic-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: py3dic-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 128.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for py3dic-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e5523f73f9635d6a22b65c61de058626c34b3add9b3705578ac1048b4c10e652
MD5 baa7711aa4fa761bf89c592036ca0845
BLAKE2b-256 d5ecbce59bebcd16427a4b0cd15944aa970db691084703d955d0cf3a3e715bb2

See more details on using hashes here.

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