XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


etruecolor (xcolorcod-1.30.1) [22.0.0-9173c7d25-20250127]


Algorithm

read RGB color curves
setup temporary table with columns red/green/blue
foreach event
  red = linearInterpolate(redcurve,energy)
  green = linearInterpolate(greencurve,energy)
  blue = linearInterpolate(bluecurve,energy)
foreach {red, green, blue}
  construct component image with evselect and divide by livetime
combine partial images
if (log)
  foreach pixel
    r,g,b = max ( log(r,g,b) - log(maxValue) + decades, 0)
normalize to 255
if (withcolorset)
   write image to data set
else
   write image in PPM format



XMM-Newton SOC -- 2025-01-27