{"_id":"apply-colormap","_rev":"8-6e3b3aed574da3f2cda4691beac8a1f2","name":"apply-colormap","description":"Applies a colormap to an ndarray","dist-tags":{"latest":"1.0.1"},"versions":{"0.0.0":{"name":"apply-colormap","version":"0.0.0","description":"Applies a colormap to an ndarray","main":"apply-color-map.js","directories":{"test":"test"},"dependencies":{"colormap":"~0.3.7","cwise":"~0.4.0","ndarray":"~1.0.10","ndarray-ops":"~1.2.1"},"devDependencies":{"zeros":"~0.0.0","ndarray-fill":"~0.1.0","ndarray-imshow":"~0.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/apply-colormap.git"},"keywords":["colorize","ndarray","colormpa"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/apply-colormap/issues"},"homepage":"https://github.com/mikolalysenko/apply-colormap","_id":"apply-colormap@0.0.0","dist":{"shasum":"f2eb8a2992362c1e92eb1bc459eb344a2f4a804d","tarball":"https://registry.npmjs.org/apply-colormap/-/apply-colormap-0.0.0.tgz","integrity":"sha512-m+UdSFoFRSRd2cMbjHu7uio13D56xpncqpsLAQ49ATfo6QCOvSX7I9JyEgbGPfscoH+l9zBFwSCRqKssAY6rsg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4jRx+87wQ5E+odSqHXZ7JCc9DqwhRsz0bFVkuE8pXCgIhAKaEu0oXwX8rEz+ObryjDznUCxIQFRctcGz8o9dQtgc1"}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.0":{"name":"apply-colormap","version":"1.0.0","description":"Applies a colormap to an ndarray","main":"apply-color-map.js","directories":{"test":"test"},"dependencies":{"colormap":"~0.3.7","cwise":"^1.0.0","ndarray":"^1.0.13","ndarray-ops":"^1.2.1"},"devDependencies":{"zeros":"~0.0.0","ndarray-fill":"~0.1.0","ndarray-imshow":"~0.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/apply-colormap.git"},"keywords":["colorize","ndarray","colormpa"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/apply-colormap/issues"},"homepage":"https://github.com/mikolalysenko/apply-colormap","browserify":{"transform":["cwise"]},"_id":"apply-colormap@1.0.0","dist":{"shasum":"5c83903cd377e4198ca95d2897e7ef75934145b8","tarball":"https://registry.npmjs.org/apply-colormap/-/apply-colormap-1.0.0.tgz","integrity":"sha512-vwKEtroT5z+GD4EtJgAdfpo0QdIvcri4jBkk89g2qo0wNkkkakoxAGPb2x2TqeVwNddxDaJSY35VCG1NSSCGvA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdDDiTQoQ+D2fvbQlg3ocz0AkN9vHMDNK/R90+Bdv/egIgUnMmDogCDVETnPHoEKLaXlVtapEvkN4+BdRW/RqbTig="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]},"1.0.1":{"name":"apply-colormap","version":"1.0.1","description":"Applies a colormap to an ndarray","main":"apply-color-map.js","directories":{"test":"test"},"dependencies":{"cwise":"^1.0.0","ndarray":"^1.0.13","ndarray-ops":"^1.2.1","colormap":"^1.2.2"},"devDependencies":{"zeros":"~0.0.0","ndarray-fill":"~0.1.0","ndarray-imshow":"~0.0.1"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://github.com/mikolalysenko/apply-colormap.git"},"keywords":["colorize","ndarray","colormpa"],"author":{"name":"Mikola Lysenko"},"license":"MIT","bugs":{"url":"https://github.com/mikolalysenko/apply-colormap/issues"},"homepage":"https://github.com/mikolalysenko/apply-colormap","browserify":{"transform":["cwise"]},"_id":"apply-colormap@1.0.1","dist":{"shasum":"8fb95c567582f70c0002b2826bbb9cc9b6cf4d03","tarball":"https://registry.npmjs.org/apply-colormap/-/apply-colormap-1.0.1.tgz","integrity":"sha512-hciyCOKvDl2QWi3CMCXUiw46+6IVxYRfzNGKyjd7mi5nFyIEdOC0JeV8u61xWgraWshbq2oGoiG9MmDGdKsC6w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0VYnxXd/Hln0QDQlTMxUIW+D69anG8bsue6+mwLoFMAiB1xegWthA/5b2lmb/mCTx+zeLO7EIPNd2iTtEHlP1+aw=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},"maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}]}},"readme":"apply-colormap\n==============\nApplies a color map to an ndarray.\n\n# Example\n\n```javascript\nvar imshow = require(\"ndarray-imshow\")\nvar colorize = require(\"apply-colormap\")\nvar fill = require(\"ndarray-fill\")\nvar zeros = require(\"zeros\")\n\nvar x = zeros([512, 512])\nfill(x, function(a,b) {\n  return a*a + b*b\n})\n\nimshow(colorize(x))\n```\n\n# Install\n\n```\nnpm install apply-colormap\n```\n\n# API\n\n### `require(\"apply-colormap\")(array[, options])`\nApplies a colormap to an ndarray\n\n* `array` is an ndarray\n* `options` is an object containing a list of properties to apply to the array\n\n    + `colormap` determines the colormap to use (default \"jet\").  Names are consistent with the [`colormap`](https://www.npmjs.org/package/colormap) package.\n    + `min` determines the lowest color in the image \n    + `max` determines the highest color in the image\n    + `outBuffer` is an optional buffer into which the output is written\n\n**Returns** An ndarray representing the colorized image or volume\n\n# Credits\n(c) 2014 Mikola Lysenko. MIT License","maintainers":[{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"}],"time":{"modified":"2022-06-13T03:18:56.678Z","created":"2014-03-22T16:09:01.634Z","0.0.0":"2014-03-22T16:09:01.634Z","1.0.0":"2014-04-29T01:37:22.305Z","1.0.1":"2014-09-22T02:25:06.747Z"},"homepage":"https://github.com/mikolalysenko/apply-colormap","keywords":["colorize","ndarray","colormpa"],"repository":{"type":"git","url":"git://github.com/mikolalysenko/apply-colormap.git"},"author":{"name":"Mikola Lysenko"},"bugs":{"url":"https://github.com/mikolalysenko/apply-colormap/issues"},"license":"MIT","readmeFilename":"README.md"}