Something went wrong on our end
-
Astrid Muennich authoredAstrid Muennich authored
tutorial.rst 1.24 KiB
Installation and Configuration
- log into max-exfl
- install karabo in your home directory or under /gpfs/exfel/data/scratch/username: wget http://exflserv05.desy.de/karabo/karaboFramework/tags/2.2.4/karabo-2.2.4-Release-CentOS-7-x86_64.sh chmod +x karabo-2.2.4-Release-CentOS-7-x86_64.sh ./karabo-2.2.4-Release-CentOS-7-x86_64.sh source karabo/activate
- get pycalibration git clone https://git.xfel.eu/gitlab/detectors/pycalibration.git
- install requirements: cd pycalibration pip install -r requirements.txt .
- adjust xfel_calibrate/settings.py: change karabo_activate_path and ipcluster_path according to where you installed karabo
Create your own notebook
- Create a new notebook or re-arrange an existing on following the guidelines explained here: https://in.xfel.eu/readthedocs/docs/european-xfel-offline-calibration/en/latest/workflow.html
- register you notebook: add an entry to xfel_calibrate/notebooks.py Note: use all capital letters for DETECTOR and TYPE
- update: pip install --upgrade .
Running the notebook
- make sure output folders exist
- run it: xfel-calibrate Tutorial TEST
- Look at generated report in output folder