node-red-contrib-cubic-range

1.0.0 • Public • Published

Cubic Range

This is a Node Red wrapper around cubic-spline. This will do a mapping (like the range node) of input values to a given set of output values. If there is no x-value defined for the input, the node will do a cubic spline interpolation to get the output value.

Usage

You can specify the property within the message that needs to be mapped, the rest of the message will pass through unchanged. One exception, if the input topic is "newtable", the mapping will be updated but the the message will not be passed along. When entering or passing new x and y values, make sure the two arrays are of equal length.

Package Sidebar

Install

npm i node-red-contrib-cubic-range

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

7.67 kB

Total Files

5

Last publish

Collaborators

  • jochenderwae