feat: the trigger can ignore a noise band and reject HF before comparing
This commit is contained in:
1 parent
d5a9b3c5d5
commit
d34bff3f03
9 files changed
+99
-16
No files matched your search
+2
-2
@@ -16,11 +16,11 @@ double ms_since(const std::chrono::steady_clock::time_point& t0) {
|
||||
}
|
||||
} // namespace
|
||||
|
||||
void BufferSearch::start(const EventCondition& c, int channel) {
|
||||
void BufferSearch::start(const EventCondition& c, int channel, double dt) {
|
||||
clear();
|
||||
channel_ = channel;
|
||||
detector_.reset();
|
||||
detector_.configure(c);
|
||||
detector_.configure(c, dt);
|
||||
// `configure()` is a no-op for an unchanged condition, so the explicit reset above is what
|
||||
// makes a re-run of the *same* search start from a clean machine.
|
||||
detector_.reset();
|
||||
|
||||
Reference in new issue
Block a user