Thanks to visit codestin.com
Credit goes to github.com

Skip to content
tardini edited this page May 19, 2022 · 1 revision

DPSD software

Requisites

python with pyqt, scipy/numpy, matplotlib, numba

Source installation

git clone [email protected]:tardini/pyDPSD.git

GUI layout

Menu File->

Run Plots Pulse analysis Exit

Menu Setup->

Load setup (from xml) Save setup (to xml)

Toolbar

Run DPSD - Exit - Plots - Pulse analysis

Input

HA*.dat file:full path to binary file produced by the ENEA board Shots: shot number (or list, or range), automatic path-finding for AUG

Setup

Time step: time binning for the count rates. Start time: initial time of the analysis End time: final time of the analysis #samples for analysis: maximum window length, if the window length from the dynamic window algorytm is longer. It is also sets the X-range of the time-stream plots.

Peak detection

Subtract baseline: if true, subtracts baseline, calculated averaging over the first Baseline start samples and the last Baseline end samples of the respective pulse. There is just one algorithm, constant fraction detection. If the pulse value is above Threshold at the Front'th sample after the main peak, the pulse is considered a pile-up

Short gate, Long gate: QS<, QL for pulse shape discrimination, the figure of merit being GR:=QS/(QL-QS), Y-axis of the PHA plot.

Separation

xChannels, yChannels: Binning for total integral (X-axis) and QS/(QL-QS) (Y) Marker DDlo, DDup: lowest,highest channel for D-D neutrons DTlo, DTup: lowest,highest channel for D-T neutrons SeparationLines: "1" for a single slope; set: Offset1, Slope1 "2" for 2 slopes; set: Offset2,LineChange,Slope21,Slope22 where LineChange is the X-channel of the slope change

LED

LEDcorrection: if true, corrects PM gain with LED monitor

LEDFront,LEDTail: for LED pile-up detection

LEDreference:

LEDxmin,LEDxmax,LEDymin,LEDymax: delimiters for LED identification

Graphic output

Clicking File->Plots or on the 3rd icon in the toolbar, a window with tabs pops up, showing:

Pulse analysis

Clicking File->Pulse analysis or on the 4th icon in the toolbar, a window pops up, with animation: