From e626160426f673cbf4013abce2a47a6185eb9e27 Mon Sep 17 00:00:00 2001 From: rskuza Date: Tue, 30 Aug 2022 11:45:57 +0200 Subject: [PATCH] Adjusted setup in readme --- Code/Scripts/Python Scripts/README.md | 12 ++++++------ Code/Scripts/Python Scripts/requirements.yaml | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Code/Scripts/Python Scripts/README.md b/Code/Scripts/Python Scripts/README.md index 200f9d8..392247f 100644 --- a/Code/Scripts/Python Scripts/README.md +++ b/Code/Scripts/Python Scripts/README.md @@ -1,12 +1,12 @@ # Angular Analysis of B+toK*+Pi0Mu-Mu+ ## Setup -In order to setup a python virtual environment with the corresponding dependencies, do the following: -1. `pip install virtualenv` -2. `virtualenv myenv` -3. `source myenv/bin/activate` -4. `pip install -r requirements.txt` +For this setup you will need to install miniconda on the machine you are working and do the following procedure: +1. `conda env create -f requirements.yaml` +2. Check with `conda activate angularanalysis` if the environment is working +3. Check out the following page in order to install the analysis-tool package: `https://github.com/jonas-eschle/analysis-tools` +4. Check out the following page in order to install the angular-analysis B->K*ll package: `https://gitlab.cern.ch/LHCb-RD/ewp-bd2ksteeangular-legacy/-/tree/master/b2kstll` -Afterwards you can use your virtual python environment in order to run the code. But before you do, you need to setup the properties.env. Inside of properties.env you will find different configuration variables which are used throughout the code in order to control the behavior of the code. Below you can find a table which summarizes what these environment variables do. +Afterwards you can use your conda environment in order to run the code. But before you do, you need to setup the properties.env. Inside of properties.env you will find different configuration variables which are used throughout the code in order to control the behavior of the code. Below you can find a table which summarizes what these environment variables do. |Environment Variable|Use-Case| | -------------------- | -------- | |LOWER_COSTHETAK_CUT |Controls the lower boundary of cos(theta_K)| diff --git a/Code/Scripts/Python Scripts/requirements.yaml b/Code/Scripts/Python Scripts/requirements.yaml index 50efacc..58d82c2 100644 --- a/Code/Scripts/Python Scripts/requirements.yaml +++ b/Code/Scripts/Python Scripts/requirements.yaml @@ -1,4 +1,4 @@ -name: anganalysis +name: angularanalysis channels: - defaults dependencies: