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


eexpmap (eexpmap-3.37.2) [xmmsas_20041122_1834-6.1.0]

Output Files Home Page Comments Home Index

Meta Index / Home Page


Algorithm

     LOOP over attitude file from task \task{atthkgen}
       
       Rebin attitude according to positional accuracy requirement
       specified by parameter attrebin.      

       LOOP over chips

         For each chip, merge rebinned attitude bins with GTI
             and with time selections performed on the data
         
         Get exposure in each time bin from EXPOSURE extension 

       END loop

     END loop

     Creation of instrument map and exposure map

     LOOP over CCDs

       LOOP over detector pixels (PIXCOORD1)

         Check if pixel is bad (from BADPIX extension), border pixel,  
         or outside FOV (CAL\_getFOVmap)


         Depending on parameter badclean or flag selections keywords in input image,
         check if pixel is neighbour of bad pixel or border pixel

         EXIT loop if one of the above is true

         Obtain quantum efficiency for each energy band 
         (CAL\_getQuantumEfficiency; add contribution for each 
         selected pattern type)

         Transform to PIXCOORD2

         Obtain filter transmission (CAL\_getFilterTransmission) 
         and vignetting (CAL\_get EffectiveArea) for each energy band

         For each energy band, multiply quantum efficency, filter 
         transmission and vignetting and write to instrument map 

         LOOP over attitude histogram

           Project detector pixels onto sky

           Multiply instrument map with exposure in attitude bin
           and distribute into sky pixels

         END of attitude loop

       END of detector pixel loop

     END of loop over chips       

     Write exposure map to output



XMM-Newton SOC/SSC -- 2004-11-22