multicolorfits.compare_multicolor_vs_rgb#

multicolorfits.compare_multicolor_vs_rgb(rgbin, multicolorin, hdrin, ax2title, suptitle, savepath, xaxislabel='RA', yaxislabel='DEC', tickcolor='w', labelcolor='k', facecolor='w', supy=0.8, dpi=150, minorticks=True)[source]#

Side-by-side comparison of a conventional RGB stack and a multicolor composite; saves the figure to disk.

Tick and label colors accept any matplotlib color ('k', 'black', …).

Parameters:
  • rgbin (array) – Input pure RGB image –> e.g., np.dstack( [redframe, gframe, bframe] )

  • multicolorin (array) – Multicolor RGB image – as would be output from combine_multicolor()

  • hdrin (astropy.io.fits.header) – Header to use for WCS information

  • ax2title (str) – String to use for 2nd axis plot title. e.g. “My crazy 5-color image”, or empty quotes “” for nothing.

  • suptitle (str) – String for super title (centered at top of plot, super title applies to whole figure)

  • savepath (str) – Path to save file to. e.g., “./plots/mycrazyimage.pdf”

  • xaxislabel (str) – Label to use for x-axes. Default=’RA’

  • yaxislabel (str) – Label to use for y-axes. Default=’DEC’

  • tickcolor (str) – Color to use for ticks in plot, default = ‘w’.

  • labelcolor (str) – Color to use for ticklabels, default = ‘k’

  • facecolor (str) – Color to use for figure facecolor (border around plot), default =’w’

  • minorticks (bool) – True to use minor ticks

  • dpi (int) – Default=150. Dots per inch value to use for saved plot.

  • supy (float) – Position for suptitle (default = 0.8)