#include <SEFunctionElectricPotentialVsTime.h>
biogears::SEFunctionElectricPotentialVsTime::SEFunctionElectricPotentialVsTime |
( |
| ) |
|
biogears::SEFunctionElectricPotentialVsTime::~SEFunctionElectricPotentialVsTime |
( |
| ) |
|
|
virtual |
void biogears::SEFunctionElectricPotentialVsTime::Clear |
( |
| ) |
|
|
virtual |
double biogears::SEFunctionElectricPotentialVsTime::GetDependentValue |
( |
unsigned int |
index | ) |
|
|
delete |
std::vector< double > & biogears::SEFunctionElectricPotentialVsTime::GetElectricPotential |
( |
| ) |
|
|
virtual |
double biogears::SEFunctionElectricPotentialVsTime::GetElectricPotentialValue |
( |
unsigned int |
index, |
|
|
const ElectricPotentialUnit & |
unit |
|
) |
| |
|
virtual |
double biogears::SEFunctionElectricPotentialVsTime::GetIndependentValue |
( |
unsigned int |
index | ) |
|
|
delete |
std::vector< double > & biogears::SEFunctionElectricPotentialVsTime::GetTime |
( |
| ) |
|
|
virtual |
const TimeUnit * biogears::SEFunctionElectricPotentialVsTime::GetTimeUnit |
( |
| ) |
|
|
virtual |
double biogears::SEFunctionElectricPotentialVsTime::GetTimeValue |
( |
unsigned int |
index, |
|
|
const TimeUnit & |
unit |
|
) |
| |
|
virtual |
Interpolates the original data to match the engine time step.
- Parameters
-
newTime | vector of the new time values |
unit | the unit to use when creating the output |
- Returns
- the new waveform data
This function creates the new waveform data for the ECG output by interpolating the data from the original file. It inherits m_Independent and m_Dependent from the original data and calls GeneralMath::LinearInterpolator to create the new vector of voltage points that correspond to the time points in newTime. It is then assigned the unit of the original data and output as the new waveform.
void biogears::SEFunctionElectricPotentialVsTime::SetElectricPotentialUnit |
( |
const ElectricPotentialUnit & |
unit | ) |
|
|
virtual |
void biogears::SEFunctionElectricPotentialVsTime::SetTimeUnit |
( |
const TimeUnit & |
unit | ) |
|
|
virtual |
const TimeUnit* biogears::SEFunctionElectricPotentialVsTime::m_TimeUnit |
|
protected |