<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        color:black;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear Benoit,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thanks for your email. Here is some more information about using RMCProfile with X-ray data. I am working on an example to show how it works for the next release
 of the program (coming soon!) which will hopefully clear things up further.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">To fit an X-ray F(Q) you can use the XRAY_RECIPROCAL_SPACE_DATA keyword. The datafile that you use must contain the X-ray form factors and the data itself must
 be convolved with the box size. There is a program called xray_to_rmc included with RMCProfile that will take data in the ‘normal’ rmc format, which is a two column ascii starting with the number of data points, like so:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">1200<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">#title line<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">x1 y1<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">x2 y2<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">.    .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">.    .<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">xn yn<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">and make a correctly formatted X-ray data file.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Currently an X-ray PDF can be treated like a neutron PDF but with different weightings. This is obviously an approximation and it’s important to fit the F(Q)
 and Bragg (if applicable) as well. <o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">So for an X-ray PDF you use the NEUTRON_REAL_SPACE_DATA keyword, and supply a subordinate keyword NEUTRON_COEFFICIENTS which defines the weightings. These you
 calculate in the same way as for neutrons but replace the scattering length, b, with atomic number of the element in question.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I hope this answers your query but please do get in touch if not or if you have further questions.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best wishes,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Helen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> rmcprofile-users [mailto:rmcprofile-users-bounces@rmcprofile.org]
