A package for the material lab tools
Project description
npp_materialslab_tools
This is a repository for the materials lab at HMU.
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
- Digital image correlation:
- a complete dic solution for processing and syncing data
- Tektronix dmm 4020 Digital multimeter function
- for logging data (simple script)
Plans:
- add a OOP DIC processing .
Author: Nikolaos Papadakis
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
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 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
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
Hashes for npp_materialslab_tools-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ddc61a5f1207728df36f614e31f66a98cf6caacae5685cac4e50d3803dcbda |
|
MD5 | 43abbfd635b593ca678fc0f0b97e1cb7 |
|
BLAKE2b-256 | 0995a7cdc5c3a1e50f3af8c1ffb0a15b24e99bf2b3c88c86e6acec295b62b188 |