... | ... | @@ -30,6 +30,14 @@ You'll need psana2 environment, which is part for spinifel. See spinifel guideli |
|
|
```bash
|
|
|
export PYTHONPATH=$HOME/xtc1to2/:$PYTHONPATH
|
|
|
# There are several things that you'll need to change in this file
|
|
|
# to match with the chosen experiment. When you're ready run,
|
|
|
# to match with the chosen experiment. When you're ready, run
|
|
|
python zmq_pull.py
|
|
|
```
|
|
|
|
|
|
## Hdf5 to Xtc2 Conversion
|
|
|
This is a more straightforward task and can be done within one process since all the libraries can live within the same environment. A good example which shows how to convert one of Spinifel's test data (3iyf) is used as an example in [ex-04-from-h5.py](https://github.com/monarin/psana-nersc/blob/master/psana2/dgrampy/ex-04-from-h5.py).
|
|
|
|
|
|
In psana2 or Spinifel environment, run
|
|
|
```bash
|
|
|
python ex-04-from-h5.py
|
|
|
``` |
|
|
\ No newline at end of file |