Flows created
This section lists the data flows created in the configuration database by the vis-receive script.
TBA
Individual processor flows
MSWriter
Name |
Data model |
Source |
Sink |
|---|---|---|---|
vis-receive-mswriter-processor-beam-{beam_id} (one created per visibilities beam) |
Visibilities |
Data Product (Measurement Set at PVC subpath |
RCal (Real-time Calibration)
Name |
Data model |
Source |
Sink |
|---|---|---|---|
rcal-gains-{scan_type_id}-{vis_beam_id}-{pst_beam_id} (one per scan type, visibility beam and pulsar timing beam) |
Gains |
|
Kafka DataQueue (topic: |
RCal gains are published to Kafka topics for downstream consumption by beamformers and monitoring systems. Each combination of scan type and pulsar timing beam gets a dedicated topic. The gains are complex vectors (Jones matrices) serialized in numpy format.
The RCal processor discovers these flows by searching for flows with:
- data_model == "Gains"
- A single source with function == "vis-receive:rcal-processor"
- Source parameters containing both scan_type_id, visibility_beam_id and pst_beam_id.
Downstream processes can discover RCal gains topics via the SDP receive addresses:
receive_addresses[scan_type_id][beam_id]["jones_cal"] which provides the Kafka endpoint in the
format kafka://host:port/topic.
Name |
Data model |
Source |
Sink |
|---|---|---|---|
rcal-bandpass-qa (one per processing block) |
Gains |
FlowSource with |
Kafka DataQueue (topic: |
A single QA bandpass flow is created per processing block, shared across all visibility beams.
The RCal processor publishes direction-independent bandpass calibration solutions (a time-squeezed
GainTable serialized as msgpack_numpy) to this topic after each solve interval.
The RCal processor discovers this flow by searching for flows with:
data_model == "Gains"A DataQueue sink
A source with
function == "vis-receive:rcal-processor:bandpass-calibration-generation"
Name |
Data model |
Source |
Sink |
|---|---|---|---|
rcal-lsm-{field_id} (one for each visibility beam’s field) |
CsvNamedColumns |
FlowSource with |
DataProduct (pv_subpath: |
Name |
Data model |
Source |
Sink |
|---|---|---|---|
rcal-qa-metrics-{vis_beam_id} (one per visibility beam) |
GainsMetrics |
FlowSource with |
DataQueue (topic: |
rcal-qa-metrics-tango-{vis_beam_id} (one per visibility beam) |
GainsMetrics |
QA metrics dataqueue flow (see above) |
Tango (attributes |
Two QA metrics for assessing gains solution quality, bandpass_converged (boolean) and
visibility_chisq (float) are produced per visibility beam. These are sent to Kafka in
json format, from where they are picked up and exposed as Tango attributes,
bandpassConverged_{vis_beam_id} and visibilityChisq_{vis_beam_id}.