If you have a measurement file, e.g diffractada_sample123.raw (a bruker raw file, the name can be anything; I normally put a sample identification phrase, such as where it is from and what depth it was at), you would like to refine it with different parameters or different combinations of minerals. You can write a batch file and let the program run thru the weekend. or you can run many samples this way, too.
For BGMN, running from GUI or from command line does not make a difference. For Topas, running from command line has much more flexibility than running from GUI; this was foreseeable likely due to that the command line and the GUI are from different owners (?)
Because I write the blog posts at home and TOPAS is available only at workplace; I cannot put screenshots here to show how it is done for TOPAS. Sorry.
________________a.bat___________
rem make sure the path is set up correctly
rem make sure the output file is NOT overwritten
rem __________________________________
BGMN diffractada_sample123_paramset1.sav
BGMN diffractada_sample123_paramset2.sav
BGMN diffractada_sample123_paramset3.sav
TC diffractada_sample123_paramset1.inp
TC diffractada_sample123_paramset2.inp
TC diffractada_sample123_paramset3.inp
for example:
I can run the example file with two mineral assemblages (see figure; the combination does not make sense; just to demonstrate what the program can do)
by putting the following line in a bat file
rem ____copy from here and paste into a notepad_
rem __________to generate_a.bat______________
rem ____you have to make sure that all three mineral structure files
rem _____are present in the folder
BGMN BariteQuartz.sav
BGMN BariteCalcite.sav
rem ______copy to this line________________
Sunday, September 27, 2015
Friday, September 25, 2015
BGMN: what files are there
(all features are described in BGMN.de; I am rehashing what the experts are saying over there;
the flexibility is apparent as the language is structured and free-styled; but, the variables are case-sensitive)
One of the main nice features, in my opinion, is the calculated instrument profiles at various 2theta values. These profiles are further interpolated. To generate these profile files, an instrument .sav file (which you can open with notepad) is needed. you'll see that the instrument setup file, .sav, and two profile files are needed for the refinement. Certainly, if you don't have any profile, you still can do the refinement, and the error can come out of this.
So what files are needed to do the refinement?
Here is a look at one of the exercise folders. There are two rows of files; the top row has two .str file, one .sav file, and one .val file; the bottom row has three files with the same name, and they are for the instrument profiles.
The .val file is the measurement file from your diffractometer. It is simply a file telling you the diffracted x-ray intensity. The two .str files are the mineral structures, in our example, the structures of quartz and barite. The top row .sav file, BariteQuartz.sav, is a control file, containing instructions you are telling the program how to run the refinement.
My guess is that Dr. Kleeberg wrote these files; all of them are documented super well. Let me open the BariteQuartz.sav file.
the measurement data file looks like this
the flexibility is apparent as the language is structured and free-styled; but, the variables are case-sensitive)
One of the main nice features, in my opinion, is the calculated instrument profiles at various 2theta values. These profiles are further interpolated. To generate these profile files, an instrument .sav file (which you can open with notepad) is needed. you'll see that the instrument setup file, .sav, and two profile files are needed for the refinement. Certainly, if you don't have any profile, you still can do the refinement, and the error can come out of this.
So what files are needed to do the refinement?
Here is a look at one of the exercise folders. There are two rows of files; the top row has two .str file, one .sav file, and one .val file; the bottom row has three files with the same name, and they are for the instrument profiles.
The .val file is the measurement file from your diffractometer. It is simply a file telling you the diffracted x-ray intensity. The two .str files are the mineral structures, in our example, the structures of quartz and barite. The top row .sav file, BariteQuartz.sav, is a control file, containing instructions you are telling the program how to run the refinement.
My guess is that Dr. Kleeberg wrote these files; all of them are documented super well. Let me open the BariteQuartz.sav file.
the measurement data file looks like this
the structure file, quartz.str, is here;
Thursday, September 24, 2015
BGMN: the GUIs and unique features
There are two GUIs: Dr. Doebelin's Profex and Dr. Bergmann's BGMNwin.
Dr. Bergmann's BGMNwin was easy to use. It is the file BGMNwin.jar. For most window users, you just need to double click on it. If it does not work, open the black command window, go to the BGMNwin directory, using cd command; then type java -jar BGMNwin.jar; looks to me that it was written in java, so you need to make sure you have java installed on the computer.
http://profex.doebelin.org/ is the web address of Dr Doebelin's profex, which is a front end of BGMN (fullprof). it is very user friendly. you don't need to be computer savvy to go through the procedure. there are class notes and handouts to help understand the concept.
______________Unique features________________
http://bgmn.de/features.html says
Papers by any one of these are joy to read, from my personal experience.
J. Bergmann; R. Kleeberg; K. Ufer; P. Friedel
Dr. Bergmann's BGMNwin was easy to use. It is the file BGMNwin.jar. For most window users, you just need to double click on it. If it does not work, open the black command window, go to the BGMNwin directory, using cd command; then type java -jar BGMNwin.jar; looks to me that it was written in java, so you need to make sure you have java installed on the computer.
http://profex.doebelin.org/ is the web address of Dr Doebelin's profex, which is a front end of BGMN (fullprof). it is very user friendly. you don't need to be computer savvy to go through the procedure. there are class notes and handouts to help understand the concept.
______________Unique features________________
http://bgmn.de/features.html says
BGMN has an impressive set of features which are not to be found in this form in other Rietveld programs. |
- Fully automatic calculation which requires no user interaction
- best numerical algorithms specially designed for BGMN which guarantee an extreme numerical stability
- physical based peak model which eliminates the refinement of peak profile parameters (no more refinement of u, v, w)
- automated background refinement
- unlimited number of phases, parameters, measuring points etc.
- Correction of strong and multiple preferred orientation with spherical harmonics:
- can correct the strong preferred orientation of phyllosilicates
- can correct the PO of phases with multiple cleavage
- automatic decision about applicability of complicated models
- Pre-defined models for microstructure related line broadening effects:
- refinement of crystallite size broadening effects with 1-2 parameters per phase; 6-7 in anisotropic case
- refinement of microstrain with one parameter per phase; 6 or 15 in anisotropic case
- Phase analysis of disordered layer silicates/clays by implementation of advanced real structure models (e.g. for kaolinite and chlorites)
- succesful description of strong disordered kaolinite
- modelling of turbostratically disordered phases possible, e.g. smectites
- recursive modelling of random stacked clay minerals etc.
- BGMN now is multithread-enabled and therefore gains in speed from multicore PCs/workstations.
- In special, this is the solution for bringing time-consuming recursive structure models into the reach of daily laboratory analysis.
- Correction of microabsorption with the Brindley model
- only the mean particle size has to be provided
- Calculation of amorphous content by an internal standard method possible
- Structure interpreter language for free definition of new parameters and constraints between parameters
- This language includes special features for structure investigation and refinement:
- enables the definition of rigid and non-rigid bodies
- non-rigid bodies may be distorted by shifting, rotation or torsion of the whole or parts of them
- built in force field model to ensure optimal distances between the atoms and to guarantee chain concatenation
Papers by any one of these are joy to read, from my personal experience.
J. Bergmann; R. Kleeberg; K. Ufer; P. Friedel
Wednesday, September 23, 2015
BGMN: 1st time use for dummies
Nowadays, there are GUIs so you can click and everything is there.
In late 1999, I was trying to learn Koalariet and BGMN. and started to like BGMN (bgmn.de) because of the simplicity and nicety. I still remember the 1st time of try.
1. click on start, type "cmd" to bring a dos window; type drive letter and : then enter (the drive you save the data on, in my case it is Q: ). if your files are already on C: drive, you don't have to type this command, D: E: or Q: .

