A library of data analysis tools for the Root Lab at CWRU. This library contains functions commonly used for data analysis in the lab. For obvious reasons, data used for the modules tests is not be shared.
Note
This library is no longer maintained as of the end of the Summer 2025 term. If you are interested in maintaining this project and are a member of the Root Lab, please reach out to me at trevor.swan@case.edu.
With basic pip, use:
pip install rootlab-lib
If using Spyder (Conda is your package manager) or you do not have pip (you can check this by opening a terminal and entering pip), you MUST download python here and change the interpreter for Spyder to the downloaded python version. When you download python using the link above, note the installation folder of the interpreter and copy it to your clipboard so that you can paste the path in Spyder. To change the path to the interpreter in Spyder, Select Tools, Settings, then Python Interpreter. At the top of this page, check the box that allows you to enter a custom interpreter, paste the path you copied earlier. Restart Spyder, and enter the command it tells you to use to fix any issues with the new interpreter. It should be something like pip install spyder-kernels. You can now run pip install rootlab-lib without issue. You may need to restart Spyder again for the changes to take effect.
If you already have python installed, then you must find out where your python interpreter is located on your system. This can be down by opening a terminal and typing where python. You can also just google it if this doesn't work!
You can read function documentation by opening the file rootlab_lib.html in the doc folder.