Analysis code for SIDM, making use of Coffea.
Environment management: Miniconda
Requirements:
- python3
- Coffea
- xrootd
- jupyterlab
conda activate FireHydrantconda deactivate
jupyter lab --no-browser --port=8888 # replace by your favourite port-
Install Miniconda (if you have not install Miniconda yet)
- go to https://docs.conda.io/en/latest/miniconda.html,
- get the bash installer script of Linux, Python3.7 64-bit with
wgetorcurl, - then
bash Miniconda3-latest-Linux-x86_64.sh - (you need to type
ENTERoryesat some point, add conda sourcing to your.bashrcor equivalent) - a quick reference on managing environments with
conda.
-
Edit/create .bash_profile file (for Bash users only)
- open
~/.bash_profile - add the line:
source ~/.bashrc - save and exit
- open
-
Clone repo
git clone https://github.com/phylsix/FireHydrant.git cd FireHydrant -
Install packages
./setup.sh