basecurve tool: cleanup hexify
basecurve tool: move BE detection to own function
basecurve tool: explicit the modules' param version
basecurve tool: factor curve resolution in define
basecurve tool: compute ab channels too, for now not working