Note
Go to the end to download the full example code.
Micromechanics installation
This example runs the quick check from the installation instructions using the default indentation data bundled with micromechanics.
from micromechanics.indentation import Indentation
Calling Indentation() without a file name loads the small example data set
bundled with the package. This is the quickest check that imports, data files,
and plotting are all available in the current environment.
indentation = Indentation()
indentation.plotAll()

*WARNING*: Poisson Ratio different than in file. 0.3 0.18
Open Agilent file: /home/runner/work/micromechanics/micromechanics/micromechanics/indentation/data/Example.xls
<Axes: xlabel='depth [$\\mathrm{\\mu m}$]', ylabel='force [$\\mathrm{mN}$]'>
Total running time of the script: (0 minutes 1.227 seconds)