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


emosaic (emosaic-1.19.1) [xmmsas_20230412_1735-21.0.0]


Algorithm

  Read parameters

  Read each input image
  Read corresponding exposure image (if required)

  Set output projection (reference coordinate, pixel size) from the
     first input image

  Project corners of each input image into output frame to find the
     bounds of the output image

  Calculate size of output image in pixels from bounds and pixel size

  Create output image

  Loop over input images
     Loop over pixels in output image
        Project coordinate of output pixel into frame of input image
        Sample input pixel, add sample to output image
        Sample input exposure image pixel, add to output exposure
           image (if required)
     End loop
  End loop

  Divide output image by output exposure image (if required)

  Write output image



XMM-Newton SOC -- 2023-04-16