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


ommosaic (ommosaic-2.11) [xmmsas_20230412_1735-21.0.0]

Alignment example

Please refer to section Initializetion example

Create a vector of booleans, isStacked,  of size equal to the number
of images, and initialize to false.

 set isStacked[3] to true- this will be the reference image. (NB indices
start at zero).

1) Attempt to align image 5 with image 4
        If successful - set isStacked[4] to true

2) Attempt to align image 3 with image 4
        If successful - set isStacked[2] to true

 
3) Attempt to align image 2 with image 4
        If successful - set isStacked[1] to true

4) If image 5 has been aligned then 
   attempt to align image 3 with image 5
   If successful - set isStacked[2] to true

5) If image 5 has been aligned then 
   attempt to align image 1 with image 5
   If successful - set isStacked[0] to true

6) If image 1 has been, but image 2 has not been aligned then 
   attempt to align image 2 with image 1
   If successful - set isStacked[1] to true



XMM-Newton SOC -- 2023-04-16