Skip to content
Snippets Groups Projects
Commit e9a7976e authored by Steffen Hauf's avatar Steffen Hauf
Browse files

Update README.rst

parent c1e45f0a
No related branches found
No related tags found
No related merge requests found
......@@ -12,23 +12,25 @@ that node.
(optionally) Set up the environment::
source setup_env.sh
On Maxwell execution rights might be stripped. If you get
an error for the above command, first run::
chmod +x setup_env.sh
If running headless, be sure to set `MPLBACKEND=Agg`, via::
module load python3
pip install --user ipython --upgrade
pip install --user ipyparallel --upgrade
pip install --user dill
If running headless (i.e. without X forwarding), be sure to set
`MPLBACKEND=Agg`, via::
export MPLBACKEND=Agg
This is automatically done if you source the environment script.
Then start an `ipcluster`. If you followed the steps above this can be done
via::
~/.local/bin/ipcluster start --n=32
Run the script::
python calibrate.py --input /gpfs/exfel/exp/SPB/201701/p002012/raw/r0100 \
python3 calibrate.py --input /gpfs/exfel/exp/SPB/201701/p002012/raw/r0100 \
--output ../../test_out --mem-cells 30 --detector AGIPD --sequences 0,1
Here `--input` should point to a directory of `RAW` files for the detector you
......@@ -39,6 +41,10 @@ for the run, as well as the `--detector`. Finally, you can optionally
specify to only process certain `--sequences` of files, matching the sequence
numbers of the `RAW` input. These should be given as a comma-separated list.
Finally, there is a `--no-relgain` option, which disables relative gain
correction. This can be useful while we still further characterize the detectors
to provid accurate relative gain correction constants.
You'll get a series of plots in the output directory as well.
......
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