Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://xmm.vilspa.esa.es/sas/7.0.0/doc/selectlib/node13.html
Дата изменения: Wed Jun 28 22:42:53 2006
Дата индексирования: Sat Dec 22 11:47:54 2007
Кодировка:
Поисковые слова: http www.astronomy.ru forum index.php topic 4644.0.html
|
XMM-Newton Science Analysis System
selectlib (selectlib-4.68) [xmmsas_20060628_1801-7.0.0]
Meta Index / Home Page / Description
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 -- 2006-06-28