McMaille – Sous le Capot (Under the Bonnet) A.Le Bail Université du Maine Laboratoire des Oxydes et Fluorures CNRS – UMR 6010 FRANCE
Content Overview of functionality of the McMaille (pronounce Mac My) (what does it do?) Features that differentiate the program (why/when should I use it?) Summary of implementation (language, platform, gui/cmd line - how/where can I use/get it?) Description of 2-3 favorite algorithm/implementation tricks (what is under the bonnet?)
No way to escape the indexing bottleneck in the SDPD maze (figure extracted from the IUCr monograph 13) SDPD = Structure Determination by Powder Diffractometry
Indexing powder diffraction patterns. Using not only peak positions, also intensities. Applying the Monte Carlo method in order to generate randomly cell parameters tested against an idealized powder profile. What does it do ?
The columnar peak shapes used by McMaille v3 The width in the automated mode is calculated as : 0.3 x / it depends on the user in manual mode
« Simplicity » of the Monte Carlo algorithm in McMaille
Features that differentiate the program (why/when should I use it?) But… slow… Up to 1-15 mn in « black box mode ». Up to 1-15 hours in manual mode. (depending if monoclinic and triclinic are examined) To be used if TREOR, DICVOL (etc) fail, or if you have time or if you love it… Good for providing near-complete lists of « solutions » ordered by R factor (FoM) Cell volume Most frequently found cells Largest number of peak indexed
Summary of implementation Language : old good FORTRAN 77 Compilers : Compaq Visual Fortran, Intel Visual Fortran, G77 Platforms : Windows (XP, etc), Linux will benefit of dual-core and future multi-core processors (once the code will be paralellized : project by using the Intel Visual Fortran compiler) Gui/CMD line : CMD line
Typical « DOS box » with CMD line : You just give the filename and can stop by typing K (capital letter), saving all results.
Where can I get it ? Program download (GNU Public Licence) : Everything is there (executable, Fortran code, manual, examples)
How can I use it ? The first recommended approach with McMaille is to use the quite simple automated « black box » mode. Peak positions and intensities can be extracted by using the WinPlotr program which is able to build the McMaille entry data file directly for the automated mode.
If the peak positions are extracted by WinPLOTR, an entry file is directly prepared for McMaille for an automated run.
Y2O3 ! Wavelength, zeropoint and NGRID (NGRID=3: black box mode) ! List of 2theta positions, intensity (min.=20) Etc Typical file created by WinPLOTR for McMaille
Description of 2-3 favorite algorithm/implementation tricks (what is under the bonnet?) Simplicity of use in black box mode (contains an internal expert system presenting ordered lists of possibilities according to several criteria) Is a kind of Swiss knife for indexing : You may look deeply at selected possibilities by using the alternative grid search mode (if ambiguity on one parameter, etc). You can try multi-pattern indexing.
Final plot produced by McMaille, displayed by WinPLOTR : Other software compatible with McMaille outputs : CHEKCELL, CRYSFIRE with Gaussian peak shapes and width / 2.
Compatibility with Chekcell
Relative insensitivity to impurity The user decides by two control parameters in manual mode: N’ : number of unindexed lines (= 3 in automated mode). R2 : consider only proposals with R < R2. Fixing it at 15% means that cell proposals explaining at least 85% of the peaks total intensity will be listed. An impurity should not concern more than 15% of the total intensity, right ? But the number of (small) peaks belonging to the impurity can be high…
Indexing a 2-phases powder pattern with McMaille
Preliminary conclusions about two-phases indexing with McMaille Provided at least 30 lines are examined with lines belonging to each phases, and 40-60% of the total intensity distributed to each phase, then : McMaille appears to be able to produce solutions in reasonable times (<1 hour) for combinations of two phases either cubic or hexagonal or tetragonal or orthorhombic. Monoclinic and triclinic not examined (too long).
Example of 2-phases indexing (20 minutes) : One mixture of a tetragonal with an orthorhombic phase McMaille combines the cell proposals by couples and detects the best combinations indexing the largest number of peaks :
Last publication from Robin Shirley et al. : « Renewed interest in powder diffraction data indexing », J. Bergmann, A. Le Bail, R. Shirley and V. Zlokazov, Z. Kristallogr. 219 (2004) From the indexing benchmarks : Do not limit yourself to only one indexing software…
Conclusions about McMaille - Promising (?) method (please verify)… - Already quite efficient if you have time and a fast computer. - Needs some skills in manual mode, but nothing to do in « black box » mode (except finding the zeropoint). - Improve it if you have some ideas (GNU Public Licence). - Completely free access. - Use cautiously the 2-phases mode…