Commit Graph

23 Commits

Author SHA1 Message Date
Martin Diehl 24391b5398 checked with prospector, adopted mainly docstrings 2016-03-04 17:53:55 +01:00
Philip Eisenlohr 83547ce29f condensed multiple import statements into general one at module start. 2015-06-15 15:36:58 +00:00
Philip Eisenlohr 0efbd4b11f added Colormap.color(fraction) function to interpolate a color from the colormap.
cleaned Colormap.export by now relying on new interpolation function.
2015-06-13 11:46:32 +00:00
Philip Eisenlohr a8d61a29d6 added newlines at end of colormap.exports 2015-06-06 11:09:15 +00:00
Martin Diehl 342ca0be47 tested new scripts to update shebang, all files got same shebang (and for python files encoding) 2014-04-01 18:41:14 +00:00
Philip Eisenlohr 6fd8407d6e moved "predefined" to colormap init
cleaned interpolate to not change color model

fixed color range cropping issue
2014-02-28 16:09:01 +00:00
Christoph Kords fab0ea8e4e interpolation method is now an attribute of the Colormap class; added classic "rainbow" colorscheme to predefined ones 2013-05-28 20:15:13 +00:00
Christoph Kords 65c5090378 added option to linearly interpolate colors to Colormap class 2013-05-28 17:33:51 +00:00
Christoph Kords 2784a96a51 do not print colormap name for format=raw 2013-05-28 14:45:53 +00:00
Christoph Kords 7c42facfe0 predefined colormaps now as class attribute of "Colormap" 2013-05-28 14:04:25 +00:00
Christoph Kords ee2595c008 added method to use predefined colormaps 2013-05-28 13:50:36 +00:00
Christoph Kords 4fda285e08 added method to invert colormap 2013-05-28 12:18:25 +00:00
Christoph Kords d01a8bdf8c renamed methods "to" and "asModel" to more (?) meaningfull "convertTo" and "expressAs" 2013-05-28 11:47:15 +00:00
Christoph Kords 8421587724 added some space here and there for more readability 2013-05-28 11:39:26 +00:00
Mahesh Balasubramaniam 7fd1dca4f5 corrected a little mistake on line 145 that sets the maximum value of XYZ values to be 1.0 2013-03-25 20:18:30 +00:00
Martin Diehl 43ec1d2051 added output of perceptual unfiform colormaps to GOM (DIC Aramis) format, deleted some old files in the documentation folder 2013-03-19 15:19:46 +00:00
Philip Eisenlohr fc9ecc7ed5 fixed bugs in HSL2RGB and the two CIE conversions.
streamlined interpolation.
2013-02-02 20:17:02 +00:00
Philip Eisenlohr 95c74961dd polished syntax here and there. 2013-02-02 15:11:55 +00:00
Mahesh Balasubramaniam a1f0ed483c export method with format and revised crop options added to the Colormap class. 2013-01-18 17:17:50 +00:00
Martin Diehl b018934b45 simplified code, added functionality to export raw list 2013-01-16 18:45:10 +00:00
Mahesh Balasubramaniam 7ac7d1a657 new tool for creation of colormaps, now using proper classes 2013-01-15 18:24:10 +00:00
Martin Diehl fd0e096256 rewrote colormaps to use classes 2013-01-08 18:47:44 +00:00
Mahesh Balasubramaniam 820b8eb2c1 put colormap related functions into library, renamed and added scripts for creation of colormaps 2013-01-04 13:57:36 +00:00