3.8 PeriodicAmplitude object

The PeriodicAmplitude object defines an amplitude curve using a Fourier series.

The PeriodicAmplitude object is derived from the Amplitude object.

Access
import amplitude
mdb.models[name].amplitudes[name]
import odbAmplitude
session.odbs[name].amplitudes[name]


3.8.1 PeriodicAmplitude(...)

This method creates a PeriodicAmplitude object.

Path
mdb.models[name].PeriodicAmplitude
session.odbs[name].PeriodicAmplitude

Required arguments

name

A String specifying the repository key.

frequency

A Float specifying the circular frequency . Possible values are positive numbers.

start

A Float specifying the starting time . Possible values are positive numbers.

a_0

A Float specifying the constant .

data

A sequence of pairs of Floats specifying and pairs.

Optional argument

timeSpan

A SymbolicConstant specifying the time span of the amplitude. Possible values are STEP and TOTAL. The default value is STEP.

Return value

A PeriodicAmplitude object.

Exceptions

InvalidNameError and RangeError.


3.8.2 setValues(...)

This method modifies the PeriodicAmplitude object.

Required arguments

None.

Optional arguments

The optional arguments to setValues are the same as the arguments to the PeriodicAmplitude method, except for the name argument.

Return value

None

Exceptions

RangeError.


3.8.3  Members

The PeriodicAmplitude object has members with the same names and descriptions as the arguments to the PeriodicAmplitude method.


3.8.4  Corresponding analysis keywords

*AMPLITUDE