sunpy icon indicating copy to clipboard operation
sunpy copied to clipboard

Add 3-colour, tri-color or RGB example combing 3 wavelengths in one image/plot

Open samaloney opened this issue 2 years ago • 2 comments

Describe the feature

Combing multi-wavelength images on a single plot is a really useful analysis tool and one way to do this is to make use of the the three RGB channels for three different wavelengths image. For example like this plot created by @Shilpi96 using code from @eoincarley

image

Proposed solution

Create an example showing how to to create such tri-color or RBG images combing 3 different wavelengths using sunpy Maps

samaloney avatar Mar 08 '22 12:03 samaloney

yes, this would be very useful. I would like to add an example.

Shilpi96 avatar Mar 08 '22 12:03 Shilpi96

One possible way of doing this is with the make_lupton_rgb function in astropy (e.g. this gist https://gist.github.com/wtbarnes/62ef2995369a17eead6c3ce331985cd0).

I think this is a good idea. I wonder if it would be better suited for the sunkit-image gallery.

wtbarnes avatar Mar 08 '22 22:03 wtbarnes

I want to work on this issues please assign me this issues samaloney

Vickyaryan33 avatar Mar 17 '23 10:03 Vickyaryan33

An example using make_lupton_rgb() was already added in #6459 (and then moved to the sunkit-image gallery in sunpy/sunkit-image#128). Something similar can also be achieved using mplcairo (see #6835).

Closing this issue as completed

ayshih avatar Mar 17 '23 12:03 ayshih