Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Corryvreckan
Corryvreckan
Commits
76fbdb36
Commit
76fbdb36
authored
Dec 19, 2018
by
Simon Spannagel
Browse files
Metronome: rename parameter
parent
21e7f656
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/modules/Metronome/Metronome.cpp
View file @
76fbdb36
...
...
@@ -6,7 +6,7 @@ using namespace std;
Metronome
::
Metronome
(
Configuration
config
,
std
::
vector
<
std
::
shared_ptr
<
Detector
>>
detectors
)
:
Module
(
std
::
move
(
config
),
std
::
move
(
detectors
))
{
m_eventLength
=
m_config
.
get
<
double
>
(
"event
L
ength"
,
static_cast
<
double
>
(
Units
::
convert
(
10
,
"us"
)));
m_eventLength
=
m_config
.
get
<
double
>
(
"event
_l
ength"
,
static_cast
<
double
>
(
Units
::
convert
(
10
,
"us"
)));
}
void
Metronome
::
initialise
()
{
...
...
src/modules/Metronome/README.md
View file @
76fbdb36
...
...
@@ -9,7 +9,7 @@ The `Metronome` module is can be used to slice data without strict event structu
Subsequent modules should read these values and adhere to them.
### Parameters
*
`event
L
ength`
: Length of the event to be defined in physical units (not clock cycles of a specific device). Default value is
`10us`
.
*
`event
_l
ength`
: Length of the event to be defined in physical units (not clock cycles of a specific device). Default value is
`10us`
.
### Usage
```
toml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment