This is a Python library to process and analyze raw data from the lab (waveform per waveform mode).
📖 Access the DOCUMENTATION for more information
Clone the repository into a local directory and create your branch:
git clone https://github.com/CIEMAT-Neutrino/SCINT.git
cd SCINT
git checkout -b <your_branch_name>-
You can create a
testfolder for your custom scripts or code. -
[OPTIONAL] Create a folder for your custom scripts and add them to the .gitignore file:
mkdir <your_folder_name>
echo "<your_folder_name/*>" >> .gitignoreSet all the utilities needed for the macros:
source setup.sh
source .venv/bin/activatecd srcs/macros
python3 XXmacro.py (--flags input) 🚧 Work in progress (check TO DO LIST) 🚧
-
Make sure you create your
branchor fork the repository for commiting your changes. -
The branch should tell something about the development you are carring out.
-
Once you are sure your development is ready to be shared with the group open a pull request and merge to the main.
-
Follow pep-8 style Python code (Black Formatter extension in VSCode will do the formatting for you)
-
Document the code as you go! (Work in progress to homogenize style in the functions' doc)
"""[Summary] :param [ParamName]: [ParamDescription], defaults to [DefaultParamVal] :type [ParamName]: [ParamType](, optional) :raises [ErrorType]: [ErrorDescription] :return: [ReturnDescription] :rtype: [ReturnType] """
-
We adopted a formatting style for functions, variables and so on:
FUNCTIONS & ARGUMENTS → PYTHON NOTATION: low_case + “_” binding (i.e my_runs) KEYS → C++ notation SPECIAL DICTIONARIES OPT: visualization Options + CHECK KEY