The EquallySpacedAmplitude object defines a list of amplitude values at fixed time intervals beginning at a specified value of time.
The EquallySpacedAmplitude object is derived from the Amplitude object.
amplitudeApi.amplitudes()[name]
This method creates an EquallySpacedAmplitude object.
amplitudeApi.EquallySpacedAmplitude
odb_EquallySpacedAmplitude& EquallySpacedAmplitude(const odb_String& name, double fixedInterval, const odb_SequenceDouble& data, double begin, odb_Union smooth, const odb_String& timeSpan);
Required arguments
An odb_String specifying the repository key.
A Double specifying the fixed time interval at which the amplitude data are given. Possible values are positive numbers.
An odb_SequenceDouble specifying the amplitude values.
Optional arguments
A Double specifying the time at which the first amplitude data are given. Possible values are non-negative numbers. The default value is 0.0.
The string "SOLVER_DEFAULT" or a Double specifying the degree of smoothing. Possible float values are 0 smoothing 0.5. If smooth="SOLVER_DEFAULT", the default degree of smoothing will be determined by the solver. The default value is "SOLVER_DEFAULT".
An odb_String specifying the time span of the amplitude. Possible values are "STEP" and "TOTAL". The default value is "STEP".
Return value
An EquallySpacedAmplitude object.
Exceptions
InvalidNameError and RangeError.
This method modifies the EquallySpacedAmplitude object.
Required arguments
Optional arguments
The optional arguments to setValues are the same as the arguments to the EquallySpacedAmplitude method, except for the name argument.
Return value
Exceptions
RangeError.
The EquallySpacedAmplitude object has members with the same names and descriptions as the arguments to the EquallySpacedAmplitude method.
In addition, the EquallySpacedAmplitude object can have the following member:
odb_BaselineCorrection baselineCorrection() const;
A BaselineCorrection object.