Windows Muon Data Analysis



Download 152.99 Kb.
Page2/5
Date11.10.2016
Size152.99 Kb.
#124
1   2   3   4   5

3. File



3.1 Open


Opens desired file for WiMDA analysis. When the file is opened

WiMDA saves the file location and filename format details as defaults in the set-up file.

3.2 Save/ Save as


Creates an ASCII file containing the results produced by WiMDA. E.g. if a plot of

asymmetry versus time was produced a file containing the times and corresponding

values of asymmetry would be created. If the plot was fitted then the fit values can also

be saved.

3.3 Load fit Libraries


Specifies the directory where the libraries of fit functions are to be loaded from and loads them.



3.4 Printer set-up


Allows printer options to be chosen e.g. which printer to use or whether to print portrait

or landscape documents


3.5 Co-sub mode


This switches the co-add function to co-subtract. Allows one run to be subtracted from

another. This is usually used if e.g. an experiment is left to run until 10 million events are recorded and then stopped. Then the same experiment is left running until 20 million results are recorded. The 10 million event run could be subtracted from the 20 million event run to obtain the results of the experiment between 10 and 20 million events.

3.6 Setup

Clicking on setup brings up two setup windows. One is in the style of a form and the other is a text editor interface for the wimda.ini setup file.



Figure 3.1. WiMDA form-style setup window
The form-style window has the following fields:
Raw data directory directory in which WiMDA will search for muon data files. The directory name is displayed in the main menu window
Analysis directory working directory for analysis, i.e. where files containing the fit logs, fit tables etc. will be written
Fit library directory directory from which fitting libraries are loaded
Temporary directory directory in which temporary files are stored
GLE command command to invoke GLE to generate a postscript plot of model fitting results

PS view command command which runs ghostview to view the postscript files generated by GLE

Compressed file extension any raw data file with this extension will be decompressed automatically by WiMDA, usually bz2
Extension separator character separator for the compressed file extension, usually the full stop
Decompress command the decompression process that WiMDA will perform, usually bunzip2.exe
Further entries are stored in the wimda.ini setup file, e.g. the run prefix, number, separator and extension, number of digits in the run number and the compression status of the last file loaded. At ISIS the prefix is either ‘r’ or the machine used for the experiments e.g. ‘emu’, ‘musr’, ‘mut’ or ‘argus’; the run number is a five to eight digit number, the separator is a full stop and the extension is either ‘ral’, ‘nxs’ or ‘macs’. This information is extracted automatically when a run is loaded successfully into WiMDAthrough the file load dialogue.

Figure 3.2. WiMDA text-style setup window

3.7 Generating test data

Test data can be created to match a specific fitting function and determine the number of events needed to reach a particular level of accuracy in an experiment. First open the Analyse window and fit the data to a function (see section 7) or, if no data has yet been obtained select the fitting function closest to the theoretical results of the experiment. Select the generate test data command from the File sub-menu and enter the desired number of experimental events in the dialogue box. WiMDA will generate simulated data using the fitting function as a template. The error in fitting the data can be recorded and the number of experimental events increased until a suitable accuracy in the fitted parameter is reached.




Figure 3.3. Generate test data dialogue box.

4. Logbook




Figure 4.1. WiMDA Logbook Window

A logbook containing the run number, type of sample, temperature, magnetic field, date, time and number of events recorded in a particular set of experiments can be created using the logbook window. Enter the first and last run numbers in the set of experiments in the From Run and To Run boxes. Additional data can be included from the temperature sensors by checking the Use Temperature Log box. The temperature log file is read and an average temperature is calculated for the run (this relies on the temperature log having been saved.) To create a log book click on Import Headers. Logbooks can be printed, saved, loaded or cleared using the button on the logbook window or the commands on the File sub menu. The Edit command menu contains the commands cut, copy, paste and delete for working with contents of the logbook. The Set Logfile Directory is used to set the location where the temperature log files are to be read from. The default is the Tlog subdirectory of the data directory.




5. Grouping




Figure 5.1. WiMDA Grouping Window
The detectors can be assigned to a number of groups from 1 to 32 using the Grouping menu.

The number of actual detectors on ISIS instruments ranges from 32 to 192, other facilities have different numbers, often much fewer.


Where the number of detectors is greater than 32 pregrouping of detector channels is used to give 32 pseudo-detectors. For ARGUS with 192 detectors the pregrouping factor is six and this is done by the acquisition system. Since Autumn 2004, MuSR has increased from 32 to 64 detectors, but pregrouping by a factor of two brings it back to 32 detector channels for WiMDA.
For longitudinal work, the default grouping is usually two groups of detectors one labelled forward and one labelled backward. The grouping of the detectors is saved in the grouping table, which can be edited, loaded or saved to a file using the relevant buttons on the grouping window. Once the grouping has been set up for a series of runs on a particular instrument it should be saved as ‘default.mgp’ in the appropriate analysis directory. This ensures that the default grouping is picked up again when any further analysis is done using this directory.

