Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/7.1.0/doc/statsget.ps.gz
Дата изменения: Mon Jul 9 05:11:00 2007
Дата индексирования: Tue Oct 2 05:30:32 2012
Кодировка:
XMM-Newton Science Analysis System Page: 1
statsget
July 9, 2007
Abstract
Provides statistical information for a list of DAL columns in a particular table.
1 Use
pipeline processing yes
interactive analysis yes
2 Description
This task returns the following statistical information for each column in the list speci ed by the parameter
column, present in the table speci ed by the parameter table:
 The minimum value
 The maximum value
 The mean average
 The root mean squared
 The sum
 The total number of elements considered.
The results are written to the standard output as well as the text le speci ed by the parameter
resultfile.
3 Example
To view the statistics for the TIME column in the table EVENTS of the dataset events.ds:
statsget table=events.ds:EVENTS column='TIME'
To view the statistics for the columns DETX and DETY in the table EVENTS of the dataset events.ds:
statsget table=events.ds:EVENTS column='DETX DETY'
xmmsas 20070708 1801-7.1.0

XMM-Newton Science Analysis System Page: 2
4 Parameters
This section documents the parameters recognized by this task (if any).
Parameter Mand Type Default Constraints
table yes table myset.ds:MYTABLE none
The table containing the columns of interest
column no list of
strings
COLUMN1 COL-
UMN2 COLUMN3
none
The list of columns for which statistical information is required.
result le no le-
name
statistics.txt none
The list of columns for which statistical information is required.
5 Errors
This section documents warnings and errors generated by this task (if any). Note that warnings and
errors can also be generated in the SAS infrastructure libraries, in which case they would not be docu-
mented here. Refer to the index of all errors and warnings available in the HTML version of the SAS
documentation.
invalidColumnName (warning)
The column name does not match any in the speci ed table.
corrective action: Move onto next column in list
6 Input Files
1. A dataset containing a table according to the parameter table, that in turn contains the
columns listed in the parameter column.
7 Output Files
1. A text le listing the resultant statistics for each column.
xmmsas 20070708 1801-7.1.0

XMM-Newton Science Analysis System Page: 3
8 Algorithm
 For each column
{ check if it exists, if not, raise an error and move to next column
{ Compute the statistics, and write it to the standard output and to the output
text file
 End column loop
9 Comments
 None.
References
xmmsas 20070708 1801-7.1.0