Introduction
This package provides some convenient routines for working with raw data produced by the MTS Tension-Torsion machine located in the Materials Lab in the Engineering Materials division at Chalmers. Compensation parameters are hard-coded for this machine, and were reported in Meyer et al. (2018) [https://doi.org/10.1016/j.ijsolstr.2017.10.007]
Installation
Prerequisites
pythoninstalled withconda(anaconda) and be able to runcondaandpythonfrom your shell.conda activateshould work from your shell
Installation
Download repository using
git:git clone git@github.com:KnutAM/cth_mts_biax.gitIn your shell, change directory to the
cth_mts_biaxfolder and run *conda activate base(Advanced: Use your own custom environment instead ofbase) *conda install sphinx_rtd_theme*pip install .
Tutorial
In this tutorial, we will use the example python scripts in the examples folder.
It is advisable to copy the content of this folder to another location on your computer.
Using a shell
In shell (bash, cmd, powershell, etc.), run the following commands
conda activate base(or another environment if you have installed to that)python <example_file>
where <example_file> can be raw_data_ex.py, read_variables_ex.py, or xml_to_hdf5_ex.py.
Using PyCharm
Open the copied examples folder in PyCharm.
See PyCharm’s manual
for information how to activate the conda environment for your file/project.
After activating the project, you can run the example files,
raw_data_ex.py, read_variables_ex.py, or xml_to_hdf5_ex.py,
inside PyCharm