Commit 530eeba9 authored by Zolnierczuk, Piotr's avatar Zolnierczuk, Piotr
Browse files

consolidate test macro

parent 90cba55c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -65,6 +65,7 @@ tests/testmems
tests/testnewcom
tests/testosutils
tests/testread
tests/testreduce
tests/teststat
tests/teststrings
+32 −0
Original line number Diff line number Diff line
macro

set r.postcoll_qcat    0.005e+10


! ==== set paths
! datapath ./examples
! savepath ./out

! ==== set binning
bins pix nbins 8
bins tof custom 2 13 26 39

! ==== set histogramming
set A  1e-10
set ns 1e-9

histo tau  nbins 20 min 0.002*ns max 200.0*ns log
histo q    nbins 20 min 0.000/A  max 0.5/A

c ==== read data
read s5848.echo s5849.echo s5850.echo s5851.echo s5852.echo s5853.echo as resolution
read s5854.echo s5855.echo s5857.echo s5858.echo s5859.echo s5860.echo s5861.echo as sample

c === process
match all
fit   res
fit   sam flag offset
collect to test_0p005.dat

quit