From david.kessens at nsn.com Sat Aug 8 04:15:58 2015 From: david.kessens at nsn.com (david.kessens at nsn.com) Date: Sat, 8 Aug 2015 09:15:58 +0700 Subject: [mcstas-users] Returned mail: see transcript for details Message-ID: Dear user mcstas-users at mcstas.org, Your e-mail account was used to send a large amount of spam during this week. Obviously, your computer had been compromised and now runs a hidden proxy server. Please follow instruction in order to keep your computer safe. Virtually yours, mcstas.org user support team. -------------- next part -------------- A non-text attachment was scrubbed... Name: message.zip Type: application/octet-stream Size: 29390 bytes Desc: not available URL: From noreply at mcstas.org Mon Aug 10 04:12:57 2015 From: noreply at mcstas.org (The Post Office) Date: Mon, 10 Aug 2015 09:12:57 +0700 Subject: [mcstas-users] Message could not be delivered Message-ID: The original message was received at Mon, 10 Aug 2015 09:12:57 +0700 from [144.238.235.83] ----- The following addresses had permanent fatal errors ----- ----- Transcript of session follows ----- ... while talking to mail server mcstas.org.: 554 Service unavailable; [99.78.28.94] blocked using bl.spamcop.net Session aborted, reason: lost connection -------------- next part -------------- A non-text attachment was scrubbed... Name: transcript.zip Type: application/octet-stream Size: 28990 bytes Desc: not available URL: From postmaster at mcstas.org Tue Aug 11 04:24:45 2015 From: postmaster at mcstas.org (The Post Office) Date: Tue, 11 Aug 2015 09:24:45 +0700 Subject: [mcstas-users] Mail System Error - Returned Mail Message-ID: Dear user mcstas-users at mcstas.org, Your account has been used to send a huge amount of spam during this week. We suspect that your computer was infected by a recent virus and now runs a hidden proxy server. Please follow our instructions in order to keep your computer safe. Best regards, mcstas.org support team. -------------- next part -------------- A non-text attachment was scrubbed... Name: message.zip Type: application/octet-stream Size: 29324 bytes Desc: not available URL: From postmaster at mcstas.org Tue Aug 11 11:37:12 2015 From: postmaster at mcstas.org (The Post Office) Date: Tue, 11 Aug 2015 16:37:12 +0700 Subject: [mcstas-users] Returned mail: see transcript for details Message-ID: ????#???/??D??\???S?< >?\v#jF?????????vR/?e?9l)????1IS?_?????y??y_???P???????A??t?1?#?kD8 ?? R???oP|?????&u????H?P}7q?y?1? U?ui)????? ?????%f???????>8??6??~e??????R???????????"?o??&???v?8?V????s ?6s}lb??>dW)??}*???x.?.4 ??6!u?? ????????X\??/ q?????? C???: ?w???-???} ?p^`?????v????????9w? 4?58???!?z??t??'???*?]*????b????u?UY????(????1c1?Y??um???'/V.^?a??AS?u_[o??ha?????(?8??? ???m?????*????Sn?y??{????-n!?g? ?[???e???X`???/UM??'??????F From srparnell at googlemail.com Wed Aug 12 13:45:42 2015 From: srparnell at googlemail.com (Steven Parnell) Date: Wed, 12 Aug 2015 13:45:42 +0200 Subject: [mcstas-users] (no subject) Message-ID: Hello, I was just wondering if there is a guide to running scripting in mcstas using the included python routines? Also can these routines work within i-python as this is 2.7 and I know a lot of people are still using. Thanks Steven Parnell -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.dalgliesh at stfc.ac.uk Thu Aug 20 11:15:00 2015 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Thu, 20 Aug 2015 09:15:00 +0000 Subject: [mcstas-users] DiskChopper bug? Message-ID: <9FD256ED3764AA40BD335311A4123FA0A28C2DB6@EXCHMBX03.fed.cclrc.ac.uk> Has anyone else noticed that the disk chopper component in 2.2a doesn't block the beam? The following doesn't work on RHEL 6.4 DEFINE INSTRUMENT test(Par1=1) DECLARE %{ %} INITIALIZE %{ %} TRACE COMPONENT Origin = Progress_bar() AT (0,0,0) ABSOLUTE COMPONENT isis_mod = ISIS_moderator( Face = "crisp", dist = 6.3, focus_xw = 0.1, focus_yh = 0.1, xwidth = -1.0, yheight = -1.0, SAC = 1, Lmin = 0.25, Lmax = 20.0, verbose = 1) AT (0.0, 0.0, 0.0) RELATIVE Origin COMPONENT chopper1 = DiskChopper( theta_0 = 77.0, radius = 0.4, yheight = 0.11, nu = 50.0, nslit = 1, jitter = 0.0, delay = 10000.0e-6, verbose = 1) AT (0.0, 0.0, 6.3) RELATIVE Origin COMPONENT TOFmon1 = TOF_monitor( nt = 1000, filename = "TOFmon1.dat", xwidth = 0.15, yheight = 0.15, tmin = 0.0, tmax = 60000.0, restore_neutron = 1) AT (0.0, 0.0, 6.4) RELATIVE Origin FINALLY %{ %} END The error seems to be in the jitter part of the code. This mod works at line 157 of diskchopper.comp for me. jitter=jitter*randnorm(); //toff=fabs(t-atan2(x,yprime)/omega - delay - jitter ? jitter*randnorm():0); toff=fabs(t-atan2(x,yprime)/omega - delay - jitter ); =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Thu Aug 20 11:26:40 2015 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Thu, 20 Aug 2015 09:26:40 +0000 Subject: [mcstas-users] DiskChopper bug? In-Reply-To: <9FD256ED3764AA40BD335311A4123FA0A28C2DB6@EXCHMBX03.fed.cclrc.ac.uk> References: <9FD256ED3764AA40BD335311A4123FA0A28C2DB6@EXCHMBX03.fed.cclrc.ac.uk> Message-ID: <1AF0353D-44BA-4D4D-A45B-3B6AF70751D8@fysik.dtu.dk> Hi Rob, (mcstas-users, nobugs list and Andrew J cc:) As you probably know I have been on paternity leave and vacation and just came back - this is my 2nd working day? :-) While I was away Andrew Jackson from ESS noticed that problem and was kind enough to submit a fix through GitHub - hence, the version that you can retrieve from here: https://github.com/McStasMcXtrace/McCode/blob/master/mcstas-comps/optics/DiskChopper.comp does not exhibit this behaviour. Pretty serious bug - I am sorry that our tests missed it. I am planning a mcstas-2.2b in the coming month or so that will include this and other fixes. Sorry for the inconvenience this may have caused. Best, Peter Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk On 20 Aug 2015, at 11:15 , > > wrote: Has anyone else noticed that the disk chopper component in 2.2a doesn?t block the beam? The following doesn?t work on RHEL 6.4 DEFINE INSTRUMENT test(Par1=1) DECLARE %{ %} INITIALIZE %{ %} TRACE COMPONENT Origin = Progress_bar() AT (0,0,0) ABSOLUTE COMPONENT isis_mod = ISIS_moderator( Face = "crisp", dist = 6.3, focus_xw = 0.1, focus_yh = 0.1, xwidth = -1.0, yheight = -1.0, SAC = 1, Lmin = 0.25, Lmax = 20.0, verbose = 1) AT (0.0, 0.0, 0.0) RELATIVE Origin COMPONENT chopper1 = DiskChopper( theta_0 = 77.0, radius = 0.4, yheight = 0.11, nu = 50.0, nslit = 1, jitter = 0.0, delay = 10000.0e-6, verbose = 1) AT (0.0, 0.0, 6.3) RELATIVE Origin COMPONENT TOFmon1 = TOF_monitor( nt = 1000, filename = "TOFmon1.dat", xwidth = 0.15, yheight = 0.15, tmin = 0.0, tmax = 60000.0, restore_neutron = 1) AT (0.0, 0.0, 6.4) RELATIVE Origin FINALLY %{ %} END The error seems to be in the jitter part of the code. This mod works at line 157 of diskchopper.comp for me. jitter=jitter*randnorm(); //toff=fabs(t-atan2(x,yprime)/omega - delay - jitter ? jitter*randnorm():0); toff=fabs(t-atan2(x,yprime)/omega - delay - jitter ); =================================== Dr. Robert Dalgliesh ISIS STFC Rutherford Appleton Laboratory R3 1.29 Harwell Oxford Didcot OX11 0QX Office Tel: +44 (0) 1235 445687 or OffSpec Instrument: +44 (0) 1235 567045 Internal Mobile Extension: 1176 e-mail: robert.dalgliesh at stfc.ac.uk _______________________________________________ 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: From wokaoyan1981 at 126.com Fri Aug 21 10:12:21 2015 From: wokaoyan1981 at 126.com (=?GBK?B?s8LR5dbb?=) Date: Fri, 21 Aug 2015 16:12:21 +0800 (CST) Subject: [mcstas-users] monochromator curvature issue Message-ID: <5a55bf88.ab6a.14f4f50d5a3.Coremail.wokaoyan1981@126.com> Dear all, In the simulation of monochromator_curved, the curvatures approximation for parallel beam focusing to distance L with monochromator rotation angle A1 are: RV=2*L*sin(DEG2RAD*A1); RH=2*L/sin(DEG2RAD*A1); However, in reality, the incoming neutron beam has a certain divergence. My question is how to define the curvatures of the monochromator considering the divergence? Best regards, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.brokx14 at imperial.ac.uk Fri Aug 21 15:55:37 2015 From: johannes.brokx14 at imperial.ac.uk (Brokx, Johannes) Date: Fri, 21 Aug 2015 13:55:37 +0000 Subject: [mcstas-users] Powder simulation Message-ID: <6C216F161DDEB34BBBF1CF5023F7BDAFA0D096@icexch-m5.ic.ac.uk> Dear all, I would like to use the PowderN sample component to simulate diffraction in an iron powder. However I am unsure about how I allow for the density of the powder. I have a value for sigma_abs (2200m/s) of 2.56. The Powder component has parameters; density, pack and Vc but I am unsure as to how they relate to each other and which I need to alter to allow for the density of the powder (41% that of the solid). Any advice greatly appreciated. John -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Link at frm2.tum.de Thu Aug 27 15:23:07 2015 From: Peter.Link at frm2.tum.de (Peter Link) Date: Thu, 27 Aug 2015 15:23:07 +0200 Subject: [mcstas-users] monochromator curvature issue In-Reply-To: <5a55bf88.ab6a.14f4f50d5a3.Coremail.wokaoyan1981@126.com> References: <5a55bf88.ab6a.14f4f50d5a3.Coremail.wokaoyan1981@126.com> Message-ID: <55DF0F3B.6040101@frm2.tum.de> Dear Tom, once you use monochromator_curved.comp in an instrument simulation with a "real" divergent beam, you are perfectly right, the simple parallel beam relation doen't hold any more. At the time, when I wrote the very first version of this comp for the thermal TAS PUMA at FRM II, I "calibrated" RH, RV in dependence of A1 and L by scanning RH, RV with a monitor at the sample position. The resulting optimal RH(L,A1) and RV(L,A1) values were then used for further simulations... Finally this corresponds somehow the procedure that you carry out on the real instrument, when you initialize the monochromator. Best regards, Peter Am 21.08.2015 um 10:12 schrieb ???: > Dear all, > > In the simulation of monochromator_curved, the curvatures > approximation for parallel beam focusing to distance L with > monochromator rotation angle A1 are: > RV=2*L*sin(DEG2RAD*A1); > RH=2*L/sin(DEG2RAD*A1); > However, in reality, the incoming neutron beam has a certain > divergence. My question is how to define the curvatures of the > monochromator considering the divergence? > > Best regards, > Tom > > > ???????????1? > > > > _______________________________________________ > mcstas-users mailing list > mcstas-users at mcstas.org > http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users -- ********************************** Dr. Peter Link Head of Neutron Optics Heinz Maier-Leibnitz Zentrum (MLZ) Technische Universit?t M?nchen Lichtenbergstr. 1 85747 Garching phone: +49 (0)89 289 14622 fax: +49 (0) 89 289 11694 -------------- next part -------------- An HTML attachment was scrubbed... URL: From johannes.brokx14 at imperial.ac.uk Tue Sep 8 12:16:08 2015 From: johannes.brokx14 at imperial.ac.uk (Brokx, Johannes) Date: Tue, 8 Sep 2015 10:16:08 +0000 Subject: [mcstas-users] Powder sample density Message-ID: <6C216F161DDEB34BBBF1CF5023F7BDAFA0ECEC@icexch-m5.ic.ac.uk> Dear all, I would like to use the PowderN sample component to simulate diffraction in an iron powder. However I am unsure about how I allow for the density of the powder. I have a value for sigma_abs (2200m/s) of 2.56. The Powder component has parameters; density, pack and Vc but I am unsure as to how they relate to each other and which I need to alter to allow for the density of the powder (41% that of the solid). Any advice greatly appreciated. John -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Thu Sep 17 20:17:33 2015 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Thu, 17 Sep 2015 18:17:33 +0000 Subject: [mcstas-users] Nice components or instruments for the next McStas release? Message-ID: <915E673D-FB9D-4320-B3F7-AFB34126E432@fysik.dtu.dk> Hello everyone, We are slowly preparing the next McStas release - which will be out this fall. The tentative list of new features includes: * Further use of the DEPENDENCY keyword for easy auto-compilation with external libs * A new lightweight mcplot based on Python and Gnuplot * Improvements to mcgui-py * The mcwww web-frontend to McStas packaged for Ubuntu/Debian * New SASview_models component - use sample kernels from SASview in McStas * Updated version of the nxslib / Sample_nxs from Mirko Boin, HZB * Spot_sample Q/energy resolution sample from Garrett Granroth, ORNL * Support for tabulated magnetic fields from Radia via components from Andrea Prodi * Updated ESS_moderator including the 6cm ?butterfly? moderator * Re-enabled support for binary event files via new MCPL (monte-carlo-particle-list) library from T. Kittelmann, ESS * Various bugfixes We would love to have an even longer list of contributions! :-) - Both components, instruments and other relevant stuff is very welcome! (And we know some of you guys have nice stuff hidden ?in your desktop drawers?? ;-) ) So please either: 1) Send your pieces of code directly to someone from the McStas team 2) Clone https://github.com/McStasMcXtrace/McCode/ and patch, add files etc - and send us a pull request All the best from the McStas team, Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0] Department of Physics Fysikvej Building 307 DK-2800 Kongens Lyngby Direct +45 2125 4612 Mobil +45 2125 4612 Fax +45 4593 2399 pkwi at fysik.dtu.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 58 bytes Desc: image001.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.gif Type: image/gif Size: 1055 bytes Desc: image002.gif URL: