Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bnl-atf/profile_atf
ATF IPython startup files for data collection via sockets
https://github.com/bnl-atf/profile_atf
basler-camera bluesky ipython ophyd pypylon sirepo-bluesky socket-client
Last synced: 24 days ago
JSON representation
ATF IPython startup files for data collection via sockets
- Host: GitHub
- URL: https://github.com/bnl-atf/profile_atf
- Owner: BNL-ATF
- License: bsd-3-clause
- Created: 2022-10-05T19:34:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T16:30:56.000Z (9 months ago)
- Last Synced: 2024-10-12T11:21:19.285Z (24 days ago)
- Topics: basler-camera, bluesky, ipython, ophyd, pypylon, sirepo-bluesky, socket-client
- Language: Python
- Homepage:
- Size: 81.1 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# profile_atf
ATF IPython startup files for data collection via sockets## Used Environment Variables
| Variable | Requirement | Description |
| ---------------------- | ------------- | -------------------------------- |
| `ATF_SOCKET_HOST` | Required | Socket Host (e.g. "localhost") |
| `ATF_SOCKET_PORT` | Required | Socket Port number (int, > 1024) |
| `PYLON_ROOT` | Required | e.g. "/opt/pylon5" |
| `ATF_OPEN_CONN_ONCE` | Optional | Open connection on every call, default is "no", to enable "yes" |
| `ATF_SIREPO_URL` | Optional | Sirepo server URL with port number e.g. http://localhost:8000 |
| `PYLON_CAMEMU` | Optional | Number of Emulated Cameras (int) |
| `PYLON_CAM_PIXEL_FORMAT` | Optional | Default "Mono12", to change e.g. "Mono16" |## Start command example
```bash
ATF_OPEN_CONN_ONCE=yes ATF_SOCKET_HOST="localhost" ATF_SOCKET_PORT=5000 ATF_SIREPO_URL="http://localhost:8000" PYLON_CAMEMU=10 PYLON_CAM_PIXEL_FORMAT="Mono16" ipython --profile-dir=.
```