MeVisLab Scripting Reference
|
#include <mlWEMPrimitiveValueListWrapper.h>
Inherits QObject.
Public Slots | |
void | clampMaxValue (double maxValue) |
void | clampMinValue (double minValue) |
void | computeAndSetMinMaxFixedValues () |
QString | getDescription () const |
double | getMaxValue () const |
double | getMeanValue () const |
double | getMinValue () const |
int | getNumValues () const |
double | getRootMeanSquareDeviationValue () const |
double | getStandardDeviationValue () const |
QString | getUnits () const |
double | getValue (int index) const |
QList< double > | getValues () const |
void | initializeValues (int number, double value) |
bool | isValid () const |
void | multiplyValues (double modifier) |
void | setFromNumPyArray (PyObject *array) |
void | setMinMaxValue (double minValue, double maxValue) |
void | setUnits (const QString &units) |
void | setValue (int index, double value) |
void | setValues (const QList< double > &values) |
QVariant | toNumPyArray () |
void | updateStatistics () |
A class that wraps WEMPrimitiveValueList objects for use in scripting.
|
slot |
Clamps the max value to the given max value.
This does not update the statistics automatically!
|
slot |
Clamps the min value to the given min value.
This does not update the statistics automatically!
|
slot |
Computes and sets the min and max values, and switches to fixed values.
|
slot |
Returns the description of this PVL.
|
slot |
Returns the maximum value.
|
slot |
Returns the mean value. Make sure to have called updateStatistics() before!
|
slot |
Returns the minimum value.
|
slot |
Returns the number of values.
|
slot |
Returns the root mean square deviation value. Make sure to have called updateStatistics() before!
|
slot |
Returns the standard deviation value. Make sure to have called updateStatistics() before!
|
slot |
Returns the units string.
|
slot |
Returns the value at the given index.
|
slot |
Returns array of doubles stored in the PrimitiveValueList.
|
slot |
Initializes the first number
of values with the given value.
This does not update the statistics automatically.
|
slot |
Returns whether the values are valid.
The description needs to be non-empty, the list needs to contain values, and the minimum and maximum values needs to be set.
|
slot |
Multiplies values with the given modifier.
Adjusts min and max values, but does not update the statistics!
|
slot |
Sets the values from a numpy array.
|
slot |
Sets the min and max values, switches to fixed values.
|
slot |
Sets the units string.
|
slot |
Sets the given value at the given index.
If index exceeds the size of the vector, the value is appended. This does not update the statistics automatically.
|
slot |
Sets the array of doubles stored in the PrimitiveValueList. Length must match current length of the list.
|
slot |
Get the values as numpy array (a copy is returned, not a view to the data).
|
slot |
Update statistics: mean, standard deviation, and root mean square.