Code for combining SN significance from several detectors/experiments.
This package contains plugins for SNAP framework.
python -m pip install snap-combine
This package contains plugins which can be used in new snap pipeline configurations.
tqdm_ticker
: a provides tqdm-based ticker, which counts the data flow and data rate through current step.
sample_ts
: Generates the neutrino interaction timestamps, using the given rate. Can simulate the supernova signal at the given time.
sigcalc.ShapeAnalysis
: calculate supernova significance using shape analysissetId
: change the datablock ID
Buffer
: accumulate the data to synchrnize before combiningmethods.Fisher
: combine data using Fisher's combination methodmethods.Stouffer
: combine data using Stouffer's combination method
- Threshold: select and forward only portions of data with significance above given threshold
dump_to_file
: Dump data to given file
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
snap client_sender.yml -n node1
Optionally in another session:
snap client_sender.yml -n node2
In another session (combination side):
snap 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.