Comprehensive processing and analysis of SiPM data. Adapted for the XenoDAQ data acquistion software.
Check the docs and the example notebooks for a quick start!
git clone git@github.com:ricmperes/PyLArS.git
cd PyLArs
pip install .
For instal in editable source:
pip install -e .
To use pylars as "black-box" data processor go to the directory where the raw ROOT files are and run
pylars
For more options (raw and output files, level of RMS, polarity of signal and baseline samples) check the help funtion:
pylars --help
For batch processing use the scripts provided in scripts
:
make_job_files.py
, option-r
for run number: creates a directoryjobs
and a slurm compatible.job
file for each dataset to be submited to a cluster individually.launch_process.sh
: runssbatch [#.job]
for all the files in thejobs
directorycleanup.sh
: removes all the.job
files
In case batch processing is conducted in a single machine without slurm submission run:
python make_job_files.py -r [run_number]
cd jobs
ls | xargs chmod +x
ls | xargs -n 1 sh