Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Changes to LASCO color tables #2731
The existing LASCO color tables don't work well with helioviewer JP2 images. The color tables are highly compressed with over half the colors simply being white, so the colors are crammed in to an unnecessarily small range of values. This PR replaces those color tables with matplotlib colormaps that make nice looking helioviewer JP2 images and reasonable looking images of Level 0.5 image data (bearing in mind that Level 0.5 data is not background subtracted). This PR fixes #2724 .
I suppose we could keep them for historical reasons but they are really bad color tables. They are highly compressed, and in my opinion work against the desire to see features in the data. The new C2 color table looks superficially like the old C2 color table, so I expect few complaints about that. The C3 color table is quite a bit different, but you do see more detail. I think these are improvements to SunPy's ability to display LASCO images nicely. The only reason to keep them is for historical reasons.