From shu-yan.zhang at stfc.ac.uk Mon Mar 16 15:05:32 2009 From: shu-yan.zhang at stfc.ac.uk (Zhang, SY (Shu Yan)) Date: Mon, 16 Mar 2009 14:05:32 -0000 Subject: [mcstas-users] roughness of mirror in the Guide component Message-ID: Hi I have question regarding the "Guide" component. Can I define the mirror's roughness in the component? Many thanks! Shu -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lefmann at fys.ku.dk Mon Mar 16 19:56:46 2009 From: lefmann at fys.ku.dk (Kim Lefmann) Date: Mon, 16 Mar 2009 19:56:46 +0100 (CET) Subject: [mcstas-users] roughness of mirror in the Guide component In-Reply-To: References: Message-ID: Dear Shu, Most used versions of the Guides use a "flat" mirror, where the reflectivity curve is given by an analytical form or a tabulated input. I believe the roughness could be included in these tables (which we leave for the users to calculate). There is a guide version, where waviness is included, i.e. where the deviations from a flat surface are much larger than the neutron wavelength. Here, the angle of exit does not equal the angle of incidence. hope this helps. best, Kim ----------------- Kim Lefmann Associate Professor (Lektor) Niels Bohr Institute University of Copenhagen Phone: +45 3532 0476 Mobile:+45 2925 0476 On Mon, 16 Mar 2009, Zhang, SY (Shu Yan) wrote: > Hi > > I have question regarding the "Guide" component. Can I define the > mirror's roughness in the component? > > Many thanks! > Shu > > -- > > Scanned by iCritical. > From caspie at nrcn.org.il Tue Mar 17 12:07:19 2009 From: caspie at nrcn.org.il (=?windows-1255?B?4Ozy4yDr8fTp?=) Date: Tue, 17 Mar 2009 13:07:19 +0200 Subject: [mcstas-users] Question regarding scan Message-ID: Dear fellows, I am a neutron user, new to the field of neutron beam tracking. I had started using mcstas few weeks ago. During my toying with the program, I had managed to describe a simple diffraction setup with a 1D disk detector. I would like to perform a scanning procedure with this detector, using the scan option. However, it seems as if mcstas (version 1.12), while in the scan option, "does not" take into consideration the number of "neutron counts" I am asking it to use. The resulting data have the same statistics when I use either 1000 neutron counts, or 100000000 neutron counts. Whenever I perform only one point (NO SCAN) the difference between the data resulted from different values of "neutron counts" is obvious both in the calculation time and the statistics. I would appreciate any help regarding this problem. Sincerely, El'ad Caspi. ************************************************************************************* This email has been scaned by PrivaWall ************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at risoe.dtu.dk Tue Mar 17 13:06:04 2009 From: pkwi at risoe.dtu.dk (Peter Willendrup) Date: Tue, 17 Mar 2009 13:06:04 +0100 Subject: [mcstas-users] Question regarding scan In-Reply-To: References: Message-ID: <33F77009-CA48-464B-8597-AB236C8465A7@risoe.dtu.dk> Hello El'ad, Could it be that you are running McStas on windows? In that case, you are the victim of a known bug, see http://mailman.mcstas.org/pipermail/mcstas-users/2008q3/000787.html Replace your c:\McStas\bin\mcrun.pl with this one: http://cvs.mcstas.org/cgi-bin/viewcvs.cgi/mcstas/mcrun.pl?revision=1.92&root=McStasStable The problem will be fixed in mcstas-1.12a which is in preparation. Regards and hope this helps, Peter Willendrup -- ------------------------------------------------------------------- Peter Willendrup - Development engineer RIS? DTU Materials Research Division Frederiksborgvej 399 DK-4000 Roskilde Tlf.: (+45) 4677 5862 Mobil.: (+45) 2125 4612 Fax.: (+45) 4766 5758 NEW EMAIL ADR.: pkwi at risoe.dtu.dk ------------------------------------------------------------------- On 17/03/2009, at 12.07, ???? ???? wrote: > Dear fellows, > > I am a neutron user, new to the field of neutron beam tracking. I > had started using mcstas few weeks ago. During my toying with the > program, I had managed to describe a simple diffraction setup with a > 1D disk detector. I would like to perform a scanning procedure with > this detector, using the scan option. However, it seems as if mcstas > (version 1.12), while in the scan option, "does not" take into > consideration the number of "neutron counts" I am asking it to use. > The resulting data have the same statistics when I use either 1000 > neutron counts, or 100000000 neutron counts. Whenever I perform only > one point (NO SCAN) the difference between the data resulted from > different values of "neutron counts" is obvious both in the > calculation time and the statistics. > > I would appreciate any help regarding this problem. > > Sincerely, > > El'ad Caspi. > > > ************************************************************************************* > > This email has been scaned by PrivaWall > > ************************************************************************************* > > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -------------- next part -------------- An HTML attachment was scrubbed... URL: From caspie at nrcn.org.il Tue Mar 17 19:59:14 2009 From: caspie at nrcn.org.il (=?utf-8?B?15DXnNei15Mg15vXodek15k=?=) Date: Tue, 17 Mar 2009 20:59:14 +0200 Subject: [mcstas-users] Question regarding scan Message-ID: Thanks Peter. Yes, that as the problem. Now it works. El'ad. ________________________________ From: mcstas-users-bounces at mcstas.org [mailto:mcstas-users-bounces at mcstas.org] On Behalf Of Peter Willendrup Sent: Tuesday, March 17, 2009 2:06 PM To: McStas users list at mcstas.org Subject: Re: [mcstas-users] Question regarding scan Hello El'ad, Could it be that you are running McStas on windows? In that case, you are the victim of a known bug, see http://mailman.mcstas.org/pipermail/mcstas-users/2008q3/000787.html Replace your c:\McStas\bin\mcrun.pl with this one: http://cvs.mcstas.org/cgi-bin/viewcvs.cgi/mcstas/mcrun.pl?revision=1.92&root=McStasStable The problem will be fixed in mcstas-1.12a which is in preparation. Regards and hope this helps, Peter Willendrup -- ------------------------------------------------------------------- Peter Willendrup - Development engineer RIS? DTU Materials Research Division Frederiksborgvej 399 DK-4000 Roskilde Tlf.: (+45) 4677 5862 Mobil.: (+45) 2125 4612 Fax.: (+45) 4766 5758 NEW EMAIL ADR.: pkwi at risoe.dtu.dk ------------------------------------------------------------------- On 17/03/2009, at 12.07, ???? ???? wrote: Dear fellows, I am a neutron user, new to the field of neutron beam tracking. I had started using mcstas few weeks ago. During my toying with the program, I had managed to describe a simple diffraction setup with a 1D disk detector. I would like to perform a scanning procedure with this detector, using the scan option. However, it seems as if mcstas (version 1.12), while in the scan option, "does not" take into consideration the number of "neutron counts" I am asking it to use. The resulting data have the same statistics when I use either 1000 neutron counts, or 100000000 neutron counts. Whenever I perform only one point (NO SCAN) the difference between the data resulted from different values of "neutron counts" is obvious both in the calculation time and the statistics. I would appreciate any help regarding this problem. Sincerely, El'ad Caspi. ************************************************************************************* This email has been scaned by PrivaWall ************************************************************************************* _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users ************************************************************************************* This email has been scaned by PrivaWall ************************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: