From robert.dalgliesh at stfc.ac.uk Tue Apr 2 11:12:22 2013 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Tue, 2 Apr 2013 09:12:22 +0000 Subject: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 Message-ID: <9FD256ED3764AA40BD335311A4123FA01D1ACDF4@EXCHMBX03.fed.cclrc.ac.uk> There are a couple of annoying sticking points with a RHEL 6.4 rpm install. Libgd.so.2 is not included as part of the standard rpms (for some reason) and the standard gnuplot install rpm is irritatingly called gnuplot44. Both these break the install. After hunting around you can find a gnuplot install for CentOS 6.4 and a suitable libgd. It takes a bit longer than you would like though. Can the rpm be made to look for the alternative gnuplot44 as well as gnuplot Can some instructions regarding libgd be placed somewhere Thanks Rob =================================== 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 -- Scanned by iCritical. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Tue Apr 2 11:50:08 2013 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Tue, 2 Apr 2013 09:50:08 +0000 Subject: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 In-Reply-To: <9FD256ED3764AA40BD335311A4123FA01D1ACDF4@EXCHMBX03.fed.cclrc.ac.uk> References: <9FD256ED3764AA40BD335311A4123FA01D1ACDF4@EXCHMBX03.fed.cclrc.ac.uk> Message-ID: Hi Rob, Sorry that RHEL causes this kind of trouble? I don't have RHEL available here and therefore concentrated my rpm efforts around CentOS and Scientific Linux that are RHEL derivates - and my solution for those platforms includes the addition of the EPEL repository (see http://fedoraproject.org/wiki/EPEL) to the target machine. As far as I know all dependencies should resolve once that repository is added. Did you try enabling that repo on your RHEL box? Best, Peter On Apr 2, 2013, at 11:12 , > wrote: There are a couple of annoying sticking points with a RHEL 6.4 rpm install. Libgd.so.2 is not included as part of the standard rpms (for some reason) and the standard gnuplot install rpm is irritatingly called gnuplot44. Both these break the install. After hunting around you can find a gnuplot install for CentOS 6.4 and a suitable libgd. It takes a bit longer than you would like though. Can the rpm be made to look for the alternative gnuplot44 as well as gnuplot Can some instructions regarding libgd be placed somewhere Thanks Rob =================================== 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From pkwi at fysik.dtu.dk Tue Apr 2 12:22:16 2013 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 2 Apr 2013 10:22:16 +0000 Subject: [mcstas-users] (no subject) In-Reply-To: <443d9046.5096.13db4184ec4.Coremail.wokaoyan1981@126.com> References: <7a16b117.1f9df.13db02be29e.Coremail.wokaoyan1981@126.com> <84EF56FA-69E1-45EA-AD84-54784CE4CB2C@fysik.dtu.dk> <443d9046.5096.13db4184ec4.Coremail.wokaoyan1981@126.com> Message-ID: Hi Tom, The message you now get from PowderN is only for information: You are simply being told that you have multiple entries in the file for the reflection corresponding to d-spacing=1.94739 (8) corresponding also to the multiplicity given in the 4th column - and to make sure the scattered intensity is correct, each of the lines instead get a multiplicity of 1. Best, Peter On Mar 29, 2013, at 04:02 , ??? > wrote: Hell Britt? Thank you very much for your reply! I add the formatting comments to my data file before the reflection lines, but it hints: PowderN: sample: Set multiplicity to 1 for lines [0:7] (d-spacing 1.94739 is duplicated 8 times) ... Here is the powderN component: SPLIT 10 COMPONENT sample = PowderN( reflections = "Ca.lau", format=Crystallographica, radius = 0.0015, yheight = 0.05, Vc = 23.55, sigma_abs = 2.56, sigma_inc = 0.4) AT (0, 0, 0.05) RELATIVE slit_beforesample (Vc, sig_abs,sigma_inc are not correct!) At 2013-03-29 01:16:16,"Britt Rosendahl Hansen" > wrote: Hi Tom I don't know if anyone else replied to you already. You have to add the formatting comments to your data file before the reflection lines: # Format parameters: Crystallographica format # column_j 4 multiplicity 'j' # column_d 5 d-spacing 'd' in [Angs] # column_F2 7 norm of scattering factor |F|^2 in [fm^2] # column_h 1 # column_k 2 # column_l 3 # # h k l Mult. d-space 2Theta F-squared Regards, Britt On 28/03/2013, at 09.44, ??? wrote: Hi all, I put the new Ca.lau file (see enclosure) generated by Crystallographica codes in "C:\McStas\lib\data" and then run a simulation reading Ca.lau for PowderN component. Unfortunately the system hints as following: PowderN: sample: line 271 has invalid definition ... PowderN:sample:File Ca.lau done (0 valid lines.) I carefully compared this Ca.lau file with other lau files in the data folder which could be read successfully by my model, but found nothing different in format. Could you please kindly tell me what's wrong with it and how to solve this problem? Thank you! Best, Tom _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Britt Rosendahl Hansen Post doc DTU Physics Technical University of Denmark Institut of Physics Fysikvej Bygning 307 2800 Kongens Lyngby Mobile +45 2856 2708 broh at fysik.dtu.dk www.fysik.dtu.dk _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From robert.dalgliesh at stfc.ac.uk Tue Apr 2 13:16:32 2013 From: robert.dalgliesh at stfc.ac.uk (robert.dalgliesh at stfc.ac.uk) Date: Tue, 2 Apr 2013 11:16:32 +0000 Subject: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 In-Reply-To: References: <9FD256ED3764AA40BD335311A4123FA01D1ACDF4@EXCHMBX03.fed.cclrc.ac.uk> Message-ID: <9FD256ED3764AA40BD335311A4123FA01D1ADF3A@EXCHMBX03.fed.cclrc.ac.uk> OK, I will do. Rob From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 02 April 2013 10:50 To: Dalgliesh, Robert (STFC,RAL,ISIS) Cc: Subject: Re: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 Hi Rob, Sorry that RHEL causes this kind of trouble... I don't have RHEL available here and therefore concentrated my rpm efforts around CentOS and Scientific Linux that are RHEL derivates - and my solution for those platforms includes the addition of the EPEL repository (see http://fedoraproject.org/wiki/EPEL) to the target machine. As far as I know all dependencies should resolve once that repository is added. Did you try enabling that repo on your RHEL box? Best, Peter On Apr 2, 2013, at 11:12 , > wrote: There are a couple of annoying sticking points with a RHEL 6.4 rpm install. Libgd.so.2 is not included as part of the standard rpms (for some reason) and the standard gnuplot install rpm is irritatingly called gnuplot44. Both these break the install. After hunting around you can find a gnuplot install for CentOS 6.4 and a suitable libgd. It takes a bit longer than you would like though. Can the rpm be made to look for the alternative gnuplot44 as well as gnuplot Can some instructions regarding libgd be placed somewhere Thanks Rob =================================== 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark [cid:image002.gif at 01CE2F9C.1F079F80][cid:image003.jpg at 01CE2F9C.1F079F80] Department of Physics Neutrons and X-rays for Materials 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 -- Scanned by iCritical. -------------- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 10708 bytes Desc: image003.jpg URL: From pkwi at fysik.dtu.dk Tue Apr 2 14:19:53 2013 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Tue, 2 Apr 2013 12:19:53 +0000 Subject: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 In-Reply-To: <404D79D2-C199-46CF-A11F-7122EB65B7CD@fysik.dtu.dk> References: <9FD256ED3764AA40BD335311A4123FA01D1ACDF4@EXCHMBX03.fed.cclrc.ac.uk> <9FD256ED3764AA40BD335311A4123FA01D1ADF3A@EXCHMBX03.fed.cclrc.ac.uk> <404D79D2-C199-46CF-A11F-7122EB65B7CD@fysik.dtu.dk> Message-ID: <643E7AA6-E1D1-4F22-B061-1059A172FCED@fysik.dtu.dk> Hi Rob, I have now tried McStas 2.0 on a RHEL 6 evaluation copy - and things seem to work here if EPEL is enabled. - That being said, a surprisingly large number of packages (126) are requested for upgrade once the EPEL repo is set up (!). Further, I found that I could only run mcgui & mcplot in the perl versions if I made a symlink for pgplot in /usr/lib64: sudo ln -s libpgplot.so.5 libpgplot.so Best, Peter On Apr 2, 2013, at 13:24 , Peter Willendrup > wrote: Hi Rob, In the meantime I have also downloaded an evaluation of RHEL 6.4 just to see if I can reproduce your trouble? Best, Peter On Apr 2, 2013, at 13:16 , Robert.Dalgliesh at stfc.ac.uk wrote: OK, I will do. Rob From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 02 April 2013 10:50 To: Dalgliesh, Robert (STFC,RAL,ISIS) Cc: > Subject: Re: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 Hi Rob, Sorry that RHEL causes this kind of trouble? I don't have RHEL available here and therefore concentrated my rpm efforts around CentOS and Scientific Linux that are RHEL derivates - and my solution for those platforms includes the addition of the EPEL repository (see http://fedoraproject.org/wiki/EPEL) to the target machine. As far as I know all dependencies should resolve once that repository is added. Did you try enabling that repo on your RHEL box? Best, Peter On Apr 2, 2013, at 11:12 , > wrote: There are a couple of annoying sticking points with a RHEL 6.4 rpm install. Libgd.so.2 is not included as part of the standard rpms (for some reason) and the standard gnuplot install rpm is irritatingly called gnuplot44. Both these break the install. After hunting around you can find a gnuplot install for CentOS 6.4 and a suitable libgd. It takes a bit longer than you would like though. Can the rpm be made to look for the alternative gnuplot44 as well as gnuplot Can some instructions regarding libgd be placed somewhere Thanks Rob =================================== 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From campbellsi at ornl.gov Tue Apr 2 14:46:34 2013 From: campbellsi at ornl.gov (Campbell, Stuart I.) Date: Tue, 2 Apr 2013 08:46:34 -0400 Subject: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 In-Reply-To: <643E7AA6-E1D1-4F22-B061-1059A172FCED@fysik.dtu.dk> Message-ID: Hi Peter/Rob, I have found that if I used the pgplot packages from rpmfusion.org then everything works ok (as in it has all the correct lib names etc.) Cheers Stu -- Dr Stuart Campbell Neutron Data Analysis and Visualisation Division Oak Ridge National Laboratory 1 Bethel Valley Road, PO Box 2008 Oak Ridge, TN 37831-6475, USA mobile: +1-865-360-6733 email: campbellsi at ornl.gov From: Peter Kj?r Willendrup > Date: Tuesday, April 2, 2013 8:19 AM To: Rob Dalgliesh > Cc: "McStas mcstas.org" > Subject: Re: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 Hi Rob, I have now tried McStas 2.0 on a RHEL 6 evaluation copy - and things seem to work here if EPEL is enabled. - That being said, a surprisingly large number of packages (126) are requested for upgrade once the EPEL repo is set up (!). Further, I found that I could only run mcgui & mcplot in the perl versions if I made a symlink for pgplot in /usr/lib64: sudo ln -s libpgplot.so.5 libpgplot.so Best, Peter On Apr 2, 2013, at 13:24 , Peter Willendrup > wrote: Hi Rob, In the meantime I have also downloaded an evaluation of RHEL 6.4 just to see if I can reproduce your trouble? Best, Peter On Apr 2, 2013, at 13:16 , Robert.Dalgliesh at stfc.ac.uk wrote: OK, I will do. Rob From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 02 April 2013 10:50 To: Dalgliesh, Robert (STFC,RAL,ISIS) Cc: > Subject: Re: [mcstas-users] mcstas 2 rpm install on RHEL 6.4 Hi Rob, Sorry that RHEL causes this kind of trouble? I don't have RHEL available here and therefore concentrated my rpm efforts around CentOS and Scientific Linux that are RHEL derivates - and my solution for those platforms includes the addition of the EPEL repository (see http://fedoraproject.org/wiki/EPEL) to the target machine. As far as I know all dependencies should resolve once that repository is added. Did you try enabling that repo on your RHEL box? Best, Peter On Apr 2, 2013, at 11:12 , > wrote: There are a couple of annoying sticking points with a RHEL 6.4 rpm install. Libgd.so.2 is not included as part of the standard rpms (for some reason) and the standard gnuplot install rpm is irritatingly called gnuplot44. Both these break the install. After hunting around you can find a gnuplot install for CentOS 6.4 and a suitable libgd. It takes a bit longer than you would like though. Can the rpm be made to look for the alternative gnuplot44 as well as gnuplot Can some instructions regarding libgd be placed somewhere Thanks Rob =================================== 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 -- Scanned by iCritical. _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 Peter Kj?r Willendrup Development engineer DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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 -------------- 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From wokaoyan1981 at 126.com Sun Apr 28 04:08:40 2013 From: wokaoyan1981 at 126.com (=?GBK?B?s8LR5dbb?=) Date: Sun, 28 Apr 2013 10:08:40 +0800 (CST) Subject: [mcstas-users] sigma_inc issue Message-ID: <6c79da92.2d52.13e4e6633ef.Coremail.wokaoyan1981@126.com> Hi all, I set the parameter ?sigma_inc? of PowderN component as 0.4, but no platform background is found! Then I set it much more larger as 400 on purpose, no platform background is found either ( In this case, more peaks are observed.) Could you please shed light on it? SPLIT 10 COMPONENT sample = PowderN( reflections = "Fe.laz", radius = 0.005, yheight = 0.1, Vc = 23.55, sigma_abs = 2.56, sigma_inc = 0.4) AT (0, 0, 0.05) RELATIVE virtual_out Best wishes, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: sigma_inc400.bmp Type: image/bmp Size: 3888054 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Sun Apr 28 07:34:36 2013 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Sun, 28 Apr 2013 05:34:36 +0000 Subject: [mcstas-users] sigma_inc issue In-Reply-To: <6c79da92.2d52.13e4e6633ef.Coremail.wokaoyan1981@126.com> References: <6c79da92.2d52.13e4e6633ef.Coremail.wokaoyan1981@126.com> Message-ID: Hi Tom, In McDoc -> component library index you can find the short documentation for every McStas component, including PowderN. (Also available here: http://mcstas.org/download/components/samples/PowderN.html - from McStas 2.0). A quick look at the table in that documentation will reveal the 'frac' parameter in McStas 1.12c or the 'p_inc' parameter in McStas 2.0, which should be used to assign at fraction of your statistics to scatter incoherently. Best, Peter Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 Den 28/04/2013 kl. 04.44 skrev "???" >: Hi all, I set the parameter ?sigma_inc? of PowderN component as 0.4, but no platform background is found! Then I set it much more larger as 400 on purpose, no platform background is found either ( In this case, more peaks are observed.) Could you please shed light on it? SPLIT 10 COMPONENT sample = PowderN( reflections = "Fe.laz", radius = 0.005, yheight = 0.1, Vc = 23.55, sigma_abs = 2.56, sigma_inc = 0.4) AT (0, 0, 0.05) RELATIVE virtual_out Best wishes, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Thu May 2 09:14:28 2013 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Thu, 2 May 2013 07:14:28 +0000 Subject: [mcstas-users] Updated ESS source components for McStas 1.12c and 2.0 Message-ID: <8ADCB7F1-E4B4-40FB-8A8A-BE0AFB1649C5@fysik.dtu.dk> Hi all, A set of updated ESS source components have been placed on the mcstas.org download share ( http://www.mcstas.org/download/share ). The zip file ( http://www.mcstas.org/download/share/ESS_source_20130502.zip ) includes: 1) Updated ESS source components for McStas 1.12c and 2.0 with ? Cold and thermal moderators ? Cylindrical cold source geometry ? Flat thermal wing geometry ? Geometry close to that from MCNPX ? 2012 cold brightness ? A much easier-to-use definition of geometry, allowing to specify the instrument position within a 60-degree sector ? A couple of bug fixes 2) Updated Brilliance_monitor.comp for McStas 1.12c and 2.0 (was not included in 1.12 and had an MPI issue in 2.0) 3) ESS_moderator_long_2001.comp for McStas 1.12c (the same as included in McStas 2.0) 3) Test instruments set up for estimating the (cold) source brilliance of ESS in 2012 and 2001 versions 4) PDF plots of average and peak brilliance as produced by the new McStas source, overlayed on the officialcurve from ESS target division and the corresponding curve from VitESS. We hope to soon release McStas either a 2.0a or 2.1 which will include these as well as other improvements. Best, Peter Willendrup Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From wokaoyan1981 at 126.com Mon May 27 11:53:26 2013 From: wokaoyan1981 at 126.com (=?GBK?B?s8LR5dbb?=) Date: Mon, 27 May 2013 17:53:26 +0800 (CST) Subject: [mcstas-users] Virtual experiment problem Message-ID: <2bfaec2d.ed3d.13ee5681df7.Coremail.wokaoyan1981@126.com> Hi all, I am conducting a virtual experiment by McStas. The sample is a column-shaped alpha-Fe. I change the radius of it and compare the diffraction patterns. The diffraction patterns change along with the varied radius value. For example the peak around 85?in figure 1 (radius=10mm,in enclosure) vanishes in figure 2 (radius=2mm) while other diffraction peaks are still visible. This phenomenon is not expected.You may have a look at the pdc1.instr and pdc2.instr in enclosure. The other question is that we can find dozens of small peaks besides the diffraction peaks(See banana.th file).What are they? The background? The Ncount=10E8 and nrepeat=1000. I?m looking forward your reply. Thank you. Best wishes, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: radius2mm.JPG Type: image/jpeg Size: 23559 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: radius10mm.JPG Type: image/jpeg Size: 22230 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: banana.th Type: application/octet-stream Size: 36861 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc1.instr Type: application/octet-stream Size: 2286 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc2.instr Type: application/octet-stream Size: 2939 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: radius2mm.JPG Type: image/jpeg Size: 23559 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: radius10mm.JPG Type: image/jpeg Size: 22230 bytes Desc: not available URL: From pkwi at fysik.dtu.dk Tue May 28 16:25:26 2013 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Tue, 28 May 2013 14:25:26 +0000 Subject: [mcstas-users] Virtual experiment problem In-Reply-To: <2bfaec2d.ed3d.13ee5681df7.Coremail.wokaoyan1981@126.com> References: <2bfaec2d.ed3d.13ee5681df7.Coremail.wokaoyan1981@126.com> Message-ID: <08C788A6-97DC-4E70-9529-DB8A8E812C43@fysik.dtu.dk> Hi Tom, Is it correctly understood that your first instrument is run with 1e8 neutrons? - Doing so gives me only ~ 8000 neutrons in the virtual output file, which in any case is a very low number. As a rule of thumb, I would never go below ~ 1e5-1e6 events in a virtual input/output file, you risk imposing bias on your results because of the poor statistics. I the attached, I have improved on your instrument files pdc1: * To follow loss of the neutrons through the instrument, I have added various PSD's and wavelength-monitors. * The bandwidth of a Monochromator Bragg reflection is a few percent - so simulating the full range of 1-2 ? kills a lot of your neutrons. I suggest using [1.57 1.63] - then 1e8 neutrons produces ~ 135000 events in your virtual_output file pdc2: * Using both a SPLIT and repeat_count is meaningless - they do the same, namely repeat incoming neutrons. This means that you repeated your 8000 neutrons above 10000 times each. I would rather look at the number of reflections in your Fe.laz and use that number as an over bound on the repetition ~ 50. * I have used the d_phi parameter of PowderN to restrict the Debye-Scherer cones to what the detector sees (180*atan(30/120)/PI ~ 14 degrees - have made it 30 for safety. * I have put frac and tfrac parameters of PowderN to zero, thereby suppressing incoherent scattering and description of the "direct beam". * I have added another banana-shaped detector BEFORE the radial collimator, with restore_neutron=1. * I have added the input parameter Div that parametrizes the collimator divergence. The added banana-shaped detector shows that your radial collimator is what suppresses the peak, see attached graphics for the r=2 mm sample case My feeling is that 12 minutes of arch becomes much to restrictive when you are studying the small sample - the natural divergence from the 4 mm wide sample is 180*atan(0.4/120)/PI ~ around 11 minutes of arch, which is around what your collimator accepts, so only the strongest reflections stand a chance. Hope this helps, Peter On May 27, 2013, at 11:53 , ?????> wrote: Hi all, I am conducting a virtual experiment by McStas. The sample is a column-shaped alpha-Fe. I change the radius of it and compare the diffraction patterns. The diffraction patterns change along with the varied radius value. For example the peak around 85?in figure 1 (radius=10mm,in enclosure) vanishes in figure 2 (radius=2mm) while other diffraction peaks are still visible. This phenomenon is not expected.You may have a look at the pdc1.instr and pdc2.instr in enclosure. The other question is that we can find dozens of small peaks besides the diffraction peaks(See banana.th file).What are they? The background? The Ncount=10E8 and nrepeat=1000. I?? looking forward your reply. Thank you. Best wishes, Tom >_______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics [cid:1fac4d9c-d86e-416b-af82-089d71b91043 at win.dtu.dk] Technical University of Denmark [cid:8670423b-4e07-4f82-855c-a7a5937ee27c at win.dtu.dk] [cid:2875a0a6-bc25-4dd8-8d50-57e5519d957a at win.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: 2mm-sample-with-without-collimator.pdf Type: application/pdf Size: 124482 bytes Desc: 2mm-sample-with-without-collimator.pdf URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc1.instr Type: application/octet-stream Size: 3210 bytes Desc: pdc1.instr URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc2.instr Type: application/octet-stream Size: 3160 bytes Desc: pdc2.instr URL: From robert.nshimirimana at necsa.co.za Mon Jun 3 18:28:54 2013 From: robert.nshimirimana at necsa.co.za (Robert Nshimirimana) Date: Mon, 3 Jun 2013 16:28:54 +0000 Subject: [mcstas-users] mcstas-2.0-win64 version installation problem Message-ID: <38D38B168019CA4DBB13E6EEA2ABB99B0AEC3B@NECAS0650.necsa.co.za> Dear, I m trying to install Mcstas on a 64 bit window machine. The version I m trying to install is mcstas-2.0-win64 version. I m struggling to get it running. When I perform the run test as it is stated in the manual I get errors. Any help please. Cheers Robert Robert Nshimirimana Scientist Tel: +27-12-305-5638 Fax: +27-12-305-5851 Cell: +27-72-967-3257 Email: robert.nshimirimana at necsa.co.za Website: www.necsa.co.za [cid:image9a5aee.JPG at 5183eca4.4ca3066a] ________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version from NECSA. ##################################################################################### Scanned by MailMarshal - M86 Security's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.m86security.com ##################################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image9a5aee.JPG Type: image/jpeg Size: 3632 bytes Desc: image9a5aee.JPG URL: From robert.nshimirimana at necsa.co.za Mon Jun 3 19:41:02 2013 From: robert.nshimirimana at necsa.co.za (Robert Nshimirimana) Date: Mon, 3 Jun 2013 17:41:02 +0000 Subject: [mcstas-users] mcstas-2.0-win64 version installation problem Message-ID: <38D38B168019CA4DBB13E6EEA2ABB99B0AEC64@NECAS0650.necsa.co.za> Dear, I m trying to install Mcstas on a 64 bit window machine. The version I m trying to install is mcstas-2.0-win64 version. I m struggling to get it running. When I perform the run test as it is stated in the manual I get errors. Any help please. Cheers Robert Robert Nshimirimana Scientist Tel: +27-12-305-5638 Fax: +27-12-305-5851 Cell: +27-72-967-3257 Email: robert.nshimirimana at necsa.co.za Website: www.necsa.co.za [cid:image2a3079.JPG at 029fba19.4f87ed5f] ________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version from NECSA. ##################################################################################### Scanned by MailMarshal - M86 Security's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.m86security.com ##################################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image2a3079.JPG Type: image/jpeg Size: 3632 bytes Desc: image2a3079.JPG URL: From pkwi at fysik.dtu.dk Tue Jun 4 09:17:00 2013 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Tue, 4 Jun 2013 07:17:00 +0000 Subject: [mcstas-users] mcstas-2.0-win64 version installation problem In-Reply-To: <38D38B168019CA4DBB13E6EEA2ABB99B0AEC64@NECAS0650.necsa.co.za> References: <38D38B168019CA4DBB13E6EEA2ABB99B0AEC64@NECAS0650.necsa.co.za> Message-ID: <5A92412B-69FE-4AE7-A231-78CE20A13E1D@fysik.dtu.dk> Hi Robert, On Jun 3, 2013, at 19:41 , Robert Nshimirimana > wrote: I m trying to install Mcstas on a 64 bit window machine. The version I m trying to install is mcstas-2.0-win64 version. I m struggling to get it running. When I perform the run test as it is stated in the manual I get errors. Any help please. You will have to be a little more specific please - see below. :-) In regard to installation, our current level of documentation is not very good - sorry about this! I will make it better for the next release. On windows I have made several successful installations by performing these steps: * Download and install Strawberry Perl (which actually includes a c-compiler and a fortran compiler) * Optionally download and install Pythonxy * Download the McStas zip archive (32 or 64 bit version for windows) * Install the "core" mcstas .exe * Install the "components" .exe * Install the "tools" .exe <- Currently requires an internet connection! * Optionally install the Python-tool exes. An important difference to the 1.x series of McStas on the Windows platform is that you need to use the mcstas-shell or mcgui- scripts on your desktop to start a fully set-up McStas. Afterwards, you should be able to perform a test via either mcgui -> mcdoc -> Test McStas installation or the command mcrun --test in the command line. If this fails, could you please send me a screen shot where I can see the exact error you receive? Best, Peter Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From pkwi at fysik.dtu.dk Tue Jun 4 14:26:05 2013 From: pkwi at fysik.dtu.dk (=?iso-8859-1?Q?Peter_Kj=E6r_Willendrup?=) Date: Tue, 4 Jun 2013 12:26:05 +0000 Subject: [mcstas-users] mcstas-2.0-win64 version installation problem In-Reply-To: <38D38B168019CA4DBB13E6EEA2ABB99B0BD0E9@NECAS0120.necsa.co.za> References: <38D38B168019CA4DBB13E6EEA2ABB99B0AEC64@NECAS0650.necsa.co.za> <5A92412B-69FE-4AE7-A231-78CE20A13E1D@fysik.dtu.dk> <38D38B168019CA4DBB13E6EEA2ABB99B0BADE6@NECAS0650.necsa.co.za> <66F075A6-B2DC-46D5-9A11-3ECDD57EC134@fysik.dtu.dk> <38D38B168019CA4DBB13E6EEA2ABB99B0BD0E9@NECAS0120.necsa.co.za> Message-ID: Hi again Robert, Good that I could help! Best, Peter On Jun 4, 2013, at 13:34 , Robert Nshimirimana > wrote: Hi Peter, Thank you very much for your help. I think the one thing missing in the manual was the requirement of strawberry perl installation, otherwise the manual looks ok in case of installation instructions. Thanks again. Regards Robert From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 04 June 2013 12:16 PM To: Robert Nshimirimana Subject: Re: [mcstas-users] mcstas-2.0-win64 version installation problem Hi Robert, I think that looks quite OK - one instrument fails compiling, that one I should be able to reproduce and fix here. Best, Peter On Jun 4, 2013, at 10:44 , Robert Nshimirimana > wrote: Dear, Below is the screen of the test run. I guess it is working now. Is the accuracy of the instrument test ( 0 .. 7 %) ok? Best regards Robert Robert Nshimirimana Scientist Tel: +27-12-305-5638 Fax: +27-12-305-5851 Cell: +27-72-967-3257 Email: robert.nshimirimana at necsa.co.za Website: www.necsa.co.za ________________________________ This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version from NECSA. From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: 04 June 2013 09:17 AM To: Robert Nshimirimana Cc: mcstas-users at mcstas.org Subject: Re: [mcstas-users] mcstas-2.0-win64 version installation problem Hi Robert, On Jun 3, 2013, at 19:41 , Robert Nshimirimana > wrote: I m trying to install Mcstas on a 64 bit window machine. The version I m trying to install is mcstas-2.0-win64 version. I m struggling to get it running. When I perform the run test as it is stated in the manual I get errors. Any help please. You will have to be a little more specific please - see below. :-) In regard to installation, our current level of documentation is not very good - sorry about this! I will make it better for the next release. On windows I have made several successful installations by performing these steps: * Download and install Strawberry Perl (which actually includes a c-compiler and a fortran compiler) * Optionally download and install Pythonxy * Download the McStas zip archive (32 or 64 bit version for windows) * Install the "core" mcstas .exe * Install the "components" .exe * Install the "tools" .exe <- Currently requires an internet connection! * Optionally install the Python-tool exes. An important difference to the 1.x series of McStas on the Windows platform is that you need to use the mcstas-shell or mcgui- scripts on your desktop to start a fully set-up McStas. Afterwards, you should be able to perform a test via either mcgui -> mcdoc -> Test McStas installation or the command mcrun --test in the command line. If this fails, could you please send me a screen shot where I can see the exact error you receive? Best, Peter Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 ________________________________ Scanned by MailMarshal - M86 Security's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.m86security.com Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark Department of Physics Neutrons and X-rays for Materials 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 ________________________________ Scanned by MailMarshal - M86 Security's comprehensive email content security solution. Download a free evaluation of MailMarshal at www.m86security.com Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From wokaoyan1981 at 126.com Fri Jun 7 04:18:36 2013 From: wokaoyan1981 at 126.com (=?GBK?B?s8LR5dbb?=) Date: Fri, 7 Jun 2013 10:18:36 +0800 (CST) Subject: [mcstas-users] temperature factor Message-ID: <4ae6ebcb.1e8d.13f1c6daaef.Coremail.wokaoyan1981@126.com> Hi all, I found that generating lau. or laz. files should consider the temperature effect. My question is how will the temperature factor affect the simulation result? Can we set it to 0? Or how much should we set the value? Best regards, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Fri Jun 7 15:40:15 2013 From: pkwi at fysik.dtu.dk (=?utf-8?B?UGV0ZXIgS2rDpnIgV2lsbGVuZHJ1cA==?=) Date: Fri, 7 Jun 2013 13:40:15 +0000 Subject: [mcstas-users] temperature factor In-Reply-To: <4ae6ebcb.1e8d.13f1c6daaef.Coremail.wokaoyan1981@126.com> References: <4ae6ebcb.1e8d.13f1c6daaef.Coremail.wokaoyan1981@126.com> Message-ID: <9EE72796-9AA0-4BC2-882D-9C9559C8E0A1@fysik.dtu.dk> Hi Tom, PowderN (which you to my understanding are using?) does not directly implement temperature - you will have to generate separate structure input files for each temperature. How to do this? - I guess it dependes on the software or source used to generate the .lau files. Personally, I would look at e.g. the ICSD database and find a series of experimental data and solved structures at different temperature, then use these to generate a series of lau files for McStas, one for each temperature. Alternatively one could hack the PowderN component source code to implement some sort of temperature-dependence of the lattice parameters, but for now, there is not much implemented directly in McStas for studying these kinds of effects. Best, Peter On Jun 7, 2013, at 04:18 , ??? > wrote: Hi all, I found that generating lau. or laz. files should consider the temperature effect. My question is how will the temperature factor affect the simulation result? Can we set it to 0? Or how much should we set the value? Best regards, Tom _______________________________________________ mcstas-users mailing list mcstas-users at mcstas.org http://mailman.mcstas.org/cgi-bin/mailman/listinfo/mcstas-users Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From wokaoyan1981 at 126.com Wed Jun 26 10:44:45 2013 From: wokaoyan1981 at 126.com (=?GBK?B?s8LR5dbb?=) Date: Wed, 26 Jun 2013 16:44:45 +0800 (CST) Subject: [mcstas-users] Intensity does not decrease while radius increases as to Cd sample Message-ID: <75975a37.1db6d.13f7fa8054c.Coremail.wokaoyan1981@126.com> Hi all, I've found that the Cd sample has different intensity-radius(I-r) curves in PDC model and in the PSI-DMC model (Neutron site-PSI)(see Fig. 1). I think that the I-r curves trend should be the same. Because the two models have the similar beam spot size and wavelength(see Fig. 2 and Fig. 3) I checked our model(pdc1 and pdc2) but found nothing wrong. Could somebody please check the PDC model and explain the difference? I am looking forward your reply. Thank you! Best regards, Tom -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig1.jpg Type: image/jpeg Size: 56017 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig2.jpg Type: image/jpeg Size: 73294 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig3.jpg Type: image/jpeg Size: 73908 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc1.instr Type: application/octet-stream Size: 3360 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pdc2.instr Type: application/octet-stream Size: 3180 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: PSI_DMC.instr Type: application/octet-stream Size: 8978 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig1.jpg Type: image/jpeg Size: 56017 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig2.jpg Type: image/jpeg Size: 73294 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fig3.jpg Type: image/jpeg Size: 73908 bytes Desc: not available URL: From tongx at ornl.gov Wed Jun 26 15:56:51 2013 From: tongx at ornl.gov (Tong, Xin Tony) Date: Wed, 26 Jun 2013 09:56:51 -0400 Subject: [mcstas-users] need help on installing VRML for Trace view Message-ID: <9E6B0CE58F7CC24294FAB8EF9902362A834B7D95F5@EXCHMBB.ornl.gov> Hi All, I'm very new to McStas and would appreciate some help on installing VRML. I've installed McStas and I can use Matlab to see the Trace view. However I found it not as clearer as VRML. Then I tried to select HTML/VRML option. Every time I run, the command window says the following: " Spawning start to view mcdisplay_commands.wrl The process cannot access the file because it is being used by another process. Press any key to continue . . . " I've installed Octaga Player, but I don't know how to link it to McStas. Can someone provide some help on this? Thank you very much, Tony Xin Tong (Tony) Spallation neutron Source Oak Ridge National Laboratory (O) 865-241-9850 (C) 865-360-2998 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pkwi at fysik.dtu.dk Wed Jun 26 20:06:21 2013 From: pkwi at fysik.dtu.dk (=?Windows-1252?Q?Peter_Kj=E6r_Willendrup?=) Date: Wed, 26 Jun 2013 18:06:21 +0000 Subject: [mcstas-users] need help on installing VRML for Trace view In-Reply-To: <9E6B0CE58F7CC24294FAB8EF9902362A834B7D95F5@EXCHMBB.ornl.gov> References: <9E6B0CE58F7CC24294FAB8EF9902362A834B7D95F5@EXCHMBB.ornl.gov> Message-ID: <94398ED7-326C-4F32-8775-E01F4C7C7BA4@fysik.dtu.dk> Hi Tony, On Jun 26, 2013, at 15:56 , "Tong, Xin Tony" > wrote: I?m very new to McStas and would appreciate some help on installing VRML. I?ve installed McStas and I can use Matlab to see the Trace view. However I found it not as clearer as VRML. Then I tried to select HTML/VRML option. Every time I run, the command window says the following: ? Spawning start to view mcdisplay_commands.wrl The process cannot access the file because it is being used by another process. Press any key to continue . . . ? This indicates to me that you are using windows, is this true? As far as I know, this is the only system where read-access to files can be blocked by other processes. How many neutron rays are you trying to send to the file? Our experience is that more than 1e3 can cause various problems, what you are seeing could be a side-effect of running with many neutrons. I?ve installed Octaga Player, but I don?t know how to link it to McStas. If you are indeed using windows, that link should be set up automatically, i.e. the OS takes care of registering wrl files to Ocataga. Can someone provide some help on this? You will have to provide more info on the system, i.e which version of which OS, version of McStas etc. Still: a workaround is to open the mcdisplay_commands.wrl from within Octaga. Best, Peter Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CCCAF1.5E6331F0][cid:EC2A3CAB-AF57-4CEB-96B0-23F6DC35FE76 at fysik.dtu.dk] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: nexmap.jpg Type: image/jpeg Size: 10708 bytes Desc: nexmap.jpg URL: From tongx at ornl.gov Wed Jun 26 20:10:29 2013 From: tongx at ornl.gov (Tong, Xin Tony) Date: Wed, 26 Jun 2013 14:10:29 -0400 Subject: [mcstas-users] need help on installing VRML for Trace view In-Reply-To: <94398ED7-326C-4F32-8775-E01F4C7C7BA4@fysik.dtu.dk> References: <9E6B0CE58F7CC24294FAB8EF9902362A834B7D95F5@EXCHMBB.ornl.gov> <94398ED7-326C-4F32-8775-E01F4C7C7BA4@fysik.dtu.dk> Message-ID: <9E6B0CE58F7CC24294FAB8EF9902362A834B7D9688@EXCHMBB.ornl.gov> Peter, Yes I'm using windows. I'm using only 100 neutrons for the tracing. The McStas version I'm using is 2.0. I installed McStas couple of weeks ago and then I installed Octaga today. Matlab seems to be fine for displaying the 3D trace, but not for Octaga.... Thanks, Tony From: Peter Kj?r Willendrup [mailto:pkwi at fysik.dtu.dk] Sent: Wednesday, June 26, 2013 2:06 PM To: Tong, Xin Tony Cc: mcstas-users at mcstas.org Subject: Re: [mcstas-users] need help on installing VRML for Trace view Hi Tony, On Jun 26, 2013, at 15:56 , "Tong, Xin Tony" > wrote: I'm very new to McStas and would appreciate some help on installing VRML. I've installed McStas and I can use Matlab to see the Trace view. However I found it not as clearer as VRML. Then I tried to select HTML/VRML option. Every time I run, the command window says the following: " Spawning start to view mcdisplay_commands.wrl The process cannot access the file because it is being used by another process. Press any key to continue . . . " This indicates to me that you are using windows, is this true? As far as I know, this is the only system where read-access to files can be blocked by other processes. How many neutron rays are you trying to send to the file? Our experience is that more than 1e3 can cause various problems, what you are seeing could be a side-effect of running with many neutrons. I've installed Octaga Player, but I don't know how to link it to McStas. If you are indeed using windows, that link should be set up automatically, i.e. the OS takes care of registering wrl files to Ocataga. Can someone provide some help on this? You will have to provide more info on the system, i.e which version of which OS, version of McStas etc. Still: a workaround is to open the mcdisplay_commands.wrl from within Octaga. Best, Peter Peter Kj?r Willendrup Senior Research Engineer, Special Advisor DTU Physics Technical University of Denmark [cid:image002.gif at 01CE7276.E63F0440][cid:image003.jpg at 01CE7276.E63F0440] Department of Physics Neutrons and X-rays for Materials 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: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 10708 bytes Desc: image003.jpg URL: From farhi at ill.eu Fri Jun 28 13:44:46 2013 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 28 Jun 2013 13:44:46 +0200 Subject: [mcstas-users] NMI3/ILL LiveDVD release July 2013 with many pre-installed neutron software Message-ID: <51CD772E.7030908@ill.eu> An HTML attachment was scrubbed... URL: