https://github.com/klauer/zmq_psana
Push detector frames using Python 2 + zmq + psana to Python 3 or otherwise (from mcbrowne)
https://github.com/klauer/zmq_psana
Last synced: 3 months ago
JSON representation
Push detector frames using Python 2 + zmq + psana to Python 3 or otherwise (from mcbrowne)
- Host: GitHub
- URL: https://github.com/klauer/zmq_psana
- Owner: klauer
- Created: 2019-10-14T19:14:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-14T19:16:40.000Z (over 5 years ago)
- Last Synced: 2025-01-17T16:51:47.941Z (5 months ago)
- Language: Python
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Used in jet tracking testing at CXI in late 2018.
From mcbrowne:
```
I give unto you ~mcbrowne/zmq. In this directory, you will find:
* zmq_server.py - A python2 psana script that sets up a ZMQ socket at port 25000.
* fakepsana.py - Something that pretends to be psana in python3.
* test.py - A python3 test script that uses fakepsana.pyThis should be extendable if we need to add additional detectors. Right now it supports:
event.get(EventId) to get the timing information.* detector("cspad").calib(event) to get the calibrated data for a cspad/area detector image.
* detector("FEEGasDetEnergy").get(event) to get the FEE gas detector energy object.By default, zmq_server.py gets data from some random XPP experiment, but we can
easily change the DataSource argument.
```