From kim.lefmann at risoe.dk Tue Oct 25 15:45:54 2005 From: kim.lefmann at risoe.dk (Kim Lefmann) Date: Tue, 25 Oct 2005 15:45:54 +0200 (CEST) Subject: [neutron-mc] =?iso-8859-1?q?Simulation_Post_doc_position_at_Ris?= =?iso-8859-1?q?=F8_?= Message-ID: Dear all, We are announcing a 2-3 year post doc position for McStas simulations in connection with ISIS TS-2. The main task in the position is to implement polarised neutrons in McStas and apply it to virtual experiments for TS-2 instruments. See the announcement at www.risoe.dk/stillinger/stillinger_uk.htm In case you know a potential candidate, you are welcome to contact me or just forward this announcement. Note the short deadline 15/11 (which does not imply that we have a preferred candidate already). all the best, Kim ------------------------------ Kim Lefmann Senior Scientist Materials Research Department Building 227 Risoe National Laboratory Phone: +45 46 77 47 26 Fax: +45 46 77 57 58 From j.voigt at fz-juelich.de Fri Oct 28 16:11:36 2005 From: j.voigt at fz-juelich.de (=?iso-8859-1?q?J=F6rg_Voigt?=) Date: Fri, 28 Oct 2005 16:11:36 +0200 Subject: [neutron-mc] Re: Curved monochromator In-Reply-To: <43452A6B.3070805@ill.fr> References: <200509301505.36727.j.voigt@fz-juelich.de> <200510040901.55066.j.voigt@fz-juelich.de> <43452A6B.3070805@ill.fr> Message-ID: <200510281611.37105.j.voigt@fz-juelich.de> Hallo Klaus, hier also mein instrument, die Probleme gibt es nur mit den letzten 3 Komponenten. Der Sinn des ganzen ist, dass ich die Energieaufl?sung auch f?r mehrere inelastische Energien bestimmen m?chte. Vielen Dank f?r deine Hilfe J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: chopper_051027.instr Type: text/x-objcsrc Size: 13921 bytes Desc: not available URL: From j.voigt at fz-juelich.de Wed Nov 2 09:02:14 2005 From: j.voigt at fz-juelich.de (=?utf-8?q?J=C3=B6rg_Voigt?=) Date: Wed, 02 Nov 2005 09:02:14 +0100 Subject: [neutron-mc] mcresplot In-Reply-To: <200509301505.36727.j.voigt@fz-juelich.de> References: <200509301505.36727.j.voigt@fz-juelich.de> Message-ID: <200511020902.14236.j.voigt@fz-juelich.de> Dear all, has anybody translated the mcresplot perl script to matlab?. My Perl knowledge is too little to get the meaning of all subroutines. BTW, the help of the TOFRes_sample refers to a TOFRes_monitor, that I can't find in the latest stable release. Does it exist or can the Res_monitor do the same job? Thanks J?rg From peter.willendrup at risoe.dk Wed Nov 2 13:10:35 2005 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Wed, 02 Nov 2005 13:10:35 +0100 Subject: [neutron-mc] mcresplot In-Reply-To: <200511020902.14236.j.voigt@fz-juelich.de> References: <200509301505.36727.j.voigt@fz-juelich.de> <200511020902.14236.j.voigt@fz-juelich.de> Message-ID: <1130933436.9395.5.camel@localhost.localdomain> Hello J?rg, On Wed, 2005-11-02 at 09:02 +0100, J?rg Voigt wrote: > has anybody translated the mcresplot perl script to matlab?. My Perl knowledge > is too little to get the meaning of all subroutines. A matlab (and even scilab) version of mcresplot is on the TODO list of McStas, meaning that we will put some effort into the task over the next few releases. > BTW, the help of the TOFRes_sample refers to a TOFRes_monitor, that I can't > find in the latest stable release. Does it exist or can the Res_monitor do > the same job? This is simply an inconsitency in the help of the TOFRes_sample component (which is only in CVS by the way). Use Res_monitor. The plan is to merge the very small changes made in TOFRes_sample into the original Res_sample, this should probably happen before the next release. Regards, Peter -- Peter Willendrup Ris? National Laboratory From j.voigt at fz-juelich.de Mon Nov 7 17:20:22 2005 From: j.voigt at fz-juelich.de (=?utf-8?q?J=C3=B6rg_Voigt?=) Date: Mon, 07 Nov 2005 17:20:22 +0100 Subject: [neutron-mc] mcresplot In-Reply-To: <1130933436.9395.5.camel@localhost.localdomain> References: <200509301505.36727.j.voigt@fz-juelich.de> <200511020902.14236.j.voigt@fz-juelich.de> <1130933436.9395.5.camel@localhost.localdomain> Message-ID: <200511071720.22407.j.voigt@fz-juelich.de> I have some more question to the resolution components: 1. If I use TOFRes_sample I have to set the time_width. I used now a value of 5 ?s, which is the channel width of the sv29 spectrometer. Apparently this gives a very good energy resolution, when I modell a time focused instrument. Changing the value to 15 ?s gives broadened energy distribution, that comes closer to reality. However, I don't understand, how I choose a correct value for this parameter. In an instrument without time focusing, e.g. a tof-tof instrument, this parameter has only a weak influence. 2. If I use traget_index=+1, kf as determined by a subsequent Res_monitor with box shape is allways ~(0 0 kz) in my detector-file, no matter, how much I rotate the instrument. Do I have to rotate kf 'by hand'? 3. I still can't get mcresplot.pl working. However, I figured out a work-around in matlab, based on what I understand from the perl-script. As long as my data-array is not to big, I use the matlab text output and everything is fine. When it became bigger, I tried the binary output for matlab, but I can't import that output. Thank you all for any help J?rg Am Mittwoch 02 November 2005 13:10 schrieb Peter Willendrup: > Hello J?rg, > > On Wed, 2005-11-02 at 09:02 +0100, J?rg Voigt wrote: > > has anybody translated the mcresplot perl script to matlab?. My Perl > > knowledge is too little to get the meaning of all subroutines. > > A matlab (and even scilab) version of mcresplot is on the TODO list of > McStas, meaning that we will put some effort into the task over the next > few releases. > > > BTW, the help of the TOFRes_sample refers to a TOFRes_monitor, that I > > can't find in the latest stable release. Does it exist or can the > > Res_monitor do the same job? > > This is simply an inconsitency in the help of the TOFRes_sample > component (which is only in CVS by the way). Use Res_monitor. The plan > is to merge the very small changes made in TOFRes_sample into the > original Res_sample, this should probably happen before the next > release. > > Regards, > > Peter -- ====================== Dr.J?rg Voigt Institut f?r Streumethoden Forschungszentrum J?lich 52424 J?lich Deutschland Tel: +49 2461 616020 Fax: +49 2461 612610 Mobil: +49 160 8479827 Email: j.voigt at fz-juelich.de ====================== From peter.willendrup at risoe.dk Wed Nov 16 16:23:27 2005 From: peter.willendrup at risoe.dk (Peter Willendrup) Date: Wed, 16 Nov 2005 16:23:27 +0100 Subject: [neutron-mc] Announcing McStas 1.9 Message-ID: <1132154607.19241.19.camel@localhost.localdomain> Hello everyone, The McStas (http://www.mcstas.org) team is happy to announce that the new relese of the general neutron ray-trace simulation package has been released. The new release can be downloaded from the project website at http://www.mcstas.org/download For a list of the most important new bugfixes, additions and features, see the attached CHANGES.txt document. Regards from the McStas team: Peter Willendrup - peter.willendrup at risoe.dk Kim Lefmann - kim.lefmann at risoe.dk Emmanuel Farhi - farhi at ill.fr Klaus Lieutenant - lieutena at ill.fr -- Peter Willendrup Ris? National Laboratory -------------- next part -------------- /******************************************************************************* * * McStas, neutron ray-tracing package * Copyright 1997-2004, All rights reserved * Risoe National Laboratory, Roskilde, Denmark * Institut Laue Langevin, Grenoble, France * * Documentation: CHANGES * * %Identification * Written by: KN, KL, PEO, EF, PW * Date: 1997 * Origin: Risoe, ILL, ANSTO * Release: McStas 1.8 * Version: 1.8 * Modified by: KN, October 26, 1998 : initial release 1.0 * Modified by: KN, March 31, 1999 : release 1.1 * Modified by: KN, January 31, 2000 : release 1.2 * Modified by: KN, May 18, 2000 : release 1.3 * Modified by: KN, July 28, 2000 : release 1.4 * Modified by: KN, PEO, March 16, 2001: release 1.4.1 * Modified by: PEO, EF, October, 10th, 2001: release 1.5 * Modified by: PW, EF, May 19th 2003: version 1.7 * Modified by: PW, EF, March 4th 2004: version 1.8 * Modified by: PW, EF, November 16th 2005: version 1.9 * * This file is part of McStas version 1.9, released November, 16th, 2005. * It gives a 'changes' list from the beginning of the project * *******************************************************************************/ Changes in McStas v1.9, Nov 16, 2005 General - To indicate the collaborative nature of the McStas package, the main website URL does no longer belong to Risoe or ILL but is http://www.mcstas.org. - The package has been strengthened by the presence of Klaus Lieutenant (former captain of Vitess, HMI) at ILL. He has focused a lot on validation and testing of the package, giving very important input and done very valuable work. - To help us in the fight against bugs, a BUGZILLA system has been set up for users to report their suggestions and problems. The system is available at the URL http://www.mcstas.org/McZilla . - The VnCS (Virtual neutron Code Sharing) agreement has been signed by the leaders of the Vitess and McStas software packages to formally support closer collaboration and sharing of code between the packages. At least one component (Vitess_ChopperFermi) now works with both packages, work done by Klaus Lieutenant and Geza Zsigmond. - Many big and small BUGS ellimnated! - First attempt at "concentric components" (sample environment). See Isotropic_Sqw in the 'Components' section below. Documentation - With this release, the component manual has finally been updated! Major work has been put into this by especially Kim Lefmann and Emmanuel Farhi. The user manual has also been revised, but not as intensively. - Improvements to tutorial/teaching material as result of Copenhagen University course on neutron scattering, given by Kim Lefmann and Peter Willendrup. The idea is that when improved further, the full simulation part of the course can serve as an extended tutorial for McStas. In the package, projects on virtual experiments at DMC, RITA-2 and SANS-2 at PSI is included. Tools - A web frontend is now available for McStas, check it out at http://www.mcstas.org/webfront . Currently it is not actually part of the package, may become so in a near future release. - On Unix systems, mcdaemon is a tool to periodically send -USR2 signals (save) to running simulation processes. Is in an early state but should work okay, but not documented in the user manual. Replots intermediate data. - mcgui has been intensively revised, many annoyances have been removed and features adjusted for easier use. Components - For simplicity, a number of components (especially monitors and sources) have been merged. This for example means that the Source_simple replaces the former Source_flat* components. Fewer duplications of code => smaller risk of old bugs surviving in the code. - PowderN: General powder sample component, replaces the simpler Powder1 and Powder2 components, has a very flexible system to read crystallographic data for powder line description. Is in the process of beeing validated against data from DMC at PSI. The code itself and the validation of it is the result of collaboration between mainly Peter Willendrup from the McStas team and Laurent Chapon (ISIS), Uwe Filges (PSI) and Lukas Keller (PSI). A validation paper will be presented at ICNS, Sydney. - Isotropic_Sqw: Originally work for the Ph.D. thesis of V. Hugouvieux, ILL. Extended and validated intensively by Emmanuel Farhi, ILL. It handles elastic and inelastic scattering for both coherent and incoherent processes, with secondary absorption and multiple scattering. The code has been validated against PowderN and V_sample. It comes with the same flexible system as PowderN to read data files, including crystallographic data for powder line description. Moreover, it may be used to describe concentric geometries in order to model sample environments. - Vitess_ChopperFermi: Originally work for Vitess by Geza Zsigmond, now PSI. Validated and adapted for use with McStas by Klaus Lieutentant, ILL in the frame of the VnCS agreement. - TOFRes_sample: time-of-flight version of the Res_sample component. Written by Kim Lefmann, Risoe. Will be merged with the res_sample component in next release. - The full suite of Fermi Choppers have been tested intensively by Klaus Lieutentant, partly inspired by the work of ILL stagiere Rebecca Peacock. WARNINGS - Because of rapid changes in the support software for McStas, the current release has support for only some releases of: * Scilab (Win32 and Unix) - pick release 3.0 from , e.g. from http://www.scilab.org/download/index_download.php?page=oldReleases.html * Perl (Win32) - on Windows we only support Perl 5.6 - pick http://downloads.activestate.com/ActivePerl/Windows/5.6/ActivePerl-5.6.1.638-MSWin32-x86.msi