<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=x-gbk" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Tom,<br>
<br>
I am not an expert in using McStas, but I guess the McStas peak profile
has been obtained by the BananaTheta monitor. If so, it is not the
angular peak profile, which is measured by scanning the detector angle
(and which is simulated by SIMRES). Instead, you only see the angular
distribution of neutrons passing through the Soller lamellae in front
of the PSD. Instead, you need to make a scan by the sample_out
component angle in order to get equivalent results and (hopefully) the
same peak profiles.<br>
<br>
With SIMRES, you can either simulate the resolution function (as you
have done) or to make the THETA scan as suggested above. The results
are nearly the same (in contrast to the simulation speeds). I was able
to reproduce your results by both the methods.<br>
<br>
I am not worried about differences in absolute intensities at the
moment, as there are many issues to be checked first (e.g.
normalization of the resolution function or physical models used by the
two programs for the monochromator and sample components). <br>
<br>
All the best,<br>
Jan<br>
<br>
wokaoyan1981 wrote:
<blockquote
cite="mid:24237569.876631250594545180.JavaMail.coremail@bj126app50.126.com"
type="cite">
<div>
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="ProgId" content="Word.Document">
<meta name="Generator" content="Microsoft Word 11">
<meta name="Originator" content="Microsoft Word 11">
<link rel="File-List"
href="file:///C:%5CDOCUME%7E1%5Creborn%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:PunctuationKerning/>
<w:DrawingGridVerticalSpacing>7.8 磅</w:DrawingGridVerticalSpacing>
<w:DisplayHorizontalDrawingGridEvery>0</w:DisplayHorizontalDrawingGridEvery>
<w:DisplayVerticalDrawingGridEvery>2</w:DisplayVerticalDrawingGridEvery>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:Compatibility>
<w:SpaceForUL/>
<w:BalanceSingleByteDoubleByteWidth/>
<w:DoNotLeaveBackslashAlone/>
<w:ULTrailSpace/>
<w:DoNotExpandShiftReturn/>
<w:AdjustLineHeightInTable/>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:UseFELayout/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</
xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" LatentStyleCount="156">
</w:LatentStyles>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-alt:SimSun;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;
mso-font-charset:134;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 135135232 16 0 262145 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.5pt;
mso-bidi-font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:宋体;
mso-font-kerning:1.0pt;}
/* Page Definitions */
@page
{mso-page-border-surround-header:no;
mso-page-border-surround-footer:no;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:42.55pt;
mso-footer-margin:49.6pt;
mso-paper-source:0;
layout-grid:15.6pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:普通表格;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
table.MsoTableGrid
{mso-style-name:网格型;
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
border:solid windowtext 1.0pt;
mso-border-alt:solid windowtext .5pt;
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-border-insideh:.5pt solid windowtext;
mso-border-insidev:.5pt solid windowtext;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
mso-pagination:none;
font-size:10.0pt;
font-family:"Times New Roman";
mso-ansi-language:#0400;
mso-fareast-language:#0400;
mso-bidi-language:#0400;}
</style>
<![endif]-->
<p class="MsoNormal"><span lang="EN-US">Hello colleagues,</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">SIMRES, a new program for
neutron
ray-tracing simulations, is now available at
<a class="moz-txt-link-freetext" href="http://neutron.ujf.cas.cz/restrax/">http://neutron.ujf.cas.cz/restrax/</a>. It’s
capable of simulating any user-defined instrument layout such as strain
diffractometer, three-axis spectrometer equipped with advanced
components like
focusing crystals (both mosaic and elastically deformed), radial
collimators,
benders. etc.</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><span style=""> </span>In
order to test reliability of the code, a strain scanner is simulated by
SIMRES
and McStas respectively. (See enclosure) The results show intensities
and
resolutions are distinct.(Peak reflectivity r0 for McStas is calculated
by
NOP). Will anyone explain the difference?</span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<table class="MsoTableGrid"
style="border: medium none ; border-collapse: collapse;" border="1"
cellpadding="0" cellspacing="0">
<tbody>
<tr style="">
<td
style="border: 1pt solid windowtext; padding: 0cm 5.4pt; width: 41.4pt;"
valign="top" width="55">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US"><o:p> </o:p></span></p>
</td>
<td
style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 117pt;"
valign="top" width="156">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">Intensity
/ s<sup>-1</sup><o:p></o:p></span></p>
</td>
<td
style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 99pt;"
valign="top" width="132">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">FWHM
/</span><span style="font-size: 12pt; font-family: 宋体;" lang="EN-US"> </span><span
style="font-size: 12pt; font-family: 宋体;">°</span><span
style="font-size: 12pt;" lang="EN-US"><o:p></o:p></span></p>
</td>
<td
style="border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0cm 5.4pt; width: 135pt;"
valign="top" width="180">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">Deviation
(8</span><span style="font-size: 12pt; font-family: 宋体;" lang="EN-US">4</span><span
style="font-size: 12pt; font-family: 宋体;">°<span lang="EN-US">)</span></span><span
style="font-size: 12pt;" lang="EN-US"> / </span><span
style="font-size: 12pt; font-family: 宋体;">°</span><span
style="font-size: 12pt;" lang="EN-US"><o:p></o:p></span></p>
</td>
</tr>
<tr style="">
<td
style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 41.4pt;"
valign="top" width="55">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">SIMRES<o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 117pt;"
valign="top" width="156">
<p class="MsoNormal"><span style="font-family: Arial;"
lang="EN-US">10.980</span><span style="font-size: 12pt;" lang="EN-US"><o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 99pt;"
valign="top" width="132">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">0.71087<o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 135pt;"
valign="top" width="180">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">0.0074441<o:p></o:p></span></p>
</td>
</tr>
<tr style="">
<td
style="border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0cm 5.4pt; width: 41.4pt;"
valign="top" width="55">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">McStas<o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 117pt;"
valign="top" width="156">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">108.959<o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 99pt;"
valign="top" width="132">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">0.23471<o:p></o:p></span></p>
</td>
<td
style="border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0cm 5.4pt; width: 135pt;"
valign="top" width="180">
<p class="MsoNormal"><span style="font-size: 12pt;" lang="EN-US">-0.003<o:p></o:p></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best wishes,</span></p>
<p class="MsoNormal"><span lang="EN-US">Tom</span></p>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
-----------------------------------------
Dr Jan Saroun
Nuclear Physics Institute
Academy of Sciences of the Czech Republic
25068 Rez near Prague
phone: 420-2-66173140 phone/fax: 420-2-20940141
<a class="moz-txt-link-freetext" href="mailto:saroun@ujf.cas.cz">mailto:saroun@ujf.cas.cz</a>
</pre>
</body>
</html>