In late 1999, I was trying to learn Koalariet and BGMN. and started to like BGMN (bgmn.de) because of the simplicity and nicety. I still remember the 1st time of try.
1. click on start, type "cmd" to bring a dos window; type drive letter and : then enter (the drive you save the data on, in my case it is Q: ). if your files are already on C: drive, you don't have to type this command, D: E: or Q: .

2. In the black window, type set path=%path%; (note: there is no trailing space) then drag the BGMNwin folder in the right explorer window into the black box; then press enter.
3. in the black window, type set eflech= (note there is no trailing space) then drag the BGMNwin folder into the black window, hit enter
4. in the black window, type cd [space] , then drag the folder where the exercise folder is, hit enter
5. in the black window, type BGMN [space] then drag the ".sav" file, hit enter
congratulation to you! you did it
TOPAS from Bruker and Topas Academic
Bruker provides the commercial version and Dr. Coelho provides the academic version. For non-clay minerals, it is very straight forward using its GUI; but all the advanced usage is to be done in the non-GUI mode. A good editor is needed so all the reserved keywords can be highlighted for efficiently edit the file. The following website recommends JEDIT, which is free.
[Out of curiosity, I searched Koalariet, it is still there in the web space. It was also written by Dr. Coelho, the structure and input files are the same. If you want to get a taste of Topas but you don't have money, you may want to give this a try. It is free, or was free. I'll give it a try soon in the future for the economic users.
http://ccp14.chem.ucl.ac.uk/ccp/ccp14/ccp14-by-program/xfit-koalariet/xfit-koalariet-win95/read1st.txt]
http://www.topas-academic.net/
The latest version is version 5. what is new in version5.pdf
Tutorial is here http://community.dur.ac.uk/john.evans/topas_academic/topas_main.htm
Monday, September 21, 2015
Rietveld Software: GSAS
according to Dr. Toby, there are dozens of software.
But of the people they surveyed, 3/4 are using GSAS. Certainly, it is developed by a group of smart people and it belongs to our government, i.e. you can use it free of charge. so "i don't have money" is not an excuse anymore.
here is the full blown intro by Dr, Toby
http://www.aps.anl.gov/Xray_Science_Division/Powder_Diffraction_Crystallography/4GSASEXPGUIintro/4GSASEXPGUIintro.html
there are online trainings too. you can go to
http://www.aps.anl.gov/Xray_Science_Division/Powder_Diffraction_Crystallography/GSASEXPGUI.html
_______________________________________
one Chinese guy is giving some advice, in a funny way. Hope you heard of google translate; I 'll translate some of the sentences when feel like doing it.
http://emuch.net/html/201110/3668889.html
关于精修,我想说的是,一定要知道X射线晶体学的一些理论知识,如果对XRD的认知仅仅停留在会对照PDF卡片定性分析,建议暂时不要入手精修,先闭关修炼一段时间再来入手。
我的经验是这样的:一年前,我对XRD的认知就是会定性分析,用下jade,highscore什么的。偶然的机会下了GSAS,弄了两下,一头雾水。 后来,知道了倒易空间,布拉菲点阵啊,32点群,230对称群,11laue群啊什么的,(虽然不精通,但至少知道怎么回事)。 后来再用了下GASA,半天搞定,后面又用了一两天 搞定了 fullprof,muad,topas(都是触类旁通)。 现在完全可以用这些软件进行精修。
这些软件原理基本一样,但各有特色:
GSAS和fullprof名气应该很大,个人觉得GSAS的择优取向校正 多了 sphere harmonic函数,这个函数校正择优取向很有效,fullprof虽然提供了4中择优校正函数,但是都要自己输入择优方向,而harmonic只要选择阶数和laue群就行,对一些取向不是特别明显 或者通过谱图,无法肉眼判断择优方向时,很有效。【JZ: both GSAS and fullprof are famous; but personally I think GSAS used spherical harmonic function for orientation correction, which is very effective. On the other hand, fullprof provides four different orientation corrections, but you have to select which direction is the preferred orientation. Spherical harmonic correction needs only two inputs, the order number and laue, and it's useful for samples hard to judge which direction is the preferred direction 】而GSAS的微结构分析方面个人觉得比fullprof差(也或许是我不会,呵呵),fullprof 提供 了 各项同性和各向异性的 晶粒大小和 微观应变的 模型,只要提供 irf文件,就可以进行 WH和WA 的分析,非常方便。(但是对微结构的分析 我还推荐一个专门软件:MarqX和PM2K,这两款款是同一个组编写的,PM2K界面要友好,都是免费软件,只是需要自己输命令,比较麻烦,但做微结构分析,这绝对是很好的软件)。
再来说说maud,可能有些人不熟,但却是很好用。这里面提供一个向导,就是说你只要点一个键,就可以完成精修,很傻瓜式,但是要得到好的结果,只用向导肯定是不行的。但是不用向导就比较麻烦,因为各个参数全部在一个叫parameter list的树形目录里,不是按钮模式,是文字模式,可能 对不懂理论的人 就傻眼了。 不知道写的是什么。但是内行,应该很看出 大部分参数的意义。这个软件 对择优取向的模型非常多,harmonic里 提供了 11个lau群( 而GASA里 好像只有 3个?反正很少),而且能画出彩色极密度图,非常方便。对微结构分析至少比GSAS方便。只是峰形函数只有一个,没有GSAS和fullprof多。
那个最后一个就是topas了 我用的是 academic版, 所以运行起来麻烦, 总体感觉跟GSAS差不多,择优取向 也有harmonic函数,但是 好像 背景不能自己加点。 但是有个问题:可能是这个收费软件 即便是academic版,我用的是破解版,输入 AlOOH模型时,计算的向相对强度 始终不对,我检查了占有率和温度因子,好像都没错误,不知道为什么? 是不是破解版缺少了 什么东西,或者是原子的散射因子 数据库有问题? 反正不推荐使用,因为在精修方面 ,它能做的 上面三款 都能做, 而且 它还是收费软件,强烈不推荐。
But of the people they surveyed, 3/4 are using GSAS. Certainly, it is developed by a group of smart people and it belongs to our government, i.e. you can use it free of charge. so "i don't have money" is not an excuse anymore.
here is the full blown intro by Dr, Toby
http://www.aps.anl.gov/Xray_Science_Division/Powder_Diffraction_Crystallography/4GSASEXPGUIintro/4GSASEXPGUIintro.html
http://www.aps.anl.gov/Xray_Science_Division/Powder_Diffraction_Crystallography/GSASEXPGUI.html
_______________________________________
one Chinese guy is giving some advice, in a funny way. Hope you heard of google translate; I 'll translate some of the sentences when feel like doing it.
http://emuch.net/html/201110/3668889.html
关于精修,我想说的是,一定要知道X射线晶体学的一些理论知识,如果对XRD的认知仅仅停留在会对照PDF卡片定性分析,建议暂时不要入手精修,先闭关修炼一段时间再来入手。
我的经验是这样的:一年前,我对XRD的认知就是会定性分析,用下jade,highscore什么的。偶然的机会下了GSAS,弄了两下,一头雾水。 后来,知道了倒易空间,布拉菲点阵啊,32点群,230对称群,11laue群啊什么的,(虽然不精通,但至少知道怎么回事)。 后来再用了下GASA,半天搞定,后面又用了一两天 搞定了 fullprof,muad,topas(都是触类旁通)。 现在完全可以用这些软件进行精修。
这些软件原理基本一样,但各有特色:
GSAS和fullprof名气应该很大,个人觉得GSAS的择优取向校正 多了 sphere harmonic函数,这个函数校正择优取向很有效,fullprof虽然提供了4中择优校正函数,但是都要自己输入择优方向,而harmonic只要选择阶数和laue群就行,对一些取向不是特别明显 或者通过谱图,无法肉眼判断择优方向时,很有效。【JZ: both GSAS and fullprof are famous; but personally I think GSAS used spherical harmonic function for orientation correction, which is very effective. On the other hand, fullprof provides four different orientation corrections, but you have to select which direction is the preferred orientation. Spherical harmonic correction needs only two inputs, the order number and laue, and it's useful for samples hard to judge which direction is the preferred direction 】而GSAS的微结构分析方面个人觉得比fullprof差(也或许是我不会,呵呵),fullprof 提供 了 各项同性和各向异性的 晶粒大小和 微观应变的 模型,只要提供 irf文件,就可以进行 WH和WA 的分析,非常方便。(但是对微结构的分析 我还推荐一个专门软件:MarqX和PM2K,这两款款是同一个组编写的,PM2K界面要友好,都是免费软件,只是需要自己输命令,比较麻烦,但做微结构分析,这绝对是很好的软件)。
再来说说maud,可能有些人不熟,但却是很好用。这里面提供一个向导,就是说你只要点一个键,就可以完成精修,很傻瓜式,但是要得到好的结果,只用向导肯定是不行的。但是不用向导就比较麻烦,因为各个参数全部在一个叫parameter list的树形目录里,不是按钮模式,是文字模式,可能 对不懂理论的人 就傻眼了。 不知道写的是什么。但是内行,应该很看出 大部分参数的意义。这个软件 对择优取向的模型非常多,harmonic里 提供了 11个lau群( 而GASA里 好像只有 3个?反正很少),而且能画出彩色极密度图,非常方便。对微结构分析至少比GSAS方便。只是峰形函数只有一个,没有GSAS和fullprof多。
那个最后一个就是topas了 我用的是 academic版, 所以运行起来麻烦, 总体感觉跟GSAS差不多,择优取向 也有harmonic函数,但是 好像 背景不能自己加点。 但是有个问题:可能是这个收费软件 即便是academic版,我用的是破解版,输入 AlOOH模型时,计算的向相对强度 始终不对,我检查了占有率和温度因子,好像都没错误,不知道为什么? 是不是破解版缺少了 什么东西,或者是原子的散射因子 数据库有问题? 反正不推荐使用,因为在精修方面 ,它能做的 上面三款 都能做, 而且 它还是收费软件,强烈不推荐。
Students in Clay minerals and XRD
I did not know there was this society for students. Watch this video
https://www.youtube.com/watch?v=IxftaP9I-sg#t=31
<iframe width="560" height="315" src="https://www.youtube.com/embed/IxftaP9I-sg" frameborder="0" allowfullscreen></iframe>

_________________________________________
http://www.master-imacs.org/
http://www.master-imacs.org/master-nanotechnologie-overview-Obj/obj.php
IMACS (International Master in Advanced Clay Science) is the first multi-disciplinary program that brings together the widely-distributed knowledge of clay science.
IMACS is an integrated 2 years master programme delivered by five Universities : the University of Poitiers (France), the Technical University of Crete (Chania - Greece), the University of Aveiro (Portugal), the University of Ottawa (Canada) and the Federal University of Rio Grande Do Sul (Porto Alegre – Brazil), and is supported by the French Clay Group (GFA) and AIPEA (International Association for the Study of Clay Minerals) which are associated members of IMACS.
_________________________________________
some young guys sharing their experiences.
Subscribe to:
Posts (Atom)
















