Installing LeakageLib

Installing LeakageLib#

  1. To install LeakageLib, clone this repository and install it with pip:

git clone https://github.com/jtdinsmore/leakagelib.git
cd leakagelib
python -m pip install -e .
  1. (optional) To make loading data more convenient, change the DATA_DIRECTORIES in src/settings.py variable to point to where you store your IXPE data files. You can list multiple directories. Alternatively, you can use the leakagelib.ixpe_data.IXPEData.load_all_detectors_with_path() function in the script to load all your data files, and feed in the directory to the data each time.