You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
784 B
Python
32 lines
784 B
Python
FluidNormalize : FluidRTDataClient {
|
|
|
|
*new {|server, min = 0, max = 1, invert = 0|
|
|
^super.new1(server,[\min,min,\max,max, \invert, invert]);
|
|
}
|
|
|
|
fit{|dataSet, action|
|
|
this.prSendMsg(\fit,[dataSet.asSymbol], action);
|
|
}
|
|
|
|
transform{|sourceDataSet, destDataSet, action|
|
|
this.prSendMsg(\transform,
|
|
[sourceDataSet.asSymbol, destDataSet.asSymbol], action
|
|
);
|
|
}
|
|
|
|
fitTransform{|sourceDataSet, destDataSet, action|
|
|
this.prSendMsg(\fitTransform,
|
|
[sourceDataSet.asSymbol, destDataSet.asSymbol], action
|
|
);
|
|
}
|
|
|
|
transformPoint{|sourceBuffer, destBuffer, action|
|
|
sourceBuffer = this.prEncodeBuffer(sourceBuffer);
|
|
destBuffer = this.prEncodeBuffer(destBuffer);
|
|
this.prSendMsg(\transformPoint,
|
|
[sourceBuffer, destBuffer], action,
|
|
outputBuffers:[destBuffer]
|
|
);
|
|
}
|
|
}
|