add LSCO ZF asymmetry (ROOT-NPP, LEM) example to the ctests.

Adds test-LSCO-asy-ZF.msr with its data file lem07_his_0592.root, a
maxLH_check (chisq) test, and musrview_check tests (time domain and
Fourier) including their reference PNGs.
This commit is contained in:
suter_a committed 2026-10-18 20:25:37 +02:00
1 parent 387cab4045
commit 407ae8c812
6 files changed
+86

No files matched your search

Binary file not shown.
+82
View File
@@ -0,0 +1,82 @@
LSCO (204-207) x=0.00, ZF, T=6K, Tr=15kV, Samp=9kV, E=5.59keV
###############################################################
FITPARAMETER
# Nr. Name Value Step Pos_Error Bounderies
1 Alpha 1 0 none 0 1.8
2 Asy1 0.0297 -0.0056 0.0060 0 0.33
3 Phase 0 0 none
4 Field1 361.2 -2.0 2.2 0 1000
5 Lambda1 1.37 -0.33 0.40 0 100
6 Asy2 0.0218 -0.0049 0.0057 0 0.33
7 Field2 411.7 -3.9 3.9 0 1000
8 Lambda2 1.52 -0.36 0.45 0 100
9 Asy3 0.0443 -0.0019 0.0019 0 0.33
10 Field3 104.86 -0.30 0.30 0 1000
11 Lambda3 0.366 -0.039 0.041 0 100
12 Asy4 0.0420 -0.0020 0.0020 0 0.33
13 Lambda5 0.85 -0.12 0.14 0 10
14 Tail 0.1370 -0.0021 0.0019 0 0.33
###############################################################
THEORY
asymmetry 2
TFieldCos 3 fun1 (phase frequency)
simplExpo 5 (rate)
+
asymmetry 6
TFieldCos 3 fun2 (phase frequency)
simplExpo 8 (rate)
+
asymmetry 9
TFieldCos 3 fun3 (phase frequency)
simplExpo 11 (rate)
+
asymmetry 12
simplExpo 13 (rate)
+
asymmetry 14
###############################################################
FUNCTIONS
fun1 = par4 * gamma_mu
fun2 = par7 * gamma_mu
fun3 = par10 * gamma_mu
###############################################################
RUN data/lem07_his_0592 MUE4 PSI ROOT-NPP (name beamline institute data-file-format)
fittype 2 (asymmetry fit)
alpha 1
map 0 0 0 0 0 0 0 0 0 0
forward 1
backward 3
background 65000 66500 65000 66500 # estimated bkg: 14.0253 / 11.8067
data 3419 63000 3419 63000
t0 3419.0 3419.0
fit 0 9
packing 75
###############################################################
COMMANDS
MIGRAD
MINOS
SAVE
###############################################################
FOURIER
units Gauss # units either 'Gauss', 'Tesla', 'MHz', or 'Mc/s'
dc-corrected true
fourier_power 12
apodization STRONG # NONE, WEAK, MEDIUM, STRONG
plot POWER # REAL, IMAG, REAL_AND_IMAG, POWER, PHASE, PHASE_OPT_REAL
range 0 1000
###############################################################
PLOT 2 (asymmetry plot)
runs 1
# {0, 1&2+0.05, 3, 4}
range 0 5 -0 0.3
view_packing 150
###############################################################
STATISTIC --- 2026-10-18 18:12:48
chisq = 700.8, NDF = 602, chisq/NDF = 1.164046
+1
View File
@@ -31,6 +31,7 @@ add_maxLH_test(test-asy-PSI-BIN test-asy-PSI-BIN.msr 566.76)
add_maxLH_test(test-asy-MUD test-asy-MUD.msr 133.96)
add_maxLH_test(test-asy-HAL9500-RRF test-asy-HAL9500-RRF.msr 7402.28)
add_maxLH_test(test-asy-LF-BaB6 test-asy-LF-BaB6.msr 1911.88)
add_maxLH_test(test-asy-LSCO-ZF test-LSCO-asy-ZF.msr 700.76)
#--- NeXus based tests. These can only work if musrfit was built with
#--- -Dnexus=1, otherwise the msr-files cannot be read at all -----------------
+3
View File
@@ -132,6 +132,9 @@ add_musrview_test(musrview-asy-LF-BaB6 test-asy-LF-BaB6.msr)
add_musrview_test(musrview-asy-LF-BaB6-fourier test-asy-LF-BaB6.msr -f)
add_musrview_test(musrview-asy-LF-BaB6-fourier-avg test-asy-LF-BaB6.msr -f -a)
add_musrview_test(musrview-asy-LSCO-ZF test-LSCO-asy-ZF.msr)
add_musrview_test(musrview-asy-LSCO-ZF-fourier test-LSCO-asy-ZF.msr -f)
#--- NeXus based tests. These can only work if musrfit was built with
#--- -Dnexus=1, otherwise the msr-files cannot be read at all -----------------
if (nexus)
Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB