Skip to content
DavidMercierPublic

Repository files navigation

TriDiMap

This Matlab toolbox has been developed to plot and to analyze mechanical properties maps from (nano)indentation results .

To get started with the TriDiMap toolbox, clone the repository, then run Matlab, and cd into the folder containing this README file.

You can start the launcher by typing "demo" at the Matlab command prompt.

Features

The TriDiMap toolbox has been developed to plot, to map and to analyze (nano)indentation dataset.

With this Matlab toolbox, it is possible:
  • to create 2D/3D mechanical-property maps from regular grids and point maps from irregular XY measurements, with interpolation, smoothing and cropping for grid maps;
  • to recalculate hardness and reduced indentation modulus from load, depth and stiffness data using Oliver-Pharr or Loubet contact models;
  • to plot elastic modulus vs hardness values, define sectors and perform phase clustering;
  • to cluster phases using K-means or GMM with mechanical and optional KAMM features, and display phase and KAMM maps;
  • to visualize joint 3D probability densities of phases in elastic-modulus/hardness space;
  • to plot hardness/modulus phase clusters against a selectable KAMM-family descriptor in 3D;
  • to plot and fit probability density functions and cumulative density functions;
  • to extract per-phase mechanical-property statistics (mean, extrema and standard deviations) and phase fractions;
  • to correlate mechanical and microstructural maps for image-correlation-based targeted indentation (ICBTI) analysis;
  • to segment SEM grayscale maps into three or four phases and compare them with E/H maps using phase fractions and per-phase agreement metrics;
  • to plot 4D mechanical-property maps from indentation depth slices.

License-free Python example

The KAMM clustering notebook demonstrates 2D modulus/hardness maps -> neighbourhood mismatch -> K-means/GMM clustering, without MATLAB, Streamlit or Granta. Install python/requirements.txt and open the notebook with Jupyter. See the KAMM workflow guide for input conventions, MATLAB GUI controls and limitations.

Matlab version

Developed with Matlab R2014a.

Author

Author:David Mercier [1]

[1] CRM Group, Avenue du Bois Saint-Jean 21, B27 – Quartier Polytech 4, 4000 Liège, Belgium

Reference papers

Keywords

|matlab| toolbox; nanoindentation; indentation mapping; mechanical properties; regular grid; irregular XY; 2D mapping; 3D mapping; 4D mapping; interpolation; smoothing; contact mechanics; Oliver-Pharr; Loubet; elastic modulus; hardness; E-H plot; phase clustering; K-means; Gaussian mixture model; KAMM; phase map; joint probability density; probability density function; cumulative density function; multimodal Gaussian fit; deconvolution; image correlation; ICBTI; microstructure correlation; multiphase binarization; SEM image segmentation; grayscale thresholding; multilevel Otsu; phase agreement; confusion matrix; intersection-over-union.

Contributors

  • Pierre Huyghes (ULB, Bruxelles) and Antoine Hilhorst (UCL, Louvain-La-Neuve) contributed to the Matlab code.
  • Franck Nozahic (OCAS, Zwijnaarde) contributed to the documentation.

Acknowledgements

The author is grateful to Dr. Jiri Nemecek from Czech Technical University, Czech Republic (Prague) and to Dr. Nicholas Randall from Anton Paar, for discussions and many advices about nanoindentation mapping.

The author is grateful to Jean-François Vanhumbeeck and Xavier Vanden Eynde (CRM Group, Belgium (Liège)), for fruitful discussion and co-authoring of reference papers.

The author is grateful to Debora Rosseel, Franck Nozahic and Mélanie Gauvin (OCAS, Belgium (Zwijnaarde)), for providing example files and lots le fruitful feedbacks.

Screenshots

docs/_pictures/MTS_example1_25x25_H_GUI.gif

3D mapping of sample hardness obtained from indentation tests.

Releases

Packages

Used by

Contributors

Languages