package module
Version: v0.0.0-...-6df0fc1 Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2020 License: BSD-3-Clause Imports: 0 Imported by: 0


RDI Live


RDI Live is a project for live aggregation and display of streaming data. It was built as an internal development tool and uses proio streams gathered continuously from radiation detectors.

This material is based upon work supported by the U.S. Department of Energy, Office of Science, Nuclear Physics program office under Award Number DE-SC0015136.


Demo animation RDI logo beam scan

Tools installation

The tools include the main rdi-live binary.

  1. Install the Go compiler toolchain (version 1.11 or newer) from
  2. go get the tools directory recursively
go get


RDI Live uses Protobuf for (de)serialization of event data. Additionally, Protobuf is used to store detector mappings, or metadata that is used to related data streams to things like physical layout and calibration. Finally, Protobuf is used for "slow data", or data that are slowly changing compared to events, and passed along in the proio streams as stream metadata. See, e.g., and arXiv:1812.03967).

The Protobuf files that describe the data models for these data are stored under the proto directory. Also, Protobuf binaries used for storing detector mappings are located in the detmap directory. These files are generated elsewhere. If changes are made to the Protobuf data model files in proto, the generated source in model must be regenerated using go generate. This requires the protoc command to be installed on your system, as well as a go Protobuf compiler plugin.


Executable binaries like rdi-live are intended to be completely self-contained. To that end, binaries like detector mappings and web data are packaged into the executables using Packr. This tool encodes data in certain directories in this repository into source code that gets compiled into executables when necessary. For example, Packr is instructed to pack the web data into source code here, resulting in the autogenerated file here. This makes a highly portable executable, but it also means that any time web data or detector mappings are changed, Packr must be called to regenerate source code with the new data packed in. This can be by first installing the packr tool, and then running

packr -z

in the root directory of the repository.


The Go Gopher

There is no documentation for this package.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL