<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>batch &#8211; analyzetest.com</title>
	<atom:link href="https://www.analyzetest.com/tag/batch/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.analyzetest.com</link>
	<description>Unlock the Power of Your Experimental Data with Accurate Interpretation </description>
	<lastBuildDate>Wed, 05 Oct 2022 07:42:36 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.analyzetest.com/wp-content/uploads/2020/02/labs-icon-88x88.png</url>
	<title>batch &#8211; analyzetest.com</title>
	<link>https://www.analyzetest.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Quantitative Rietveld analysis in batch mode with Maud</title>
		<link>https://www.analyzetest.com/2021/04/06/quantitative-rietveld-analysis-in-batch-mode-with-maud/</link>
					<comments>https://www.analyzetest.com/2021/04/06/quantitative-rietveld-analysis-in-batch-mode-with-maud/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 06 Apr 2021 17:20:22 +0000</pubDate>
				<category><![CDATA[How To Analyze ...]]></category>
		<category><![CDATA[XRD]]></category>
		<category><![CDATA[analysing]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[analysor]]></category>
		<category><![CDATA[analyze]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[complexity]]></category>
		<category><![CDATA[crystal]]></category>
		<category><![CDATA[crystalline]]></category>
		<category><![CDATA[crystallograghy]]></category>
		<category><![CDATA[crystallography]]></category>
		<category><![CDATA[grain]]></category>
		<category><![CDATA[interpretation]]></category>
		<category><![CDATA[lattice]]></category>
		<category><![CDATA[maud]]></category>
		<category><![CDATA[microstain]]></category>
		<category><![CDATA[parameter]]></category>
		<category><![CDATA[percentage]]></category>
		<category><![CDATA[phase]]></category>
		<category><![CDATA[quantitative]]></category>
		<category><![CDATA[quqantitative]]></category>
		<category><![CDATA[rietveld]]></category>
		<category><![CDATA[size]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[texture]]></category>
		<category><![CDATA[X ray]]></category>
		<guid isPermaLink="false">http://www.analyzetest.com/?p=966</guid>

					<description><![CDATA[Click here to see other posts about XRD The fee of the quantitative Rietveld analysis using MAUD software depends on the XRD pattern complexity Payment Upon Completion Send your patterns... 1. Introduction Today several instruments for fast spectra recording are available. In most cases the difficultyis to process and analyze the data quickly in a [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p class="has-text-align-center"><a href="http://www.analyzetest.com/index.php/category/analyzing/xrd/"><em><strong>Click here to see other posts about XRD</strong></em></a></p>



<pre class="wp-block-verse has-text-align-center"><span style="color:#ffffff" class="tadv-color">The fee of the quantitative Rietveld analysis using MAUD software depends on the XRD pattern complexity  
</span><strong><mark>Payment Upon Completion
</mark></strong> <a href="http://www.analyzetest.com/index.php/contact-us/"><mark style="background-color:rgba(0, 0, 0, 0)" class="has-inline-color has-vivid-red-color">Send your patterns...</mark></a></pre>



<h2 class="wp-block-heading" id="1-introduction">1. <strong>Introduction</strong></h2>



<p>Today several instruments for fast spectra recording are available. In most cases the difficulty<br>is to process and analyze the data quickly in a reliable way. The Maud program, in one of its<br>many undocumented features, can be used to process a list of analyses in batch mode from the<br>console without requiring the interface. This is useful to process quickly similar spectra or launch<br>a slow/time consuming refinement in a remote computer without recurring to the interface that<br>would need to open a session involving the remote display setting. </p>



<figure class="wp-block-image size-large"><a href="http://www.analyzetest.com/index.php/contact-us/"><img decoding="async" src="http://s6.picofile.com/file/8392387584/xrd_in.gif" alt=""/></a></figure>



<span id="more-966"></span>



<p>The overall procedure is to prepare the analysis locally using the interface or to prepare a starting point for a series of spectra<br>(one common starting point) also using the interface, then to prepare an instruction file in CIF like<br>format to specify the analyses, the spectra and the kind of refinement to conduct and finally to run<br>Maud in batch mode providing the instruction file previously prepared. The program will run and<br>process one analysis at time and prepare an output file extracting some key information (either the<br>default or some to be specified) in a format suitable to be imported in spreadsheet or graphical<br>programs to analyze the results.<br>As an example we will show the procedure to analyze a series of ball milled Cu-Fe mixed powders<br>in which two different phases may form with a different composition. By an automatic Rietveld<br>analysis performed in batch mode we will extract information about phase content [2, 1], crystallite<br>and microstrain for each sample/spectrum. The analysis is further complicated from the fact that<br>the powders milled at higher energy show the presence of planar defects [5] and texture arising<br>from sample preparation and the platelet like shape of the grains [3].</p>



<p>2 Analysis and procedure<br>In this section we will present the procedure to analyze 25 spectra of Cu-Fe different samples. The<br>spectra has been collected by a Philips X-pert system in Le Mans at the LPEC laboratory of the<br>1<br>University du Maine, thanks to A. Gibaud.<br>2.1 Analysis preparation through the interface<br>We start the Maud program and load all the datafiles together to check their integrity and to prepare<br>a common starting analysis file. A plot of all spectra and their differences is available in Figure 1.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="581" height="394" src="http://www.analyzetest.com/wp-content/uploads/2021/04/1.jpg" alt="" class="wp-image-967" srcset="https://www.analyzetest.com/wp-content/uploads/2021/04/1.jpg 581w, https://www.analyzetest.com/wp-content/uploads/2021/04/1-300x203.jpg 300w" sizes="(max-width: 581px) 100vw, 581px" /><figcaption>Figure 1: Plot of all spectra used in this example. It is possible to recognize in some samples the<br>presence of both fcc and bcc phases, but not in all.</figcaption></figure>



<p><br>We load the two possible phases, bcc iron and fcc copper, from the Maud database. By computing<br>the spectra once and comparing them visually with the experimental spectra we may notice that<br>for some samples, milled at longer time, an alloyed fcc phase form (out of equilibrium) and the<br>bcc iron disappears. Unluckily we could not use the copper rich phase cell parameter to monitor<br>the Fe content in it as the cell parameter tends to growth as a result probably of oxygen entrapping.<br>In a first attempt we discovered the spectra were affected by texture, anisotropic crystallite sizes<br>and microstrain as well as planar defects (especially on the Cu like phase). So we decide here<br>to include also texture and anisotropic/planar defects effects in the analysis. For both the bcc<br>and fcc phases we select in the proper panel the Popa model for anisotropic broadening [4], the<br>Warren model for planar defects and the harmonic model for texture (specifying cylindrical sample<br>symmetry and Lmax = 6 in the options; it is required by the experiment geometry).<br>Next step was to adjust the cell parameters for both bcc and fcc phases in order to get a mean<br>starting value good for all spectra (especially for the fcc); and to adjust the crystallite value to a<br>good starting point (around 200 angstrom) obtaining peak shapes a little sharper than in the less<br>broadened spectrum. The background constant parameter was also adjusted to the value of the<br>spectrum with the lower background. Actually only the cell parameter adjustment is critical, the<br>background one is even not necessary.<br>Finally we remove all the spectra (we will specify which datafile to use for each analysis later in an<br>instruction file) and save the analysis containing everything except the spectrum/a. For the purpose<br>of this article we save the analysis with the name: FeCustart.par.<br>2.2 Preparation of the instruction file and batch processing<br>To run Maud in batch we need to write an instruction file containing the list of analyses to execute<br>one at time. The file is in CIF format but containing some terms not available in the official CIF<br>dictionary, but that Maud recognize. All the analyses to be performed are specified through the<br>loop CIF instruction. The first term of the loop must be the one specifying the starting analysis<br>file to be loaded (full path in unix convention) and then the others to instruct Maud for the kind<br>of analysis to perform, iterations and eventually datafile to load and name of the file were to save<br>the analysis. Additional keywords can be used to append specific results to a file for spreadsheet<br>analysis. The simplest instruction file is something containing the following:<br>First example (paths for windows):<br>loop<br>riet analysis file<br>riet analysis iteration number<br>2<br>´//C:/mypathfortheanalysis/analysis1.par´ 5<br>´//C:/mypathfortheanalysis/analysis2.par´ 3<br>´//C:/mypathfortheanalysis/analysis3.par´ 7<br>The analysis1.par (or 2 or 3) are some analyses files prepared with Maud, containing also<br>the datafile/spectrum, already set for the parameters to be refined and saved just ready for the refinement step. Maud will load each analysis, starts the refinement with the number of iterations<br>specified and save the analysis with the refined parameters under the same name. The analyses can<br>be loaded at end in Maud (with the interface) to see the result of the refinement.<br>In the case of the Cu-Fe we need to perform some more steps: first we start from one common analysis point (the FeCustart.par analysis file) but we want to specify different datafiles; second<br>we want to perform a full automatic analysis in which Maud performs different cycles deciding<br>which parameters to refine at each step and third we will specify the name of each analysis for the<br>saving process and a file name were to append some selected results in a tab/column format for<br>subsequent easy loading in a spreadsheet program.<br>Cu-Fe example:<br>loop<br>riet analysis file<br>riet analysis iteration number<br>riet analysis wizard index<br>riet analysis fileToSave<br>riet meas datafile name<br>riet append simple result to<br>´//mypath/FeCustart.par´ 7 13 ´//mypath/FECU1010.par´ ´//mypath/FECU1010.UDF´<br>´//mypath/FECUresults.txt´<br>´//mypath/FeCustart.par´ 7 13 ´//mypath/FECU1011.par´ ´//mypath/FECU1011.UDF´<br>´//mypath/FECUresults.txt´<br>…………(lines with all the other 23 datafiles omitted for brevity)<br>´//mypath/FeCustart.par´ 7 13 ´//mypath/FECU1038.par´ ´//mypath/FECU1038.UDF´<br>´//mypath/FECUresults.txt´<br>With this instruction file (that we save under the name: fecu.ins) we specify for example that<br>as a first analysis, Maud has to load the FeCustart.par file, then to load in the analysis the<br>FECU1010.UDF datafile, to perform the automatic analysis number 13 (in the wizard panel of<br>Maud the automatic analysis number 13 is the texture analysis; we need to refine also the texture<br>parameters along with phase analysis and microstructure) and to use 7 iterations for each cycle (the<br>texture automatic analysis is composed by 4 cycles) to ensure sufficient convergence. At the end<br>the analysis is saved with the name FECU1010.par and simple selected results will be appended<br>in the file FECUresults.txt. The simple results saved in the spreadsheet like file are some of<br>the most used parameters and results. It is possible to specify the parameters we want in output<br>using the CIF word riet append result to (in addition or as an alternative), but in the<br>preparation of the starting analysis file in the Maud interface, the parameters to be added to the<br>results must be specified by turning to true the switch in the output column of the parameter list<br>window or panel.<br>Now to run Maud in batch in the console (<br>where the Maud.jar is located the following:<br>DOS (everything in the same line): java -mx512M -cp<br>&#8220;Maud.jar;lib\miscLib.jar;lib\JSgInfo.jar;lib\jgaec.jar;lib\ij.jar&#8221;<br>it.unitn.ing.rista.MaudText -f fecu.ins<br>Unix (everything in the same line): java -mx512M -cp<br>Maud.jar:lib/miscLib.jar:lib/JSgInfo.jar:lib/jgaec.jar:lib/ij.jar<br>it.unitn.ing.rista.MaudText -f fecu.ins<br>For Mac OS X, it is advised to use the generic Unix Maud installation (or to change the path to<br>the jar files). Before to run Maud in batch mode it is important to run Maud interactive (with the<br>interface) at least once to create and extract the databases, examples and preferences folder.</p>



<figure class="wp-block-image size-large"><a href="http://www.analyzetest.com/index.php/contact-us/"><img decoding="async" src="http://s6.picofile.com/file/8392387584/xrd_in.gif" alt=""/></a></figure>



<p><br>2.3 Analysis of results<br>After running Maud in batch mode, we can check quickly the results by loading the results file<br>FECUresults.txt in a spreadsheet program. The results are arranged in rows and separated<br>by tabs. The first row contains the column titles, each subsequent row a different analysis. The<br>Rwp value for each analysis is reported in the second column and the biggest value found was<br>5.6% as an indication of the success of the analysis. As an example we report in Figure 2 the<br>graphical correlation of the copper-rich phase percentage and its mean crystallite value as found<br>in the analysis versus the sample number. The files and examples used in this articles will be<br>uploaded in a tutorial in the Maud web page along with some additional files with the batch mode<br>commands for an easier use.</p>



<figure class="wp-block-image size-large"><img decoding="async" width="576" height="394" src="http://www.analyzetest.com/wp-content/uploads/2021/04/2.jpg" alt="" class="wp-image-968" srcset="https://www.analyzetest.com/wp-content/uploads/2021/04/2.jpg 576w, https://www.analyzetest.com/wp-content/uploads/2021/04/2-300x205.jpg 300w, https://www.analyzetest.com/wp-content/uploads/2021/04/2-77x54.jpg 77w" sizes="(max-width: 576px) 100vw, 576px" /><figcaption>Figure 2: Copper-rich phase volumetric content and mean crystallite size vs. sample number as<br>obtained by the automatic batch mode analysis. The plot has been created from the results file<br>saved by Maud.</figcaption></figure>



<p><br>3 How to get Maud 2.0 and further informations<br>For this analysis we need Maud version 2.037 or later and it can be freely downloaded from the<br>Maud web page at http://www.ing.unitn.it/ maud for the preferred platform. There are two archives<br>for Windows and Mac OS X plus a generic unix version that can be used for Linux, Solaris or<br>every unix based system with a Java 2 virtual machine installed. The new version 2.0 has a new<br>interface focused on reducing the effort of a new user and simplifying the most common tasks.<br>Some particularity of the new version respect to the previous one are (most of them to provide<br>some useful routines for ab-initio structure solution):<br>• Different minimization/search algorithms selectable: Marquardt least squares, Evolutionary<br>algorithm, Simulated annealing, Metadynamic search algorithm. As an example the evolutionary algorithm can be used in the early steps of the refinement to select the proper starting<br>solution and the Marquardt to drive it to convergence.<br>4<br>• Possibility to use crystallites and microstrain distributions for peak shape description instead<br>of analytical fixed shape functions.<br>• Maximum Entropy Electron Map full pattern fitting. An electron map can be used for fitting<br>instead of atoms.<br>• Full pattern fitting by a list of peaks. Either an arbitrary list of peaks (each one with its own<br>position, intensity and shape), or simply a list of structure factors to be imported, instead of<br>a list of atoms.<br>• Indexing directly on the pattern, selecting the Le Bail fit and the evolutionary algorithm for<br>the cell search. This may be used to improve a difficult indexing or a partly done one.<br>• Introduction of fragments. So fragment search can be done directly on the pattern or on a<br>list of extracted structure factors.<br>• Energy minimization. At the moment only the simple repulsion energy is completed. Other<br>energy principles are under completition.<br>• Spectra integration from image plate or CCD transmission/reflection 2D images. Center,<br>tilting errors and distance from sample can be refined in the spectra fitting.<br>Bugs and errors should be reported to the author through the bug reporter web page; questions in<br>the Maud forum accessible from the Maud web page.<br>In a future article we will report the instructions on how to modify/extend the program by little Java programming or provide a new alternative model/plugin for the instrument or the structure/microstructure or datafiles importing.<br>References<br>[1] D. L. Bish and S. A. Howard. J. Appl. Cryst., 21, 86–91, 1988.<br>[2] R. J. Hill and C. J. Howard. J. Appl. Cryst., 20, 467–474, 1987.<br>[3] L. Lutterotti and S. Gialanella. Acta Mater., 46(1), 101–110, 1998.<br>[4] N. C. Popa. J. Appl. Cryst., 31, 176–180, 1998.<br>[5] B. E. Warren. X-ray Diffraction. Addison-Wesley, Reading, MA, 1969</p>



<p>Author: Luca Lutterotti<br>Dipartimento di Ingegneria dei Materiali e delle Tecnologie Industriali<br>Universita di Trento, 38050 Trento, Italy `<br>E-mail: Luca.Lutterotti@ing.unitn.it<br>WWW: http://www.ing.unitn.it/ maud</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.analyzetest.com/2021/04/06/quantitative-rietveld-analysis-in-batch-mode-with-maud/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
	</channel>
</rss>
