Skip to content
Snippets Groups Projects
Commit 0dd26f6b authored by Karim Ahmed's avatar Karim Ahmed
Browse files

installation instruction on anaconda/3 over readme.rst on git

parent a69675b7
No related branches found
No related tags found
1 merge request!192installation instruction on anaconda/3 over readme.rst on git
Offline Calibration
===================
The offline calibration is a package that consists of different services,
responsible for applying most of the offline calibration and characterization
for the detectors.
Offline calibration installation
================================
It's recommended to install the offline calibration (pycalibration) over maxwell,
using anaconda/3 environment.
Installation using Anaconda
---------------------------
First you need to load the anaconda/3 environment through::
1. module load anaconda/3
If installing into other python enviroments, this step can be skipped.
Then the package for the offline calibration can be obtained from the git repository::
2. git clone https://git.xfel.eu/gitlab/detectors/pycalibration.git
You can then install all requirements of this tool chain in your home directory by running::
3. pip install -r requirements.txt . --user
in pycalibration's root directory.
After installation, you should make sure that the home directory is in the PATH environment variable::
4. export PATH=$HOME/.local/bin:$PATH
Development Installation
------------------------
For a development installation in your home directory, which automatically
picks up (most) changes, first install the dependencies as above,
but then install the tool-chain separately in development mode::
pip install -e . --user
Python Scripted Calibration Python Scripted Calibration
=========================== ===========================
First: do not run this on the Maxell gateway. Rather, `salloc` First: do not run this on the Maxwell gateway. Rather, `salloc`
a node for yourself first:: a node for yourself first::
salloc -p exfel/upex -t 01:00:00 salloc -p exfel/upex -t 01:00:00
...@@ -47,10 +94,3 @@ to provid accurate relative gain correction constants. ...@@ -47,10 +94,3 @@ to provid accurate relative gain correction constants.
You'll get a series of plots in the output directory as well. You'll get a series of plots in the output directory as well.
...@@ -17,6 +17,7 @@ sklearn ...@@ -17,6 +17,7 @@ sklearn
prettytable prettytable
jupyter jupyter
jupyter_console jupyter_console
sphinx == 1.4.5 metadata_client
sphinx == 1.8.5
./cal_tools ./cal_tools
. .
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment