Commit 62c19285 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Metronome: Update README

parent 99c8f389
Pipeline #1103168 passed with stages
in 16 minutes and 6 seconds
# Metronome
**Maintainer**: Simon Spannagel (<simon.spannagel@cern.ch>)
**Module Type**: *GLOBAL*
**Status**: Functional
**Status**: Functional
### Description
The `Metronome` module is can be used to slice data without strict event structure in arbitrarily long time frames, which serve as event definition for subsequent modules.
The `Metronome` module can be used to slice data without strict event structure in arbitrarily long time frames, which serve as event definition for subsequent modules.
A new Event object is created and stored on the clipboard, with the begin and end of the frame calculated from the `event_length` parameter.
The module also provides the option to add trigger IDs to the generated event by specifying the number of triggers to be set per event via the `trigger`.
Trigger IDs are consecutive numbers, starting at zero.
With a setting if `triggers = 2`, the first event would receive trigger IDs 0 and 1, the subsequent event 2 and 3 and so forth.
With a setting of `triggers = 2`, the first event would receive trigger IDs 0 and 1, the subsequent event 2 and 3 and so forth.
### Parameters
* `event_length`: Length of the event to be defined in physical units (not clock cycles of a specific device). Default value is `10us`.
* `skip_time`: Time to skip at the begin of the run before processing the first event. Defaults to `0us`.
* `triggers`: Number of triggers to generate and add to each event. The trigger timestamp is set to the center of the configured metronome time frame. Defaults to zero, i.e. no triggers are added.
* `triggers`: Number of triggers to generate and add to each event. All trigger timestamps are set to the center of the configured metronome time frame. Defaults to zero, i.e. no triggers are added.
### Usage
```toml
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment