dq-genesis
Pipeline construction and execution for the creation of the data quality vector.
dq-genesis parses a YAML DQ flag config, assembles an sgn.Pipeline from the
evaluators and transforms provided by sgn-dq, and runs it against frame data
(offline frame cache), shared-memory frames (online), or an Arrakis stream. The
output is a uint32 DQG-DQ_VECTOR channel written to a GWF frame stream.
Install
pip install -e /path/to/dq-genesis
dq-genesis depends on sgn-dq (evaluators, Not, Parity), sgn-ts,
sgn-ligo, and sgn.
Quick start
# Validate a config
dq-genesis --flags configs/dqmodule_h1.yaml --dry-run
# Offline run against a frame cache
dq-genesis --flags configs/dqmodule_h1.yaml \
--gps-start 1234567890 --gps-end 1234568000 \
--frame-cache h1.cache --output-dir /tmp/out
# Bounded replay from Arrakis (omit --gps-start/--gps-end for a live stream)
dq-genesis --flags configs/dqmodule_h1.yaml \
--arrakis --gps-start 1234567890 --gps-end 1234568000 \
--output-dir /tmp/out
See src/dqgenesis/cli.py --help for the full argument surface.
Output destinations
The assembled DQ vector can be fanned out to one or more sinks. Select any
combination of the --publish-* flags; if none is given it defaults to disk,
preserving the original frame-writing behaviour.
--publish-disk— write the DQ vector to GWF frame files. Control the destination with--output-dir(and--write-path,--frame-duration).--publish-arrakis— publish the DQ vector channel back to an Arrakis server. Requires--publisher-id; pass--replay-idto publish into a replay namespace.
# Save to GWF frames (default)
dq-genesis --flags configs/dqmodule_h1.yaml \
--gps-start 1234567890 --gps-end 1234568000 \
--frame-cache h1.cache --publish-disk --output-dir /tmp/out
# Publish back into Arrakis
dq-genesis --flags configs/dqmodule_h1.yaml \
--arrakis --gps-start 1234567890 --gps-end 1234568000 \
--publish-arrakis --publisher-id <publisher_id>
# Both at once — the DQ vector is fanned out to disk and Arrakis
dq-genesis --flags configs/dqmodule_h1.yaml \
--arrakis --gps-start 1234567890 --gps-end 1234568000 \
--publish-disk --output-dir /tmp/out \
--publish-arrakis --publisher-id <publisher_id>
The output channel is named <IFO>:DQG-DQ_VECTOR by default; override it with
--output-channel.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dq_genesis-0.1.0.tar.gz.
File metadata
- Download URL: dq_genesis-0.1.0.tar.gz
- Upload date:
- Size: 200.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2f95f7a4c5e76b11346239b3319e6348c7b79b45fb27eccd27c6c58265c4071
|
|
| MD5 |
629f61b0e84c786a3b6face14bf69ac6
|
|
| BLAKE2b-256 |
8961dc752877383d16e5f356b87181367df6e1f3b85e97121132586d3a73fd31
|
File details
Details for the file dq_genesis-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dq_genesis-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f05b769aa1f5f8a6167b7d71ee4544dd05ae3aa2feb707150e42916282e1ae97
|
|
| MD5 |
49f4a728382d9c0f01a76c810be26f89
|
|
| BLAKE2b-256 |
c02783198a720b9b3befb90c88134d61b4ec608e5e5c5c37a26ddd0fef4b05c5
|