Skip to main content

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)

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
dic_strainmaps GUI for generating strain maps
py3dic-jinan-converter cli tool for converting jinan data to csv

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

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

Metadata

Release files for py3dic 0.5.0

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

Source distribution (sdist)

Source distribution for py3dic 0.5.0
File Size Uploaded Provenance Actions
py3dic-0.5.0.tar.gz 124.0 kB Without provenance Details for py3dic-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for py3dic 0.5.0
File Interpreter ABI Platform Actions
py3dic-0.5.0-py3-none-any.whl Python 3 none any Details for py3dic-0.5.0-py3-none-any.whl

Total release size: 276.9 kB

Release files / py3dic-0.5.0.tar.gz

Download URL py3dic-0.5.0.tar.gz
Size 124.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6c62abb9d7244f0169f942617149687e98b1842773a5c54a11343268b3456ed2
BLAKE2b-256 checksum
How to use checksums
471f68cd6b4d102d76691f6a0e2bb12ec7ab4c4c007926299a2ae6d150928735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / py3dic-0.5.0-py3-none-any.whl

Download URL py3dic-0.5.0-py3-none-any.whl
Size 152.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
203bde68859dcbd0d2b76de5eeb054b8dda577e217018ee3064607276a3b4555
BLAKE2b-256 checksum
How to use checksums
dbe9649773451f0634edffaab42a1767455aab73919c79a30b263b7d9930e876
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Security for py3dic 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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