Compare commits

..

2 commits

Author SHA1 Message Date
Stephan I. Böttcher
13b3722c09 KIEL_GN_2024-01-17-thrscan update, README, 1st slide 2024-01-24 14:02:45 +01:00
Stephan I. Böttcher
1b3d2d4da6 KIEL_GN_2024-01-17-thrscan: read from sys.stdin 2024-01-24 13:38:58 +01:00
8 changed files with 44 additions and 27 deletions

1
.gitignore vendored
View file

@ -4,5 +4,4 @@
*.nav *.nav
*.snm *.snm
*.toc *.toc
*.pdf
*.log *.log

View file

@ -1,16 +1,17 @@
#!/usr/bin/gnuplot -persist #!/usr/local/bin/gnuplot
# #
# #
# G N U P L O T # G N U P L O T
# Version 5.4 patchlevel 4 last modified 2022-07-10 # Version 6.1 patchlevel 0 last modified 2023-09-15
# #
# Copyright (C) 1986-1993, 1998, 2004, 2007-2022 # Copyright (C) 1986-1993, 1998, 2004, 2007-2023
# Thomas Williams, Colin Kelley and many others # Thomas Williams, Colin Kelley and many others
# #
# gnuplot home: http://www.gnuplot.info # gnuplot home: http://www.gnuplot.info
# mailing list: gnuplot-beta@lists.sourceforge.net
# faq, bugs, etc: type "help FAQ" # faq, bugs, etc: type "help FAQ"
# immediate help: type "help" (plot window: hit 'h') # immediate help: type "help" (plot window: hit 'h')
# set terminal qt 0 font "Sans,9" # set terminal qt 0 font "Sans,10"
# set output # set output
unset clip points unset clip points
set clip one set clip one
@ -18,6 +19,7 @@ unset clip two
unset clip radial unset clip radial
set errorbars front 1.000000 set errorbars front 1.000000
set border 31 front lt black linewidth 1.000 dashtype solid set border 31 front lt black linewidth 1.000 dashtype solid
set cornerpoles
set zdata set zdata
set ydata set ydata
set xdata set xdata
@ -44,13 +46,13 @@ set tics back
set grid nopolar set grid nopolar
set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \
nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics
set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 set grid layerdefault lt 0 linecolor 0 linewidth 0.500 dashtype solid, lt 0 linecolor 0 linewidth 0.500 dashtype solid
unset raxis unset raxis
set theta counterclockwise right set theta counterclockwise right
set style parallel front lt black linewidth 2.000 dashtype solid set style parallel front lt black linewidth 2.000 dashtype solid
set key notitle set key notitle
set key fixed right top vertical Right noreverse enhanced autotitle nobox set key fixed right top vertical Right noreverse enhanced autotitle nobox font ",24"
set key noinvert samplen 4 spacing 1 width 0 height 0 set key noinvert samplen 4 spacing 1 width 0 height 0
set key maxcolumns 0 maxrows 0 set key maxcolumns 0 maxrows 0
set key noopaque set key noopaque
unset label unset label
@ -65,8 +67,8 @@ set offsets 0, 0, 0, 0
set pointsize 1 set pointsize 1
set pointintervalbox 1 set pointintervalbox 1
set encoding default set encoding default
unset polar
unset parametric unset parametric
unset polar
unset spiderplot unset spiderplot
unset decimalsign unset decimalsign
unset micro unset micro
@ -78,12 +80,13 @@ set samples 100, 100
set isosamples 10, 10 set isosamples 10, 10
set surface implicit set surface implicit
set surface set surface
unset contour
set cntrlabel format '%8.3g' font '' start 5 interval 20
set mapping cartesian set mapping cartesian
set datafile separator whitespace set datafile separator whitespace
set datafile nocolumnheaders set datafile nocolumnheaders
unset hidden3d unset hidden3d
unset contour
set cntrlabel format '%8.3g' font '' start 5 interval 20
set cntrparam order 4 set cntrparam order 4
set cntrparam linear set cntrparam linear
set cntrparam levels 5 set cntrparam levels 5
@ -92,6 +95,8 @@ set cntrparam firstlinetype 0 unsorted
set cntrparam points 5 set cntrparam points 5
set size ratio 0 1,1 set size ratio 0 1,1
set origin 0,0 set origin 0,0
set contourfill auto 5
set contourfill palette
set style data points set style data points
set style function lines set style function lines
unset xzeroaxis unset xzeroaxis
@ -110,18 +115,18 @@ set mcbtics default
set mrtics default set mrtics default
set nomttics set nomttics
set xtics border in scale 1,0.5 mirror norotate autojustify set xtics border in scale 1,0.5 mirror norotate autojustify
set xtics norangelimit autofreq set xtics norangelimit autofreq font ",20"
set ytics border in scale 1,0.5 nomirror norotate autojustify set ytics border in scale 1,0.5 nomirror norotate autojustify
set ytics norangelimit autofreq set ytics norangelimit autofreq font ",20"
set ztics border in scale 1,0.5 nomirror norotate autojustify set ztics border in scale 1,0.5 nomirror norotate autojustify
set ztics norangelimit autofreq set ztics norangelimit autofreq font ",20"
unset x2tics unset x2tics
set y2tics border in scale 1,0.5 nomirror norotate autojustify set y2tics border in scale 1,0.5 nomirror norotate autojustify
set y2tics norangelimit autofreq set y2tics norangelimit 0.2 font ",20"
set cbtics border in scale 1,0.5 mirror norotate autojustify set cbtics border in scale 1,0.5 mirror norotate autojustify
set cbtics norangelimit autofreq set cbtics norangelimit autofreq font ",20"
set rtics axis in scale 1,0.5 nomirror norotate autojustify set rtics axis in scale 1,0.5 nomirror norotate autojustify
set rtics norangelimit autofreq set rtics norangelimit autofreq font ",20"
unset ttics unset ttics
set title "KIEL_GN_2024-01-17-thrscan" set title "KIEL_GN_2024-01-17-thrscan"
set title font "" textcolor lt -1 norotate noenhanced set title font "" textcolor lt -1 norotate noenhanced
@ -132,17 +137,17 @@ set trange [ * : * ] noreverse nowriteback
set urange [ * : * ] noreverse nowriteback set urange [ * : * ] noreverse nowriteback
set vrange [ * : * ] noreverse nowriteback set vrange [ * : * ] noreverse nowriteback
set xlabel "ch 17 thres offset [DAC]" set xlabel "ch 17 thres offset [DAC]"
set xlabel font "" textcolor lt -1 norotate set xlabel offset character 0, -0.5, 0 font ",24" textcolor lt -1 norotate
set x2label "" set x2label ""
set x2label font "" textcolor lt -1 norotate set x2label font "" textcolor lt -1 norotate
set xrange [ * : * ] noreverse writeback set xrange [ * : * ] noreverse writeback
set x2range [ * : * ] noreverse writeback set x2range [ * : * ] noreverse writeback
set ylabel "[counts/minute]" set ylabel "[counts/minute]"
set ylabel font "" textcolor lt -1 rotate set ylabel offset character -1, 0, 0 font ",24" textcolor lt -1 rotate
set y2label "ratio" set y2label "ratio"
set y2label font "" textcolor lt -1 rotate set y2label offset character 1, 0, 0 font ",24" textcolor lt -1 rotate
set yrange [ * : * ] noreverse writeback set yrange [ * : 550.000 ] noreverse writeback
set y2range [ * : * ] noreverse writeback set y2range [ * : 1.10000 ] noreverse writeback
set zlabel "" set zlabel ""
set zlabel font "" textcolor lt -1 norotate set zlabel font "" textcolor lt -1 norotate
set zrange [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback
@ -168,8 +173,9 @@ set pm3d nolighting
set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB set palette positive nops_allcF maxcolors 0 gamma 1.5 color model RGB
set palette rgbformulae 7, 5, 15 set palette rgbformulae 7, 5, 15
set colorbox default set colorbox default
set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert border -1
set style boxplot candles range 1.50 outliers pt 7 separation 1 labels auto unsorted set style boxplot candles range 1.50 outliers pt 7 separation 1 labels auto unsorted
set chi_shapes fraction 0.60
set loadpath set loadpath
set fontpath set fontpath
set psdir set psdir
@ -177,6 +183,8 @@ set fit brief errorvariables nocovariancevariables errorscaling prescale nowrap
GNUTERM = "qt" GNUTERM = "qt"
I = {0.0, 1.0} I = {0.0, 1.0}
VoxelDistance = 0.0 VoxelDistance = 0.0
## Last datafile plotted: "<./KIEL_GN_2024-01-17-thrscan.py" GridDistance = 0.0
plot "<./KIEL_GN_2024-01-17-thrscan.py" u (-$2):($21) t "ch 17" w lp pt 7,"" u (-$2):($21/$13) axis x1y2 t "ch17/c9" w lp pt 6 plotext = "png"
## Last datafile plotted: "<./KIEL_GN_2024-01-17-thrscan.py < /data/falbala/nm64/data/kiel_gn/KIEL_GN_2024-01-17-thrscan.HC | sort -nk2"
plot "<./KIEL_GN_2024-01-17-thrscan.py < /data/falbala/nm64/data/kiel_gn/KIEL_GN_2024-01-17-thrscan.HC | sort -nk2" u (-$2):($5) t "ch 1" w lp pt 6 ps 0.5, "" u (-$2):($21) t "ch 17" w lp pt 7,"" u (-$2):($13) t "ch 9" w lp pt 6, "" u (-$2):($21/$13) axis x1y2 t "ch17/c9" w lp pt 7
# EOF # EOF

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

View file

@ -1,5 +1,5 @@
#! /usr/bin/python3 #! /usr/bin/python3
f=open("/net/falbala/data/falbala/nm64/data/kiel_gn/KIEL_GN_2024-01-17-thrscan.HC", mode="r") from sys import stdin as f
s=f.readlines() s=f.readlines()
ss=[sss.split() for sss in s] ss=[sss.split() for sss in s]
import numpy import numpy

6
README.md Normal file
View file

@ -0,0 +1,6 @@
# New about the Miel NM64 Neutron Monitors
## First Thresold scan with NMRENA SN13
[First threshold scan](/SiB64/nm64_talks/raw/branch/master/KIEL_GN_2024-01-17-thrscan.png)

BIN
ronja.pdf Normal file

Binary file not shown.

View file

@ -78,7 +78,11 @@
\subsection{Preliminary Plot} \subsection{Preliminary Plot}
\begin{frame} \begin{frame}
\dots
First threshold scan (Tube Green 1, NMRENA SN.\,13)
\gnuplotpdf{KIEL_GN_2024-01-17-thrscan}
\end{frame} \end{frame}