Code for combining SN significance from several detectors/experiments.
This package contains plugins for SNAP framework.
python -m pip install snap-combine
Example configurations provided the examples dir use these steps to
- client_sender.yml: generate client data, calculate significance and send it (via ipc zeromq socket) to combiner node
- combine.yml: receive client significance time series, combine them and apply thresholds.
On client side run
DETECTOR="det_name_1" snap_run client_sender.yml
Optionally in another terminal session:
DETECTOR="det_name_2" snap_run client_sender.yml
In another session (combination side):
snap_run combine.yml
You should see the monitoring ticks for all nodes.
Also you should see the files with the data output: data_received.dat,data_combined.dat and data_triggered.dat.
After about 120s from the client start, a supernova signal will be emitted, so the significance becomes elevated, and the Trigger counter will advance.