Int32TimeSeriesProperty

This a python binding to the C++ class Mantid::Kernel::TimeSeriesProperty.

bases: mantid.kernel.Property

class mantid.kernel.Int32TimeSeriesProperty((object)self, (str)value)
EMPTY_DBL = 8.988465674311579e+307
EMPTY_INT = 2147483647
EMPTY_LONG = 9223372036854775807
__init__((object)self, (str)value) → None
addValue((Int32TimeSeriesProperty)self, (DateAndTime)time, (int)value) → None

addValue( (Int32TimeSeriesProperty)self, (str)time, (int)value) -> None

allowedValues

A list of allowed values

clear((Int32TimeSeriesProperty)self) → None
direction

Input, Output, InOut or Unknown. See the Direction class

documentation

The property’s doc string

firstTime((Int32TimeSeriesProperty)self) → DateAndTime
firstValue((Int32TimeSeriesProperty)self) → int
getDefault

Get the default value as a string

getGroup

Return the ‘group’ of the property, that is, the header in the algorithm’s list of properties.

getStatistics((Int32TimeSeriesProperty)self) → TimeSeriesPropertyStatistics
isDefault

Is the property set at the default value

isValid

An empty string if the property is valid, otherwise it contains an error message.

lastTime((Int32TimeSeriesProperty)self) → DateAndTime
lastValue((Int32TimeSeriesProperty)self) → int
name

The name of the property

nthTime((Int32TimeSeriesProperty)self, (int)index) → DateAndTime
nthValue((Int32TimeSeriesProperty)self, (int)index) → int
settings

Return the object managing this property’s settings

size((Int32TimeSeriesProperty)self) → int
timeAverageValue((Int32TimeSeriesProperty)self) → float
times
type

Returns a string identifier for the type

units

The units attached to this property

value
valueAsPrettyStr((Property)arg1[, (int)maxLength=0[, (bool)collapseLists=True]]) → str :

The value of the property as a formatted string. If maxLength is defined then the output may not contain the full contents of the property. The maxLength and collapseLists arguments do not work for all property types

valueAsStr

The value of the property as a string. For some property types, e.g. Workspaces, it is useful to be able to refer to the string value directly

valueAsString((Int32TimeSeriesProperty)self) → str