Package empro :: Module empro :: Module datasource :: Class DataSet
[frames] | no frames]

Class DataSet

core.Updatable --+        
                 |        
   core.Selectable --+    
                     |    
     core.Attributable --+
                         |
                        DataSet
Known Subclasses:

Instance Methods
 
__abs__(x)
abs(x)
 
__add__(x, y)
x+y
 
__div__(x, y)
x/y
 
__getitem__(x, y)
x[y]
 
__len__(x)
len(x)
 
__mul__(x, y)
x*y
 
__neg__(x)
-x
 
__pos__(x)
+x
 
__pow__(x, y, z=...)
pow(x, y[, z])
 
__radd__(x, y)
y+x
 
__rdiv__(x, y)
y/x
 
__rmul__(x, y)
y*x
 
__rpow__(y, x, z=...)
pow(x, y[, z])
 
__rsub__(x, y)
y-x
 
__rtruediv__(x, y)
y/x
 
__sub__(x, y)
x-y
 
__truediv__(x, y)
x/y
bool
addDimension(iDimension)
Adds a dimension to the datast.
float
at(iIndex1, iIndex2, iIndex3, iIndex4)
Returns data for given index.
float
atValue(iValue1, iValue2, iValue3, iValue4)
Returns data for given value.
 
bounds(...)
DataSet.bounds
bool
canModifyDimensions()
Determines if the dimensionality can be changed.
string
dataType()
Returns the data type of the data set.
DataSet
dimension(iIndex)
Retrieves the data set of a given dimension.
list{DataSet}
dimensions()
Retrieves the data set of all dimensions.
 
flat(...)
No documentation available.
 
getUnitClass(...)
No documentation available.
bool
insertDimension(iIndex, iDimension)
Inserts a dimension.
bool
isContinuousDimension()
Determines if this data set is a continuous dimension concrete class.
bool
isUniformlySampled()
Determines if the data set is uniformly sampled.
 
magnitudeBounds(...)
DataSet.magnitudeBounds
 
numberOfDimensions(...)
DataSet.numberOfDimensions
 
reciprocal(...)
No documentation available.
bool
removeDimension(iIndex)
Removes a dimension.
bool
replaceDimension(iIndex, iDimension)
Replaces a dimension.
 
setUnitClass(...)
No documentation available.
int
size()
Returns the discrete size according to the internal data structure.

Inherited from core.Attributable: addAttribute, attributeNames, getAttribute, removeAttribute, setAttribute

Inherited from core.Selectable: clone, isSelected

Inherited from core.Updatable: __enter__, __exit__, hash, isValid, reasonWhyInvalid

Properties
  id
No documentation available.
  unitClass
No documentation available.

Inherited from core.Selectable: metaData, name, notes

Method Details

addDimension(iDimension)

 

Adds a dimension to the datast.

Parameters:
  • iDimension (DataSet) - The dimension to add.
Returns: bool

at(iIndex1, iIndex2, iIndex3, iIndex4)

 

Returns data for given index.

Parameters:
  • iIndex1 (int) - Index in first dimension.
  • iIndex2 (int) - Index in second dimension.
  • iIndex3 (int) - Index in third dimension.
  • iIndex4 (int) - Index in fourth dimension.
Returns: float

atValue(iValue1, iValue2, iValue3, iValue4)

 

Returns data for given value.

Parameters:
  • iValue1 (float) - Value over first dimension.
  • iValue2 (float) - Value over second dimension.
  • iValue3 (float) - Value over third dimension.
  • iValue4 (float) - Value over fourth dimension.
Returns: float

dataType()

 

Returns the data type of the data set. {Undefined,Discrete,Continuous,Both}

Returns: string

dimension(iIndex)

 

Retrieves the data set of a given dimension.

Parameters:
  • iIndex (int) - Index of dimension to retrieve.
Returns: DataSet

insertDimension(iIndex, iDimension)

 

Inserts a dimension.

Parameters:
  • iIndex (int) - The index of the dimension to remove.
  • iDimension (DataSet) - The dimension to add.
Returns: bool

removeDimension(iIndex)

 

Removes a dimension.

Parameters:
  • iIndex (int) - The index of the dimension to remove.
Returns: bool

replaceDimension(iIndex, iDimension)

 

Replaces a dimension.

Parameters:
  • iIndex (int) - The index of the dimension to replace.
  • iDimension (DataSet) - The dimension to add.
Returns: bool