diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr index 0360503c..032a04b9 100644 --- a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-lifetimecorrection.msr @@ -23,8 +23,13 @@ FUNCTIONS fun1 = par3 * gamma_mu ############################################################### -RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) +fit 0 8.2 +packing 25 + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) norm 6 backgr.fit 8 map 4 0 0 0 0 0 0 0 0 0 @@ -32,11 +37,8 @@ forward 1 #background 30 152 # estimated bkg: 49.2393 data 165 7965 t0 162.0 -fit 0 8.2 -packing 25 RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 7 backgr.fit 9 map 5 0 0 0 0 0 0 0 0 0 @@ -44,8 +46,6 @@ forward 2 #background 30 152 # estimated bkg: 43.1545 data 205 7965 t0 202.0 -fit 0 8.2 -packing 25 ############################################################### COMMANDS diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr index 62992c81..67965b6f 100644 --- a/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-no-scale-range-no-lifetimecorrection.msr @@ -23,8 +23,13 @@ FUNCTIONS fun1 = par3 * gamma_mu ############################################################### -RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) +fit 0 8.2 +packing 25 + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) norm 6 backgr.fit 8 map 4 0 0 0 0 0 0 0 0 0 @@ -32,11 +37,8 @@ forward 1 #background 30 152 # estimated bkg: 49.2393 data 165 7965 t0 162.0 -fit 0 8.2 -packing 25 RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 7 backgr.fit 9 map 5 0 0 0 0 0 0 0 0 0 @@ -44,8 +46,6 @@ forward 2 #background 30 152 # estimated bkg: 43.1545 data 205 7965 t0 202.0 -fit 0 8.2 -packing 25 ############################################################### COMMANDS diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr index f20ac4d3..d8fe07a9 100644 --- a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-range-lifetimecorrection.msr @@ -23,8 +23,13 @@ FUNCTIONS fun1 = par3 * gamma_mu ############################################################### -RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) +fit fgb lgb # in time: 0.00375..9.705 (usec) +packing 25 + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) norm 6 backgr.fit 8 map 4 0 0 0 0 0 0 0 0 0 @@ -32,11 +37,8 @@ forward 1 #background 30 152 # estimated bkg: 49.2393 data 165 7965 t0 162.0 -fit fgb lgb # in time: 0.00375..9.75375 (usec) -packing 25 RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 7 backgr.fit 9 map 5 0 0 0 0 0 0 0 0 0 @@ -44,8 +46,6 @@ forward 2 #background 30 152 # estimated bkg: 43.1545 data 205 7965 t0 202.0 -fit fgb lgb # in time: 0.00375..9.70375 (usec) -packing 25 ############################################################### COMMANDS @@ -71,5 +71,5 @@ phase 8.5 range 0.0 200.0 ############################################################### -STATISTIC --- 2014-12-29 11:50:45 +STATISTIC --- 2015-01-05 15:15:12 chisq = 798.0, NDF = 612, chisq/NDF = 1.303881 diff --git a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr index d3b4a549..eb6c9e7b 100644 --- a/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr +++ b/doc/examples/ViewOpts/test-histo-PSI-BIN-scale-fitRangeBin-use_fit_ranges-lifetimecorrection.msr @@ -23,8 +23,13 @@ FUNCTIONS fun1 = par3 * gamma_mu ############################################################### -RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) +fit fgb lgb # in time: 0.00375..9.705 (usec) +packing 25 + +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) norm 6 backgr.fit 8 map 4 0 0 0 0 0 0 0 0 0 @@ -32,11 +37,8 @@ forward 1 #background 30 152 # estimated bkg: 49.2393 data 165 7965 t0 162.0 -fit fgb lgb # in time: 0.00375..9.75375 (usec) -packing 25 RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 7 backgr.fit 9 map 5 0 0 0 0 0 0 0 0 0 @@ -44,8 +46,6 @@ forward 2 #background 30 152 # estimated bkg: 43.1545 data 205 7965 t0 202.0 -fit fgb lgb # in time: 0.00375..9.70375 (usec) -packing 25 ############################################################### COMMANDS @@ -66,10 +66,10 @@ units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' fourier_power 12 apodization NONE # NONE, WEAK, MEDIUM, STRONG plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE -phase 8.5 +phase 8 #range_for_phase_correction 50.0 70.0 -range 0.0 200.0 +range 0 200 ############################################################### -STATISTIC --- 2014-12-29 11:50:45 +STATISTIC --- 2015-01-05 15:18:49 chisq = 798.0, NDF = 612, chisq/NDF = 1.303881 diff --git a/doc/examples/test-asy-MUD.msr b/doc/examples/test-asy-MUD.msr index 8677f191..9c53c561 100644 --- a/doc/examples/test-asy-MUD.msr +++ b/doc/examples/test-asy-MUD.msr @@ -12,9 +12,6 @@ THEORY asymmetry 2 generExpo 3 4 (rate exponent) -############################################################### -#FUNCTIONS - ############################################################### RUN data/000100 XXXX TRIUMF MUD (name beamline institute data-file-format) fittype 2 (asymmetry fit) diff --git a/doc/examples/test-histo-HAL9500.msr b/doc/examples/test-histo-HAL9500.msr index 48ed3099..86451794 100644 --- a/doc/examples/test-histo-HAL9500.msr +++ b/doc/examples/test-histo-HAL9500.msr @@ -121,197 +121,139 @@ fun3 = par2 * gamma_mu fun4 = par4 * gamma_mu ############################################################### -RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) -lifetimecorrection +fit 0.0005 10 +packing 5 + +############################################################### +RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) map 5 6 7 0 0 0 0 0 0 0 0 norm 8 backgr.fit 9 forward 2 data 20120 409500 t0 20108.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 10 11 12 0 0 0 0 0 0 0 0 norm 13 backgr.fit 14 forward 3 data 20111 409500 t0 20088.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 15 16 17 0 0 0 0 0 0 0 0 norm 18 backgr.fit 19 forward 4 data 20090 409500 t0 20061.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 20 21 22 0 0 0 0 0 0 0 0 norm 23 backgr.fit 24 forward 5 data 20106 409500 t0 20071.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 25 26 27 0 0 0 0 0 0 0 0 norm 28 backgr.fit 29 forward 6 data 20120 409500 t0 20080.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 30 31 32 0 0 0 0 0 0 0 0 norm 33 backgr.fit 34 forward 7 data 20120 409500 t0 20071.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 35 36 37 0 0 0 0 0 0 0 0 norm 38 backgr.fit 39 forward 8 data 20120 409500 t0 20066.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 40 41 42 0 0 0 0 0 0 0 0 norm 43 backgr.fit 44 forward 9 data 20058 409500 t0 20032.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 45 46 47 0 0 0 0 0 0 0 0 norm 48 backgr.fit 49 forward 10 data 20043 409500 t0 20022.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 50 51 52 0 0 0 0 0 0 0 0 norm 53 backgr.fit 54 forward 11 data 20043 409500 t0 20026.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 55 56 57 0 0 0 0 0 0 0 0 norm 58 backgr.fit 59 forward 12 data 20031 409500 t0 20010.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 60 61 62 0 0 0 0 0 0 0 0 norm 63 backgr.fit 64 forward 13 data 20043 409500 t0 20013.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 65 66 67 0 0 0 0 0 0 0 0 norm 68 backgr.fit 69 forward 14 data 20043 409500 t0 20017.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 70 71 72 0 0 0 0 0 0 0 0 norm 73 backgr.fit 74 forward 15 data 20043 409500 t0 20019.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 75 76 77 0 0 0 0 0 0 0 0 norm 78 backgr.fit 79 forward 16 data 20043 409500 t0 20019.0 -fit 0.0005 10 -packing 5 #-------------------------------------------------------------- RUN data/tdc_hifi_2014_00153 PIE3 PSI PSI-MDU (name beamline institute data-file-format) -fittype 0 (single histogram fit) -lifetimecorrection map 80 81 82 0 0 0 0 0 0 0 0 norm 83 backgr.fit 84 forward 17 data 20058 409500 t0 20039.0 -fit 0.0005 10 -packing 5 ############################################################### COMMANDS @@ -322,6 +264,7 @@ SAVE ############################################################### PLOT 0 (single histo plot) +lifetimecorrection runs 1 11 range 0 9.07 -0.5 0.5 diff --git a/doc/examples/test-histo-MusrRoot.msr b/doc/examples/test-histo-MusrRoot.msr index 93fba65b..7e307912 100644 --- a/doc/examples/test-histo-MusrRoot.msr +++ b/doc/examples/test-histo-MusrRoot.msr @@ -2,21 +2,21 @@ LSCO x=0.02 (224-227), T=12.00 (K), E=5.57 keV, WEW B=~49(G)/8.62(A), Tr=15.02 ( ############################################################### FITPARAMETER # No Name Value Step Pos_Error Boundaries - 1 AsymT 0.05053 -0.00072 0.00072 0 0.33 - 2 Field 48.299 -0.095 0.094 + 1 AsymT 0.05052 -0.00071 0.00072 0 0.33 + 2 Field 48.298 -0.094 0.095 3 RateT 0.129 -0.010 0.010 0 none 4 AsymL 0 0 none 0 0.33 5 RateL 0 0 none 6 AlphaLR 0.9784 -0.0013 0.0013 7 PhaseL 6.6 -1.6 1.6 -40 40 8 BkgL 6.920 -0.048 0.048 - 9 RelPhaseR 178.8 -1.9 1.9 150 210 + 9 RelPhaseR 178.7 -1.9 1.9 150 210 10 NormR 419.47 -0.40 0.40 11 BkgR 8.393 -0.050 0.050 - 12 AlphaTB 1.1024 -0.0015 0.0015 - 13 RelPhaseT 269.0 -1.9 2.0 240 300 - 14 BkgT 7.466 -0.050 0.049 - 15 NormB 393.08 -0.39 0.39 + 12 AlphaTB 1.1025 -0.0015 0.0015 + 13 RelPhaseT 269.0 -1.9 1.9 240 300 + 14 BkgT 7.466 -0.049 0.049 + 15 NormB 393.08 -0.39 0.38 16 RelPhaseB 90.7 -2.0 2.0 60 120 17 BkgB 7.091 -0.047 0.048 18 One 1 0 none @@ -39,53 +39,37 @@ fun3 = map2 * map3 fun4 = par4 * cos(pi / 180.0 * (par7 + map1)) ############################################################### -RUN data/lem12_his_2466 MUE4 PSI MUSR-ROOT (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) +data 2741 63000 +t0 2741.0 2741.0 +fit 0.2 10 +packing 50 + +############################################################### +RUN data/lem12_his_2466 MUE4 PSI MUSR-ROOT (name beamline institute data-file-format) norm fun3 backgr.fit 8 -lifetimecorrection map 19 6 10 0 0 0 0 0 0 0 forward 1 5 -data 2741 63000 -t0 2741.0 2741.0 -fit 0.2 10 -packing 50 RUN data/lem12_his_2466 MUE4 PSI MUSR-ROOT (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm fun3 backgr.fit 11 -lifetimecorrection map 9 18 10 0 0 0 0 0 0 0 forward 3 7 -data 2741 63000 -t0 2741.0 2741.0 -fit 0.2 10 -packing 50 RUN data/lem12_his_2466 MUE4 PSI MUSR-ROOT (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm fun3 backgr.fit 14 -lifetimecorrection map 13 12 15 0 0 0 0 0 0 0 forward 2 6 -data 2741 63000 -t0 2741.0 2741.0 -fit 0.2 10 -packing 50 RUN data/lem12_his_2466 MUE4 PSI MUSR-ROOT (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm fun3 backgr.fit 17 -lifetimecorrection map 16 18 15 0 0 0 0 0 0 0 forward 4 8 -data 2741 63000 -t0 2741.0 2741.0 -fit 0.2 10 -packing 50 ############################################################### COMMANDS @@ -97,7 +81,7 @@ SAVE ############################################################### FOURIER -units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' fourier_power 10 apodization STRONG # NONE, WEAK, MEDIUM, STRONG plot REAL # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE @@ -106,10 +90,11 @@ phase par7 ############################################################### PLOT 0 (single histo plot) -runs 1 3 +lifetimecorrection +runs 1 3 range 0 9 -0.15 0.15 view_packing 500 ############################################################### -STATISTIC --- 2013-11-12 10:21:48 +STATISTIC --- 2015-01-05 13:58:40 maxLH = 3971.7, NDF = 4001, maxLH/NDF = 0.992668 diff --git a/doc/examples/test-histo-NeXus.msr b/doc/examples/test-histo-NeXus.msr index 0bdfc4d3..a80bbdd5 100644 --- a/doc/examples/test-histo-NeXus.msr +++ b/doc/examples/test-histo-NeXus.msr @@ -3,16 +3,16 @@ Temperature = 300 K, Magnetic Field = 20 Gauss, Sample = CAS FITPARAMETER # No Name Value Step Pos_Error Boundaries 1 zero 0 0 none - 2 phase 11.45 -0.34 0.35 0 100 + 2 phase 11.45 -0.35 0.34 0 100 3 field 20.179 -0.028 0.028 0 none 4 asym 0.1877 -0.0010 0.0010 0 0.3 - 5 rate 0.1257 -0.0024 0.0023 0 100 + 5 rate 0.1257 -0.0023 0.0024 0 100 6 beta 1 0 none 7 Norm_L 2863.4 -1.4 1.4 8 BG_L 0 0 none - 9 Norm_R 2024.3 -1.1 1.2 0 none + 9 Norm_R 2024.3 -1.1 1.1 0 none 10 BG_R 0 0 none 0 none - 11 relPhase 172.25 -0.37 0.36 0 none + 11 relPhase 172.25 -0.37 0.37 0 none ############################################################### THEORY @@ -26,27 +26,24 @@ fun1 = par2 + map1 fun2 = gamma_mu * par3 ############################################################### -RUN data/32482 XXXX ISIS NEXUS (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) -norm 7 -backgr.fit 8 -lifetimecorrection -map 1 0 0 0 0 0 0 0 0 0 -forward 1-16 data 40 1500 fit 0.2 20 packing 1 +############################################################### +RUN data/32482 XXXX ISIS NEXUS (name beamline institute data-file-format) +norm 7 +backgr.fit 8 +map 1 0 0 0 0 0 0 0 0 0 +forward 1-16 + RUN data/32482 XXXX ISIS NEXUS (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 9 backgr.fit 10 -lifetimecorrection map 11 0 0 0 0 0 0 0 0 0 forward 17-32 -data 40 1500 -fit 0.2 20 -packing 1 ############################################################### COMMANDS @@ -56,7 +53,7 @@ SAVE ############################################################### FOURIER -units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' fourier_power 10 apodization STRONG # NONE, WEAK, MEDIUM, STRONG plot REAL # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE @@ -65,10 +62,11 @@ phase par2 ############################################################### PLOT 0 (single histo plot) -runs 1 2 +lifetimecorrection +runs 1 2 range 0 20 -0.3 0.3 view_packing 5 ############################################################### -STATISTIC --- 2012-03-20 10:28:21 +STATISTIC --- 2015-01-05 14:06:13 chisq = 3272.6, NDF = 2469, chisq/NDF = 1.325481 diff --git a/doc/examples/test-histo-NeXus2.msr b/doc/examples/test-histo-NeXus2.msr index 69bd289a..59a4d2c0 100644 --- a/doc/examples/test-histo-NeXus2.msr +++ b/doc/examples/test-histo-NeXus2.msr @@ -26,27 +26,24 @@ fun1 = par2 + map1 fun2 = gamma_mu * par3 ############################################################### -RUN data/EMU00005989_v2 XXXX ISIS NEXUS (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) -norm 7 -backgr.fit 8 -lifetimecorrection -map 1 0 0 0 0 0 0 0 0 0 -forward 1-16 data 40 1500 fit 0.2 14 packing 1 +############################################################### +RUN data/EMU00005989_v2 XXXX ISIS NEXUS (name beamline institute data-file-format) +norm 7 +backgr.fit 8 +map 1 0 0 0 0 0 0 0 0 0 +forward 1-16 + RUN data/EMU00005989_v2 XXXX ISIS NEXUS (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 9 backgr.fit 10 -lifetimecorrection map 11 0 0 0 0 0 0 0 0 0 forward 17-32 -data 40 1500 -fit 0.2 14 -packing 1 ############################################################### COMMANDS @@ -61,11 +58,12 @@ units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' fourier_power 10 apodization STRONG # NONE, WEAK, MEDIUM, STRONG plot REAL # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE -range 0 100 +range 0 200 phase par2 ############################################################### PLOT 0 (single histo plot) +lifetimecorrection runs 1 2 range 0 14 -0.22 0.22 view_packing 2 diff --git a/doc/examples/test-histo-PSI-BIN.msr b/doc/examples/test-histo-PSI-BIN.msr index bd46acc3..081079e3 100644 --- a/doc/examples/test-histo-PSI-BIN.msr +++ b/doc/examples/test-histo-PSI-BIN.msr @@ -6,8 +6,8 @@ FITPARAMETER 2 Rate 0.3188 -0.0044 0.0044 3 Field 97.853 -0.056 0.056 0 200 4 Phase_L 178.95 -0.41 0.41 - 5 Phase_R 1.75 -0.40 0.39 - 6 N0_L 1097.90 -1.00 1.00 + 5 Phase_R 1.75 -0.39 0.39 + 6 N0_L 1097.9 -1.0 1.0 7 N0_R 1159.7 -1.0 1.0 8 Bkg_L 54.47 -0.20 0.20 9 Bkg_R 46.70 -0.19 0.19 @@ -23,31 +23,27 @@ FUNCTIONS fun1 = par3 * gamma_mu ############################################################### -RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +GLOBAL fittype 0 (single histogram fit) -norm 6 -backgr.fit 8 -lifetimecorrection -map 4 0 0 0 0 0 0 0 0 0 -forward 1 -#background 30 152 # estimated bkg: 49.2393 -data 165 7965 -t0 162.0 fit 0 8.2 packing 25 +############################################################### +RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) +norm 6 +backgr.fit 8 +map 4 0 0 0 0 0 0 0 0 0 +forward 1 +data 165 7965 +t0 162.0 + RUN data/deltat_pta_gpd_0423 PIE1 PSI PSI-BIN (name beamline institute data-file-format) -fittype 0 (single histogram fit) norm 7 backgr.fit 9 -lifetimecorrection map 5 0 0 0 0 0 0 0 0 0 forward 2 -#background 30 152 # estimated bkg: 43.1545 data 205 7965 t0 202.0 -fit 0 8.2 -packing 25 ############################################################### COMMANDS @@ -58,12 +54,13 @@ SAVE ############################################################### PLOT 0 (single histo plot) +lifetimecorrection runs 1 2 range 0 7 -0.3 0.3 ############################################################### FOURIER -units Gauss # units either 'Gauss', 'MHz', or 'Mc/s' +units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s' fourier_power 12 apodization NONE # NONE, WEAK, MEDIUM, STRONG plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE @@ -72,5 +69,5 @@ phase 8.5 range 0.0 200.0 ############################################################### -STATISTIC --- 2013-02-12 13:15:32 +STATISTIC --- 2015-01-05 14:09:47 chisq = 663.9, NDF = 515, chisq/NDF = 1.289169