[neutron-mc] mcresplot
Jörg Voigt
j.voigt at fz-juelich.de
Mon Nov 7 17:20:22 CET 2005
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
======================
More information about the mcstas-users
mailing list