5.1 Standard groupings




Figure 5.2 WiMDA Group Table showing forwards and backwards groups, as appropriate for a typical ISIS instrument configured for longitudinal relaxation.




Figure 5.3 WiMDA Group Table showing eight groups, as might be appropriate for transverse field muon spin rotation studies(ISIS MuSR instrument in transverse setup).

5.2 Alpha

The asymmetry is determined by the difference in positron counts between the forwards and backward detectors. The factor alpha compensates for the difference in efficiency between the two detectors. Alpha is used in the expression for asymmetry

a = (F-B)/(F+B)

where F and B are the counts in the forwards and backwards detector sets.




5.3 How Alpha is calculated

An estimate of alpha can be made from measuring the precession of diamagnetic muons in a transverse field and then clicking on estimate in the alpha estimation box.

The two methods WiMDA uses to calculate alpha are detailed in appendix A.


5.4 Binning


The muon data acquisition system does not produce a continuous series of time values for positron events. Instead results are group together in amounts of time that are a fixed length long, “ bins”. The usual length of a raw bin is 16 ns for ISIS data files. Significantly smaller bins may however be used for RF studies or for data from continuous muon sources.





Figure 5.4. Diagram of ISIS data near the pulse showing T zero and T good.

5.5 T zero offset


The difference in time between the timer starting to count and the middle of the muon pulse reaching the sample. At ISIS for example this is typically 0.645 s (channel 40) for MuSR and 0.278 s (channel 18) for EMU.




5.6 T good offset


Although the timing origin for the muon response in the sample is when the middle of the muon pulse has reached the sample, the good data region is not obtained until the entire pulse has arrived at the sample. This time is defined as tgood and the difference between tgood and t0 is referred to as the tgood offset. At ISIS the offset is usually set to seven bins, however for FB analysis tgood offset can be made smaller than for transverse field analysis.




5.7 Bunching factor


Several values from different adjacent bins can be averaged together to give just one value which is then plotted.


N.B. the way the data is bunched affects the resulting plot and may affect the fit.
The bunching can be used to create a time average by increasing the bunch factor to specify the length of time that the average is to be taken over. The plot will then automatically display the average value for this time interval. E.g. to create a window 4 s long the bunch factor should be increased to 250.


5.8 BG (background) correction

Background correction is most important for data from continuous muon sources or when extending data analysis to very long times with pulsed source data. The background signal represents particles detected that are not the decay positrons of muons implanted in the sample. This background signal must be subtracted from the total positron count.

The auto option corrects for the background count by fitting the data to a muon decay plus background and then subtracting the background signal. The manual option sets the background at a constant value, which can be altered by the user. The file option allows another measured run to define the background. The reg option is used for data from continuous sources and defines a region of bins from where the background can be estimated.

5.9 Deadtime correction


After a detector has recorded a positron count there is a small time interval before it is able to detect another count. It is possible that a positron will arrive within this interval and not be recorded. Statistical analysis can be used to correct for this.

The manual mode allows the user to adjust for deadtime for each histogram by scrolling through the histogram numbers and entering the deadtime in the hist dialogue box.

Auto Estimate makes an estimate of the deadtime length and uses this for all histograms.

Auto Load prompts WiMDA to search for a deadtime file in the data directory. (Deadtime files are named dt*. dat. at ISIS). When a silver sample is used for a calibration run the deadtime values can be made into a deadtime file by clicking on calibrate. The file can then be stored and accessed using the save and load buttons. Note that Nexus format data files may have deadtimes stored internally.

5.10 Group T0/BG



Use File values prompts WiMDA to take the grouping information from the grouping files.

All same T0 sets the same value of T0 for all the groups. This is the usual option for ISIS. When this option is switched off the values of T0 can be set for each group individually by scrolling through the group numbers and entering the appropriate value in the T0 dialogue box

When Deadtime Correction is set to manual the background for each group can be set in the same way using the BG dialogue box.




5.11 Binning and Binning type

The default length of a raw bin is 16 ns. If bin length is increased by bunching several bins together the statistical errors in the bin contents decrease.


In Fixed binning the raw bin length is multiplied by the bunching factor to give the final bin size.

For Variable binning the initial bin length and the bin length at 10s are set and WiMDA interpolates the binning smoothly, based on these reference points.



In Constant Error binning the bin length exponentially increases with time from the initial value so that the counts per bin and the resulting error remain fixed.

Download 152.99 Kb.

Share with your friends:
1   2   3   4   5




The database is protected by copyright ©ininet.org 2024
send message

    Main page