UserAmplitude object

The UserAmplitude object defines an amplitude curve using the UAMP or VUAMP user subroutine.

The UserAmplitude object is derived from the Amplitude object.

The following topics are discussed:

Access

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

UserAmplitude(...)

This method creates a UserAmplitude object.

Path

mdb.models[name].UserAmplitude
session.odbs[name].UserAmplitude

Required arguments

name

A String specifying the repository key.

numVariables

An Int specifying the number of variables for the UAMP or VUAMP user subroutine.

Optional arguments

timeSpan

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

Return value

A UserAmplitude object.

Exceptions

InvalidNameError and RangeError.

setValues(...)

This method modifies the UserAmplitude object.

Required arguments

None.

Optional arguments

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

Return value

None.

Exceptions

RangeError.

Members

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

Corresponding analysis keywords