In this case the SPECTRUM commands section looks like the one here. The first line is
SPECTRUM 1, , , , , ,,,, ! alpha,beta,rpha,rasy,l/t0, 5xindirectwith
In the line
sys$data:[musr.dat_cecunisn]012182.triyou call for the data (here 012182.tri) that shall be fitted. The other specifications determine where the file is stored in the computer network. You have to write the full runnumber plus extension. The spectra files must have the format *.tri, *.dat or *.gps. If you use a gps-file (which you can get e.g. from RESERL) you have to say
GPS=012182.gps (GPS= has to be written with capital letters!).
Comment: MSRFIT has severe problems with files containing more than 12MEv. Then the gps-format is the only data format that will work.The command
SP 2in the following line specifies that the asymmetry B+F/B-F should be formed. Further available commands are SP 3 which simply forms the ratio B/F and SP 4 which is the rotating frame analysis* . This is only of use for transverse fields B > 1kG.
H 1, 2, 0, 0specifies histograms for which the asymmetry ratio has to be formed. Only two histograms are allowed (an alternative would be H 0, 0, 3, 4 for left/right histograms).
B 70, 240, 70, 240, 0, 0, 0, 0specifies the channels for determining background counts. You can find out these channels e.g. by using the program SCAN. For TRIUMF data the background channels are usually below the t=0 channel, for RAL data use late channels.
Comment: When you want to fit left/right histograms you have to fill the slots the following way: B 0, 0, 0, 0, 70, 240, 70, 240.Notice: After this background definition two more SPECTRUM commands are possible
M(ARKERS) T0, FGCH, LGCHand (or)
RAW_BINS Tbin T0 ns A = 0.00000, 0.00000, B = 0.00000, 0.00000, C = 0.00000, 0.00000, D = 0.00000, 0.00000In the line MARKERS you can determine time-zero, first and last good channels if different from the datafile.
T 0, 5., 50determines start and stop time (µs) as well as the binwidth (ns) for fit and plot. At TRIUMF the binwidth is 2.5ns, at RAL 16ns.
Notice: You can not plot a range which is not fitted and you can not plot with more points/unit time than used in the fit.You can change the number of points/unit time for any part of the spectrum by defining a second SPECTRUM command (see Using different binwidth for one spectrum).