multicolorfits.combine_multicolor#

multicolorfits.combine_multicolor(im_list_colorized, gamma=2.2, inverse=False, dtype=<class 'numpy.float64'>)[source]#

Combines input colorized RGB images [:,:,3] into one intensity-rescaled RGB image

Parameters:
  • im_list_colorized (list) – List of colorized RGB images. e.g., [ halpha_purple, co21_orange, sio54_teal ]

  • gamma (float) – Value used for gamma correction ^1/gamma. Default=2.2.

  • inverse (bool) – True will invert the scale so that white is the background

  • dtype (numpy dtype) – Working/output dtype (default numpy.float64). Pass numpy.float32 for an opt-in low-memory / faster “preview” mode (~half the memory traffic) at reduced numeric precision.

Returns:

array – Colorized RGB image (combined), shape=[ypixels,xpixels,3]