Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions schemas/pu00_pulse_metadata.fbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Schema for neutron pulse information

file_identifier "pu00";

table Pu00Message {
source_name : string (required); // Field identifying the producer type, for example detector type
message_id : long; // Consecutive numbers, to detect missing or unordered messages.
reference_time : long (required); // Nanoseconds since Unix epoch (1 Jan 1970)
// If pulse times are available in the aquisition system, this field holds
// those timestamps. Holds wall time otherwise.

vetos : uint; // Veto bitmask for this frame
period_number : uint; // Period number into which this pulse was collected
proton_charge : float; // Proton charge for this frame (uAh per frame)
}

root_type Pu00Message;