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

Class UniformlySampledDimension

core.Updatable --+            
                 |            
   core.Selectable --+        
                     |        
     core.Attributable --+    
                         |    
                   DataSet --+
                             |
                            UniformlySampledDimension

Uniformly sampled dimensions are a special case of discrete dimensions in that they calculate their dimension value based on a uniform sampling of the bounds and the requested index. A uniformly sampled dimension specifies sample points not intervals between the samples for instance.

Class Hierarchy for UniformlySampledDimension
Class Hierarchy for UniformlySampledDimension

constructor UniformlySampledDimension(iId, iName):

constructor UniformlySampledDimension(iId, iStart, iEnd, iSteps, iName):

Instance Methods
int
end()
Returns the end of the uniformly sampled range.
int
numberOfSamples()
Returns the number of samples.
int
start()
Returns the start of the uniformly sampled range.

Inherited from DataSet: __abs__, __add__, __div__, __getitem__, __len__, __mul__, __neg__, __pos__, __pow__, __radd__, __rdiv__, __rmul__, __rpow__, __rsub__, __rtruediv__, __sub__, __truediv__, addDimension, at, atValue, bounds, canModifyDimensions, dataType, dimension, dimensions, flat, getUnitClass, insertDimension, isContinuousDimension, isUniformlySampled, magnitudeBounds, numberOfDimensions, reciprocal, removeDimension, replaceDimension, setUnitClass, size

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

Inherited from DataSet: id, unitClass

Inherited from core.Selectable: metaData, name, notes