Skip to content

ricmperes/PyLArS

Repository files navigation

PyLArS

Comprehensive processing and analysis of SiPM data. Adapted for the XenoDAQ data acquistion software.

PyPI version shields.io Static Badge

Check the docs and the example notebooks for a quick start!

Instalation

git clone git@github.com:ricmperes/PyLArS.git
cd PyLArs 
pip install .

For instal in editable source:

pip install -e .

How to pylars

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 directory jobs and a slurm compatible .job file for each dataset to be submited to a cluster individually.
  • launch_process.sh: runs sbatch [#.job] for all the files in the jobs directory
  • cleanup.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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages