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!
Regular instalation through PyPi: pip install pylars-sipm
For a development installation:
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
pylarsFor more options (raw and output files, level of RMS, polarity of signal and baseline samples) check the help funtion:
pylars --helpFor batch processing use the scripts provided in scripts:
make_job_files.py, option-rfor run number: creates a directoryjobsand a slurm compatible.jobfile for each dataset to be submited to a cluster individually.launch_process.sh: runssbatch [#.job]for all the files in thejobsdirectorycleanup.sh: removes all the.jobfiles
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