epicsdev_daq_caen_dt5202
EPICS PVAccess server for the CAEN DT5202 SiPM DAQ.
The server watches an input directory for CAEN run-list files (for example RunXXX_list.txt), parses and accumulates trigger data, publishes PVs, and then moves processed files to an output directory.
Features
- File-system watcher for incoming run-list files
- Per-run waveform statistics for board 0 channels:
b0LGMean,b0LGRMS,b0LGP2Pb0HGMean,b0HGRMS,b0HGP2P
- Run metadata PVs:
runrunStartTime
- Optional plugin support (default:
beamloss) for custom PVs and processing
Requirements
Python 3.10+, epicsdev>=3.0.1, numpy, watchdog
Installation
Install from source in editable mode:
pip install -e .
Running the server
After installation, use the console script:
epicsdev_caen_dt5202 01
Equivalent module form:
python -m epicsdev_caen_dt5202 01
For instance=01, the default naming becomes:
- Input directory:
dataIn_01 - Output directory:
dataOut_01 - PV prefix:
dt5202_01:
Common options
-a, --accumulate Events to accumulate per run (default: 1e6)
-i, --inDir Input directory base name (suffix _<instance> is added)
-o, --outDir Output directory base name (suffix _<instance> is added)
-p, --plugin Plugin module name (default: beamloss)
-v, --verbose Increase verbosity (-vv for more)
instance Required instance id, e.g. 01
Example:
epicsdev_caen_dt5202 -i /data/janus/in -o /data/janus/out -p beamloss -vv 01
This watches /data/janus/in_01, moves processed files to /data/janus/out_01, and publishes PVs with prefix dt5202_01:.
Plugin: beamloss
The default plugin epicsdev_caen_dt5202/beamloss.py computes additional beam-loss-related PVs from sensor groups (J3/J4/J5 layouts), including shuffled sensor arrays and polar projection data used by OPI views.
OPI screens
OPI files and scripts are in the opi/ directory.
Examples for Tandem Diagnostic Box plane J3:
Metadata
Release files for epicsdev_daq_caen_dt5202 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| epicsdev_daq_caen_dt5202-1.0.4.tar.gz | 338.7 kB | Without provenance | Details for epicsdev_daq_caen_dt5202-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| epicsdev_daq_caen_dt5202-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for epicsdev_daq_caen_dt5202-1.0.4-py3-none-any.whl |
Total release size: 349.9 kB
Release files / epicsdev_daq_caen_dt5202-1.0.4.tar.gz
| Download URL | epicsdev_daq_caen_dt5202-1.0.4.tar.gz |
|---|---|
| Size | 338.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a32f8140bf5505ac9e8f49a87b422ba34a9082329123fe38979f21595e3470f4
|
|
BLAKE2b-256 checksum How to use checksums |
8f3d4c642274c2f148be63a35d78a4765eda7f1887102a759b98e0be25841933
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Release files / epicsdev_daq_caen_dt5202-1.0.4-py3-none-any.whl
| Download URL | epicsdev_daq_caen_dt5202-1.0.4-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
33c5a188583e575ca85045119b2f0cd3fd833b4010e0a5995c7b0d183a7efad1
|
|
BLAKE2b-256 checksum How to use checksums |
66424e7589bb5f166f8c5cc6396d82a6d203e6a28e73f6e15b39859901f6b143
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.1
|
Security for epicsdev_daq_caen_dt5202 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.