Tool code lives as
but I found that you can use gegl from command line, but may be test it inside gimp first and then export xml/text file for reuse
I wonder if some of those "bring values to specific range, like 0.0 - 1.0f" operations deserve their own plugin in cinelerra (if we ever debug those "unbounded" floating point operations)