Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.1.0/doc/preferences.ps.gz
Дата изменения: Mon Nov 22 22:39:42 2004
Дата индексирования: Tue Oct 2 09:44:21 2012
Кодировка:

Поисковые слова: integral
XMM-Newton Science Analysis System Page: 1
preferences
November 22, 2004
Abstract
Infrastructure library supporting the concept of task preferences
1 Description
1.1 Concept
In the following the notion of SAS task preference parameters is introduced. A preference parameter, like
an ordinary task parameter (see documentation of package param) is a string-key/value pair through
which the user controls the run time behavior of the task. Unlike the latter however, preference parameters
are user-customizable, i.e., their default values can be changed by each user according to his personal
preferences.
A list of preference parameters that logically belong together can be put in a preference group with a
dedicated name. The name identi es the group and serves as the key of a new group preference. Please
note that this is a recursive de nition: A preference group is a preference parameter, so groups can
contain normal parameters and other groups which in turn can contain other groups and parameters, etc.
The level of nesting is a priori unlimited.
1.2 Usage
A task that possesses preference parameters reads those from a global preference le sas.pref in the
SAS con guration area. Parameters are treated fully optional by the task, hence, if a parameter is not
found, e.g. because the preference le does not exist, a hardcoded default value will be used.
For a rst-time SAS user the preference le does not exist yet but has to be created by running the task
sasprefgen without any arguments on the command line. This will scan the SAS task packet directory
structure along the SAS PATH+SAS DIR path and compile the global le from individual preference les
in the respective task packages.
Unlike ordinary task parameters preference parameters cannot be speci ed on the command line. Their
values are always read from the user-speci c preference le. Any modi cations to this le, like adding,
removing, re-grouping, or changing the values of individual entries will be done by a TBD editor task. 1
It is foreseen that all interactive GUI tasks will comprise the editor as an integral part.
1 Please note: The preferences formalism is experimental and as such the preference editor does not exist yet. At the
moment the only workaround is to edit the preference le with a text editor manually.
xmmsas 20041122 1834-6.1.0

XMM-Newton Science Analysis System Page: 2
References
xmmsas 20041122 1834-6.1.0