A set of scripts that were made to acquire waveform from several types of oscilloscopes, and analyze the data from these waveforms.
-
pulse_analyzer
: Extract pulse information into a pickle file. This code has been set up to recognize the standard*
wildcard, so you can specify either a specific file name, or simply the generic name of the run, and the program will automatically find all subfiles for that run. Note that you can easily delete/overwrite the pickle files produced, in case you are often modifying thepulse_analyzer
code. DO NOT DELETE TRC FILES though! -
pulse_II.py
: Generate charge and delta-t distribution plots. A set of default plots has been defined for various modes of acquisition (sequence, normal and flasher). -
SNOLAB_produce_T-dependence_plots.py
: Wrapper script to automatically generate all relevant plots for the four DOMs tested at SNOLab. You can modify the plotting properties of each DOM in the fileutils/lab_doms.py
-
VUVUZELA_produce_snolabified_plots.py
: Same sort of wrapper, but for data coming from vuvuzela simulation. The plotting options are a bit different, and can be modified inutils/vuvuzeladoms.py
-
launch_pulse_analysis.py
: Sbatch submission script to automatically process trc data withpulse_analyzer
, on hep01. You just need to specify a run number, and optionally a pulse width and threshold conditions for the pulse-finding algorithm. -
produce_poissonian_data.py
: short script that produces apulse_II
-compatible pickle file containing noise data from an ideal, Poissonian source. -
pulse_coincidence
: special script used to process the coincidence runs made at SNOLab. Takes in the name of the trigger and receiver channels, looks for coincident pulses in the traces, and compute a rate considering the livetime of each data frame. -
snolabify_vuvuzela
: Takes in an i3 file and converts information of a pulse series into the PMT_daq_sequence format used in the SNOLab code. -
snolabification
: Appliessnolabify_vuvuzela
to a folder of i3 files.