Skip to main content

npp_materialslab_tools

Author: Nikolaos Papadakis

This is a repository for the materials lab at HMU.

documentation is in the github pages for hmu.materialslab.tools.

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)

installation

cd to the directory and execute

python setup.py install python setup.py develop

or (when loaded to pypi)

pip install npp_materialslab_tools

to use it import:

import npp_materialslab_tools 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 materialslab package.

from source

Clone the repository from online to <hmu.materialslab.tools>.

Change directory into <hmu.materialslab.tools>/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 materialslab-whatevername

Metadata

Release files for npp-materialslab-tools 0.0.9

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

Source distribution (sdist)

Source distribution for npp-materialslab-tools 0.0.9
File Size Uploaded Provenance Actions
npp_materialslab_tools-0.0.9.tar.gz 56.4 kB Without provenance Details for npp_materialslab_tools-0.0.9.tar.gz

Release files / npp_materialslab_tools-0.0.9.tar.gz

Download URL npp_materialslab_tools-0.0.9.tar.gz
Size 56.4 kB
Tags Source
SHA-256 checksum
How to use checksums
7e7ea4aff9156628790a2ca2ec4b85e2eb9461323aa98f3ebf4d74c966e6488c
BLAKE2b-256 checksum
How to use checksums
8bddd6de8901fd56c2143f19b840b26caf2f2b11e1ec4cd684af51ff876fa6eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.9

Security for npp-materialslab-tools 0.0.9

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