All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions | Variables
WaveformOperations.h File Reference

Operations on waveform samples. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  icarus::waveform_operations::details::FlipImpl< Sample, Polarity, typename >
 
struct  icarus::waveform_operations::details::FlipImpl< Sample, Polarity, std::enable_if_t<(Polarity > 0)>
 

Namespaces

 icarus::waveform_operations
 Functions to manipulate waveform sample values.
 
 icarus::waveform_operations::details
 

Typedefs

template<typename Sample , int Polarity>
using icarus::waveform_operations::Operations = details::WaveformTransformedOperations< Sample, details::flip< Polarity, Sample >>
 Waveform operations of waveforms with specified polarity. More...
 
template<typename Sample >
using icarus::waveform_operations::PositivePolarityOperations = Operations< Sample,+1 >
 Waveform operations for positive polarity waveforms. More...
 
template<typename Sample >
using icarus::waveform_operations::NegativePolarityOperations = Operations< Sample,-1 >
 Waveform operations for negative polarity waveforms. More...
 

Functions

static constexpr bool icarus::waveform_operations::details::noGreaterThan (Sample_t a, Sample_t b)
 
static constexpr Sample_t icarus::waveform_operations::details::transform (Sample_t sample)
 

Variables

Sample_t icarus::waveform_operations::details::fBaseline { 0 }
 Waveform baseline [ADC counts]. More...
 

Detailed Description

Operations on waveform samples.

Author
Gianluca Petrillo (petri.nosp@m.llo@.nosp@m.slac..nosp@m.stan.nosp@m.ford..nosp@m.edu)
Date
June 27, 2019

This is a header-only library.

Definition in file WaveformOperations.h.