How to rescale color map/ transfer function

how do i rescale the “Radius” color map from 0.0000 to 0.1024 instead of 0 to 10.
i need python script for it.

json file for the “Radius” color map:
[

{

  "ColorSpace" : "RGB",

  "Name" : "lagr_ryba.4",

  "Points" : [ 1, 0, 0.5, 0, 14, 0.88235294818878174, 0.5, 0 ],

  "RGBPoints" : [

     1,

     0.41960784313725491,

     0.086274509803921567,

     0.043137254901960784,

     3.6000000000000001,

     0.52941176470588236,

     0.12156862745098039,

     0.050980392156862744,

     6.2000000000000002,

     0.63529411764705879,

     0.19607843137254902,

     0.10980392156862745,

     8.8000000000000007,

     0.52941176470588236,

     0.45882352941176469,

     0.17254901960784313,

     11.4,

     0.24313725490196078,

     0.42352941176470588,

     0.63921568627450975,

     14,

     0.011764705882352941,

     0.2196078431372549,

     0.44313725490196076

  ]

}

]

try the red arrow button

image

3 Likes