The research paper “The chemical throwing power of lithium-based inhibitors from organic coatings on AA2024-T3” pubished by P. Visser et al in the Corrosion Science journal presents a very interesting application of the “image stitching” functionalities of simsMVA.
A new version of simsMVA is out and it includes a number of new features. This will be a rather long list but we would like to highlight all major updates:
18 example datasets!
You can now find on the top menu 18 different example datasets of various different structures. This includes 4 examples of analytical techniques other than SIMS. This list of examples is as follows:
- Particles: metal particles on an organic substrate.
- Blend: a cross-section of a polymer blend deposited onto a metal substrate (see publication).
- Adhesive 1 & 2: surface of an industrial adhesive with circular features.
- Droplet: surface of a topographical metal droplet.
- Dicarboxylic acids: a set of spectra from standard dicarboxylic acids (see publication).
- Wood: spectra from wood samples together with standards for lignin and cellulose (see publication).
- Coffee: spectra of different types of coffee (see publication).
- Polypropylene: spectra of polypropylene-based composites with varying formulations.
- Metal multilayer: a dual-beam (Bi+ Cs+) depth profile of various different metallic layers.
- Organic/metal interface: a dual beam (Bi+ Ar_n+) depth profile of a hybrid interface.
- Encapsulated polymer: a polymer “sphere” encapsulated by another polymer matrix.
- Copper grid: a copper grid on an aluminium substrate.
- Organic/metal interface: the 3D version of the depth profiling example.
- Raman map: a Raman microscopy map of a droplet casted on SiO2.
- XPS profile: an XPS – C1s depth profile.
- PIXE map: a microbeam PIXE map of a cross-section.
- PIXE spectra: a set of various slightly different broad-beam PIXE spectra.
Save/Load project is now fully functional
Datasets can now be saved into .mat files and subsequently loaded in any other new tab of the same kind (Spectra, Profiles, Images or 3D). No more stitching the same set of patches every time or waiting to load a long 3D dataset!
Completely revamped 3D visualisers
Additionally to a series of bug fixes in the 3D data loader, the 3D visualiser and the 3D overlay tools were redesigned to allow more customisation (they are also now applicable to both the original data AND MVA results!).
The Z-correction tool has also been improved. The user can now pre-process the data and select whether to base the correction on a substrate or topographical feature
Convert 3D data into 2D and 1D
It is now possible to convert a 3D dataset into 2D (imaging) or 1D (depth profiling) data. The converted dataset will be loaded on a new tab, maintaining its “hyperspectral” aspect. This is an extremely useful tool that was developed out of need (no other software can do that).
Add peak labels in Imaging, Profiling and 3D modes
It had been long overdue, but it is finally possible to add peak labels in modes of analysis other than “Spectra”. A button has been added next to the variable selector in each mode.
Confidence intervals are now shown in Spectra PCA scores plots
And it is possible to change markers’ size!
Thank you very much for your support and feedback.
The newest version of simsMVA has got several bug fixes plus some new features, including:
New, cleaner default visual theme
Surface coverage calculator in imaging mode ()
Interactive z-correction for 3D data (tutorial soon)
Black/White background colour for images overlay
NEW multi mode for combined analysis of spectra, profiles, images and 3D datasets! (example and tutorial soon)
Slider to control number of principal components shown in variance panel
Dear simsMVA user
This is just a quick guide on how to set up and run the MATLAB version of simsMVA.
1 – unzip the files
2- inside MATLAB, find the folder, right-click on it and select “add to path -> selected folder”
3 – go to the command window and type in “simsMVA”
You will need to do step 2 every time you restart MATLAB, but once the folder is in the search path, you can run multiple instances of simsMVA
If you want to permanently add the folder to your search path, you can go to MATLAB’s “Home” tab and click on “Set path” (This will require admin rights)
Thanks to your valuable feedback, the newest version of simsMVA contains several bug fixes and additional features, with main highlights:
i) Improved 3D viewer and 3D overlay modes (Both now also work for the original variables and not only PCA/NMF components)
ii) Automated video maker for slices
iii) Loadings/Spectra grid option
Download simsMVA at https://mvatools.com/try-simsmva/
For this tutorial you will be using the example data “Adhesive” from the examples menu in simsMVA. The data consists of secondary ion maps of the surface of a packaging adhesive. The aim is to produce the following figure:
Where the left-hand side contains an overlay of three NMF components intensities and the right-hand side contains their characteristic spectra.
To load the example dataset, click on “Examples” on the top menu and select “Imaging (Adhesive)”, then click on the new tab created.
Pre-process the data by normalising all maps by total ion counts and Poisson-scaling. Choose a more appropriate colour map that would help to identify whether everything is OK with the pre-processed data.
For this example, NMF was performed in a subset of only 3% of the pixels. This is done by selecting “Sample 3%” in the subsampling drop-down menu, then click the “NMF” button and set the input parameters:
- algorithm: multiplicative (normal)
- number of components: 3
- number of iterations: 500
- tick the box “Calculate lack-of-fit”
A new tab is then created with the NMF results. Click on it.
Now we have the data needed for the overlay. To produce it, click the “Overlay” button on the “Components” panel. If you intend to print it or include it in a white-background slide, change simsMVA colour scheme by clicking “Theme” on the top menu bar and selecting a white background theme such as “Almond Milk”.
The “Overlay” window consists of three panels: “Control”, “Overlay” and “Components”. On the “Control” panel, the “Add” buttons allow you to add individual components to the overlay and the coloured button next to it sets their respective colours. For this image, a base colourmap (“hsv”), without much tweaking, was enough to produce good results. In cases where there are more than three components, you may want to tweak the colours of a base colourmap in order to enhance contrast.
Note that the plots on the right-hand side are connected, so if you use the magnifying lens to zoom in any of the plots, all three plots will show the same x-scale.
Once you are happy with the colour and sizes, you can export the figure by clicking “File->Export setup…”, select appropriate rendering and export it to your desired compression format.
A bit of background
Non-negative matrix factorisation (NMF)1,2 is a non-supervised machine learning method that seeks to reduce the dimensionality of a dataset down to a few “pure” components. For the application of NMF to ToF-SIMS images, the data is unfolded into a Matrix A containing samples (pixels) in rows and variables (spectral channels) in columns. The method then finds an approximate factorisation A ≈ WH into non-negative factors W and H. H is interpreted as the characteristic spectra of components and W is interpreted as the “concentration” distribution of the components over the samples. The number of components is defined by the inner dimension of the product WH, as shown in the figure below:
- D. Lee, H. Seung, Algorithms for non-negative matrix factorization, Adv. Neural Inf. Process. Syst. (2001) 556–562. doi:10.1109/IJCNN.2008.4634046.
- G.F. Trindade, M. Abel, J.F. Watts, Non-negative matrix factorisation of large mass spectrometry datasets, Chemom. Intell. Lab. Syst. 163 (2017) 76–85. doi:10.1016/j.chemolab.2017.02.012.
In simsMVA, it is now possible to magnify specific regions of a loadings/characteristic spectrum. Simply click on “Magnify”, select a start and end mass and the magnification factor. To go back to the original data, click on “Reset” (GIF below).
– Several bug fixes in imaging and 3D mode
– Scores and loadings plot now show the percentage of variance captured
– Improved scaling. Poisson scaling now is reverted so that results look more like spectra. The old-styled results can be obtained using the “square root” scaling method.
– Custom themes: user can select two base colours to make up a visual theme.
(Darth Nicolas theme)