mcmandelbrot.colormap.ColorMapper(object)
class documentation
Part of mcmandelbrot.colormap
(View In Hierarchy)
I map floating-point values in the range 0.0 to 1.0 to RGB byte triplets.
Class Variable | fileName | A file with a colormap of RGB triplets, one for each of many linearly increasing values to be mapped, in CSV format. |
Method | __init__ | Undocumented |
Method | loadMap | Returns an RGB colormap of dimensions Nx3 that transitions
from black to red, then red to orange, then orange to white. |
Method | __call__ | Undocumented |
Method | _rangeMap | Undocumented |
fileName =
A file with a colormap of RGB triplets, one for each of many linearly
increasing values to be mapped, in CSV format.