4 ms·
Grrr, why aren't scientists all using perceptually uniforms color schemes! This would still look awesome in `plasma`. Is there any where I can get the data and
by Mizza 8y ago
Grrr, why aren't scientists all using perceptually uniforms color schemes! This would still look awesome in `plasma`. Is there any where I can get the data and do it myself?
One of my favorite talks ever is on this subject: https://www.youtube.com/watch?v=xAoljeRJ3lU https://www.youtube.com/watch?v=xAoljeRJ3lU
- kardos 8y agoCan you run it through the colormap in reverse to (approximately) recover the data?
- yehar 8y agoBased on my analysis the published image is too processed to be able to invert the colormap to get to the brightness temperature data. I had better luck with Paper IV Fig. 15. See: https://physics.stackexchange.com/questions/472641/what-would-the-event-horizon-telescope-m87-black-hole-image-look-like-if-we-saw https://physics.stackexchange.com/questions/472641/what-woul...
- thanatropism 8y agoTechnically yes -- colormaps are 1-dimensional non-self intersecting curves in RGBA space. You just grab them by the... I mean just straighten them. I don't know if an explicit formula for the colormap is given, but you can always do "xs = np.linspace(0,1,100); ys = { cm.hot(x):x for x in xs}" and recover an approximate inverse. Then apply this function to each pixel of the image.
- Osmium 8y ago'Inferno' would be nice for this, also perceptually uniform, and has the benefit that space is still black.
- knolan 8y agoYou can easily remap it between different colour maps if you assume that is is a standard hot map.