faif
|
transformation - class to change timeseries stored in TimeSeriesDigit and/or TimeSeriesReal More...
#include <Transformations.hpp>
Public Member Functions | |
Transformation (const RealTime &present, const RealDuration &delta) | |
Transformation (const Transformation &t) | |
Transformation & | operator= (const Transformation &t) |
const RealTime & | getPresent () const |
const RealDuration & | getDelta () const |
RealTime | toReal (const DigitTime &d) const |
DigitTime | toDigit (const RealTime &r) const |
transformation - class to change timeseries stored in TimeSeriesDigit and/or TimeSeriesReal
|
inline |
accessor - reference point in time
|
inline |
accessor - distance between probes
transform digit time to real time (gives the reference points in time)
Referenced by faif::timeseries::create().
transform real time to digit time D = toDigit(R), then toReal(D) in <R - delta/2;R + delta/2) – includes R - delta/2 – excludes R + delta/2
example: delta=4
-2 -1 0 1 2 |—|—|—|—|— -2111100001111222233
References faif::timeseries::TimeValueReal::getQuality(), faif::timeseries::TimeValueDigit::getQuality(), faif::timeseries::TimeValueReal::getTime(), faif::timeseries::TimeValueDigit::getTime(), faif::timeseries::TimeValueReal::getValue(), and faif::timeseries::TimeValueDigit::getValue().