<b>On Behalf Of </b>Benoit Baptiste<br>
<b>Sent:</b> 05 May 2014 08:52<br>
<b>To:</b> rmcprofile-users@rmcprofile.org<br>
<b>Subject:</b> Re: [RMCProfile-users] RMCPROFILE<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear Helen,<br>
<br>
I'm also working with x-ray PDFs (obtained with pdfgetx3 from Ag source measurements) and I've read there is maybe a way to use it in rmc profile. If it's possible, could you please give me more details about that ? I didn't find anything in the manual...<br>
<br>
Thanks in advance,<br>
<br>
Benoît Baptiste<br>
<br>
<br>
<o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Institut de Minéralogie, de Physique des Matériaux et de Cosmochimie<o:p></o:p></pre>
<pre>Plateforme de diffraction des rayons X<o:p></o:p></pre>
<pre>4 Place Jussieu - case courrier 115<o:p></o:p></pre>
<pre>75005 Paris <o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
Le 28/04/2014 13:22, <a href="mailto:helen.playford@stfc.ac.uk">helen.playford@stfc.ac.uk</a> a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Dear H.Wu,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you for your email.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The keyword XRAY_RECIPROCAL_SPACE_DATA should work (but requires the data to be in a very specific format, which we are working on an example for), but at the
 present time the keyword XRAY_REAL_SPACE_DATA is not implemented as there are questions over the accuracy of the Fourier transform. There are ways around this if you need to work with X-ray PDFs, which I can explain in more detail if necessary. Keywords with
 X_ at the start are not implemented.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I am a little confused by your second paragraph. Do you have data from SiO2? In SiO2 each Si is coordinated to four, not five O atoms. The neighbour list file
 you show is telling you that some atoms do not have the expected number of neighbours. If you were trying to run with the SiO2 polyhedral restraint this would have caused the errors. How did you generate the second file? It would not have produced errors as
 each Si atom has 4 neighbours, but it’s important that the connectivity is correct (i.e. that Si atom #1 is really connected to O atoms #65, 74, 79 and 85).</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Please let me know if you would like further help working with X-ray data, or if you have any other questions.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best wishes,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Helen</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ZH-CN"> rmcprofile-users
 [<a href="mailto:rmcprofile-users-bounces@rmcprofile.org">mailto:rmcprofile-users-bounces@rmcprofile.org</a>]
<b>On Behalf Of </b>????<br>
<b>Sent:</b> 22 April 2014 08:07<br>
<b>To:</b> rmcprofile-users<br>
<b>Subject:</b> [RMCProfile-users] RMCPROFILE</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Dear author ,<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">      I 'm working with local atomic arrangement in disorder materials. When I study the RMCProfile software, I have some questions so need your help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">      In the SF6 example, I can get better results after studying the manual. But for the rmcsf6.dat file, I have some questions on the keyword of "NEUTRON_REAL(or RECIPROCAL)_SPACE_DATA". If I have X-ray diffraction data, I will modify
 "NEUTRON" to "XRAY", but there will be some errors; but if I modify  "NEUTRON" to "X", then it will success, but there is no important "rmcsf6_PDF1.csv" and "rmcsf6_SQ1.csv" files in the makefiles<span style="font-size:13.5pt;font-family:"Arial","sans-serif";color:#333333">.</span> I
 don't know the reason. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">       Another question is restraint files. In the SF6 example, a S atom is adjacent with six O atoms and a O atom is adjacent with one S atom, because SF6 is unlinked octahedral material. When I research SiO2, SiO2 is linked tetrahedral
 material, so there exists boundary problem. In principle, a Si atom is adjacent with five O atoms and a O atom is adjacent with two Si atom. But when I use neighbour_list.exe to create restraint files, SiO2.sio is:<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">          64<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     1     1      65<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     2     2      66    80<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     3     2      67    73<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     4     2      68    79<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     5     4      67    69    76    78<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     6     4      65    73    79    80<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     7     4      66    71    72    77<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     8     4      68    70    74    75<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     9     1      81<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    10     4      69    74    82    96<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    11     2      83    89<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    12     2      84    95<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    13     4      83    85    92    94<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    14     4      81    89    95    96<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    15     4      82    87    88    93<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    16     4      84    86    90    91<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    17     1      97<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    18     2      98   112<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    19     4      71    75    99   105<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    20     2     100   111<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    21     4      99   101   108   110<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    22     4      97   105   111   112<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    23     4      98   103   104   109<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    24     4     100   102   106   107<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    25     2      70   113<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    26     4     101   106   114   128<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    27     4      87    91   115   121<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    28     2     116   127<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    29     4     115   117   124   126<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    30     4     113   121   127   128<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    31     4     114   119   120   125<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">But there is error when I run the RMCProfile. I artificially change SiO2.sio file to SF6-like restraint files, there is no error. I don't know the reasons.This is modified file:<o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal">          64<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     1     4      65    74    79    85<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     2     4      66    80    87    92<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     3     4      67    73    78    86<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     4     4      68    79    81    91<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     5     4      67    69    76    78<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     6     4      65    73    79    80<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     7     4      66    71    72    77<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     8     4      68    70    74    75<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">     9     4      81    88    93    99<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    10     4      69    74    82    96<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    11     4      83    89    98    116<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    12     4      84    95    97    102<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    13     4      83    85    92    94<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    14     4      81    89    95    96<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    15     4      82    87    88    93<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    16     4      84    86    90    91<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    17     4      97    99   105   116<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    18     4      98   112   128   134<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    19     4      71    75    99   105<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    20     4     100   111   147   158<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    21     4      99   101   108   110<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    22     4      97   105   111   112<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    23     4      98   103   104   109<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    24     4     100   102   106   107<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    25     4      70   113   139   178<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    26     4     101   106   114   128<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    27     4      87    91   115   121<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    28     4     116   127   178   175<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    29     4     115   117   124   126<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    30     4     113   121   127   128<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">    31     4     114   119   120   125<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">I know my expression have some questions, so I'm very sorry and hope you forgive me. Thank you very much!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Best wish!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">H.Wu<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p>-- <br>
Scanned by iCritical. <o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>rmcprofile-users mailing list<o:p></o:p></pre>
<pre><a href="mailto:rmcprofile-users@rmcprofile.org">rmcprofile-users@rmcprofile.org</a><o:p></o:p></pre>
<pre><a href="http://lists.rmcprofile.org/mailman/listinfo/rmcprofile-users">http://lists.rmcprofile.org/mailman/listinfo/rmcprofile-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre><o:p> </o:p></pre>
</div>
</body>
</html>