From farhi at ill.eu Fri Oct 12 14:06:20 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 12 Oct 2012 14:06:20 +0200 Subject: [Ifit-users] Fwd: Re: iFit error In-Reply-To: <50780712.7010106@ill.eu> References: <50780712.7010106@ill.eu> Message-ID: <507807BC.2080504@ill.eu> An HTML attachment was scrubbed... URL: From farhi at ill.eu Fri Nov 2 08:52:06 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 02 Nov 2012 08:52:06 +0100 Subject: [Ifit-users] iFit and McStas In-Reply-To: References: Message-ID: <50937BA6.2000300@ill.eu> Hi Henrik, Currently, this is true, all monitors are loaded, and then the options.Monitors filter is applied. Could probably do the other way round so that only some selected files are loaded. As the simulation directories are temporary, it is till required to load some data in order to keep track of the simulation counts. A faster solution would be to only load some selected monitors (with the Monitors option), e.g. the files 'content.sim' and 'mcstas.dat' ? Would that be OK ? I will have a look at that (now preparing iFit 1.3) Emmanuel. On 11/01/2012 02:03 PM, Henrik Jacobsen wrote: > Hi Emmanuel > I am at the moment scanning 2 parameters in McStas using iFit. I have > a rather large amount of monitors, and iFit actually spends more time > loading in the results of the simulations, than the cluster spends on > simulating! Is there a way to make iFit just perform the simulations, > without loading all the data? > Best > Henrik -- Emmanuel FARHI,www.ill.eu/computing/people/emmanuel-farhi \|/ ____ \|/ CS-Group ILL4/221, Institut Laue-Langevin (ILL) Grenoble ~@-/ oO \-@~ 6 rue J. Horowitz, BP 156, 38042 Grenoble Cedex 9,France /_( \__/ )_\ Work :Tel (33/0) 4 76 20 71 35. Fax (33/0) 4 76 48 39 06 \__U_/ From farhi at ill.eu Fri Nov 2 14:34:47 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Fri, 02 Nov 2012 14:34:47 +0100 Subject: [Ifit-users] A question about McStas optimizations in iFit In-Reply-To: References: Message-ID: <5093CBF7.3060808@ill.eu> An HTML attachment was scrubbed... URL: From farhi at ill.eu Mon Nov 5 14:10:33 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Mon, 05 Nov 2012 14:10:33 +0100 Subject: [Ifit-users] A question about McStas optimizations in iFit In-Reply-To: References: <5093CBF7.3060808@ill.eu> Message-ID: <5097BAC9.4050204@ill.eu> An HTML attachment was scrubbed... URL: From farhi at ill.eu Thu Nov 29 16:08:25 2012 From: farhi at ill.eu (Emmanuel FARHI) Date: Thu, 29 Nov 2012 16:08:25 +0100 Subject: [Ifit-users] [ifit-users] New iFit release 1.3 Message-ID: <50B77A69.9030906@ill.eu> An HTML attachment was scrubbed... URL: From farhi at ill.fr Sat Dec 8 18:39:21 2012 From: farhi at ill.fr (Emmanuel FARHI) Date: Sat, 8 Dec 2012 18:39:21 +0100 (CET) Subject: [Ifit-users] A question about importing data with iFit In-Reply-To: References: Message-ID: <6f1eed73285d6cf1b2e7a2962d8cfe2c.squirrel@195.83.126.17> Hi Henrik, In order to find where 'monitor' appears, you can use: >> [content,field]=findstr(a, 'monitor') will return the string containing the token, and the field name for this string. The equivalent numerical data field is the one without 'Headers.'. So you can get it with: >> numfield=strrep(field, 'Headers.',''); >> m=get(a, numfield); >> monitors=m(:,2); % second column occording to the findstr result. I have checked that the iFit.zip corresponds with the version 1.3. You may try to download it again. Emmanuel. On Fri, December 7, 2012 16:43, Henrik Jacobsen wrote: > Hi Emmanuel > I have some data that I would like to plot using iFit. An example data > files is attached. It's from a scan on D9, so the dataset is 51 sets of > counts on a PSD. iFit puts the data into a 51x1024 iData, but I would like > it to be 51 x 32x32. I think I can fix that using the reshape command, so > that is not so important. > However, iFit does not find the monitor count, which I need to normalize > the data properly. Part of a data file looks like this: > > FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF > 4 1 > > time monitor Total Cou angles*1000 > > 0.25000000E+05 0.38575600E+06 0.16520000E+04 0.69999000E+05 > > IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII > 1024 > > 1 0 0 0 0 0 0 1 1 > 0 > 0 0 1 1 0 1 0 1 0 > 0 > 0 0 1 1 1 1 0 1 0 > 0 > 1 1 0 2 0 0 0 0 0 > 1 > 0 1 1 2 1 1 0 0 0 > 0 > > I would like iFit to automatically set the monitor to each file to be the > value specified in monitor (i.e. in this case 0.38575600E+06). Do you > know > of a way to do that? > > Also, I tried to download iFit 1.3, but the folder I downloaded says it's > version 1.2.. > > Best > > Henrik > -- FARHI Emmanuel Groupe DS/CS, ILL4/156, Tel 04 76 20 71 35 ILL, Grenoble