From fedc49ea6eb761e315b7c7568c62062e749c6279 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Wed, 31 Jan 2024 15:26:02 +0100
Subject: [PATCH] Add event packet fields.

---
 .../prestudy/station2_sdp_transient_detection.txt   | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/applications/lofar2/doc/prestudy/station2_sdp_transient_detection.txt b/applications/lofar2/doc/prestudy/station2_sdp_transient_detection.txt
index 3595c039b0..ea8da0654a 100644
--- a/applications/lofar2/doc/prestudy/station2_sdp_transient_detection.txt
+++ b/applications/lofar2/doc/prestudy/station2_sdp_transient_detection.txt
@@ -99,6 +99,8 @@ Message
 
 5) Planning topics Transient detection
 
+https://support.astron.nl/confluence/display/SBe/SDP+Transient+detection+planning+estimate
+
 - Comparison with LOFAR1 [1, 5]
   . IIR filter with programmable coefficients to implement:
     - HPF (> 30MHz), BPF
@@ -114,7 +116,16 @@ Message
   . binning for LI, because 10000 triggers / flash, so only trigger strongest per bin (= time slot)
 - Comparison cosmic ray and lightning [1, 2]
   . Check that LI binning is transparant to CR
-  . Format of detection message
+  . Format of detection message [5]
+    - The ID of the triggered channel.
+    - The time of the trigger with sample time accuracy. E.g. the sample number of the first
+      sample above the threshold.
+    - A value representing the width of the pulse. E.g. the number of samples between the first
+      sample and the last above the threshold. If the width is large (e.g. more than 255 samples)
+      only the fact that this is a wide pulse is needed.
+    - Desirable but not required is a value representing the height of the pulse. This could the
+      value of the largest sample, or the sum over all samples in the pulse, or whatever is easier
+      to implement.
 - Requirements, MVP
   . number of signal inputs per FPGA (max 12 single pol)
   . one polarization per antenne ?
-- 
GitLab