Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.0.0/doc/rgsimplot/node8.html
Дата изменения: Thu Jun 29 00:39:42 2006
Дата индексирования: Sat Dec 22 10:53:31 2007
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п п п
Algorithm XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


rgsimplot (rgsimplot-1.14.3) [xmmsas_20060628_1801-7.0.0]

Output Files Home Page Comments Home Index

Meta Index / Home Page


Algorithm

   subroutine rgsimplot

   read parameters

   check for hardcopy filename if device requires.

   set up the plotting page and colourmap

   IF spatial and energy--dispersion imageset both available THEN 
        split page.
   END IF	

   IF spatial imageset available

        get a handle on the image dataset
        read observation information keywords
        get a handle on the image array
        read plotting information keywords and set up pgplot transformation matrix
        set up plotting window and viewport
        plot the image
        annotate the plotting axis using plotting information keyword values
        annotate plot with observation information
        
        IF spatial extraction region sets available

             get a handle on the sourcelist dataset 
             look for block containing spatial region for designated sources
             from srcids parameter

             IF block present 
	          
                 if source = srcid parameter

                    plot region in red

                 else 

                    plot region in green

                 end if

             ENDIF

        END IF

    ENDIF


   IF energy--dispersion imageset available

        get a handle on the image dataset
        read observation information keywords
        get a handle on the image array
        read plotting information keywords and set up pgplot transformation matrix
        set up plotting window and viewport
        plot the image
        annotate the plotting axis using plotting information keyword values
        annotate plot with observation information
        
        IF order extraction region sets available

             get a handle on the sourcelist dataset 
             
             FOR EACH  order look for block containing order region for designated source

                 IF block present 
	          
                    if source = srcid parameter

                       plot region in red

                    else 

                       plot region in green

                    end if

                ENDIF

             END FOR

        END IF

    ENDIF

   end subroutine  rgsimplot



XMM-Newton SOC/SSC -- 2006-06-28