Includes all classes for calculations for off-the-reel-taken-values of a source-class
calc. the mean-difference of the last n values :param n: number of the last values to calc the mean from :type n: int
divide the last calulated values of two given calc-classes
Parameters: |
|
---|
In this case the derivate d(dim1)/d(dim2) middled for the last 10 valued will be calculated This procedure will only work if both dimensions are in merge or basis.
use it like this:
dim1 = myFile.basisDimension(...) # or mergeDimension
dim1.appendCalc(calc.delta(10))
dim2 = myFile.basisDimension(...)
dim2.appendCalc(calc.delta(10))
#<<<
dim2.appendCalc( calc.divideCalcClasses(dim1.getCalc(0), dim2.getCalc(0)) )
#>>>
This module includes all methods to merge values from type diaGrabber.source._dimension.mergeDimension. “Merge” means in this case to handle an incoming new value at a place in the target where other values exists allready. Depending on the chosen target-class diaGrabber.target its also possible that incomming values have an intensity < 1 because the orig. values were splitted.
Take every last incomming value. Do not merge with old values. This is the standard-procedure.
Includes all classes for criteria to exclude off-the-reel-taken-values of a source-class private methods _get will return True if the value fullfills the criteria and falas if it fails.
exclude value if the last abs(value) from given dimInstance is bigger than the given value
exclude value if result of a calc.xx-class is bigger than the given value
exclude value if result of dimension.calc[dim1] is smaller than dimension.calc[dim2]
exclude value if result of a calc.xx-class is smaller than the given value
The transform-module include classes to transform values and units.
Get y-values from given f(x)-functions.
Parameters: |
---|
Get y-values from given (also unsorted) point(x,y) values. Do a linear interpolation between given points and extrapolate with the first and last y-value. This class in analoque the the openFOAM-class of the same name.
Parameters: |
---|