Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/doc/selectlib/node13.html
Дата изменения: Mon Jul 9 00:08:51 2007
Дата индексирования: Sat Dec 22 12:05:50 2007
Кодировка:

Поисковые слова: гелиакический заход
Subexpressions in table attributes XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


selectlib (selectlib-4.69) [xmmsas_20070708_1801-7.1.0]

Table column names Description Bitwise operators Home Index

Meta Index / Home Page / Description

Subexpressions in table attributes

Table attributes being referred to in the selection expression via their names preceded by a hash mark ('#') are actually not restricted to contain numeric constants only. In fact the values interpreted as strings can contain anything (including references to other attributes), for instance, to define convenient abbreviations for frequently used constructs. All table attributes will get replaced by their respective values which must yield a valid boolean selection expression. Otherwise a fatal error condition will be raised. Example: If a table contains the attributes:

   RAWXSQ  = '(RAWX-1)**2'             / RAWX squared
   RAWYSQ  = '(RAWY-1)**2'             / RAWY squared
   DIST    = 'sqrt(#RAWXSQ + #RAWYSQ)' / distance from center
   DISTSEL = '#DIST <= 128'            / select events in circle r=128
the selection expression

   #DISTSEL
can be used as an alternative to the full form

   sqrt((RAWX-1)**2 + (RAWY-1)**2) <= 128



XMM-Newton SOC/SSC -- 2007-07-08