![]() |
UNIVERS
15.3
UNIVERS base processing software API
|
#include <sim_impulse.hpp>
Public Member Functions | |
| UserImpulse (const Trace &tr, const AmplT &gain=1.) | |
| virtual Impulse * | clone () const |
| virtual AmplT | operator() (const TimeT &t) const |
| virtual ImpulseType | type () const |
Public Member Functions inherited from sim::Impulse | |
| Impulse (const AmplT &gain=1.) | |
| virtual void | setGain (const AmplT &gain) |
| virtual const AmplT & | gain () const |
Protected Attributes | |
| Trace | m_tr |
Protected Attributes inherited from sim::Impulse | |
| AmplT | m_gain |
User impulse provided from trace.
|
inline |
Constructor of the user impulse.
| tr | - trace with signal provided. |
| gain | - gain of the impulse amplitudes. |
|
virtual |
|
virtual |
Calculates impulse for provided time.
Linear interpolation between samples of the trace.
| t | - time in (ms). |
Implements sim::Impulse.
|
inlinevirtual |
|
protected |
User signal trace.
1.8.5