<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=STATISTICS</id>
	<title>STATISTICS - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ice-online.com/index.php?action=history&amp;feed=atom&amp;title=STATISTICS"/>
	<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=STATISTICS&amp;action=history"/>
	<updated>2026-04-14T22:13:25Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.ice-online.com/index.php?title=STATISTICS&amp;diff=801&amp;oldid=prev</id>
		<title>ConvertBot: determines statistics of data file</title>
		<link rel="alternate" type="text/html" href="https://wiki.ice-online.com/index.php?title=STATISTICS&amp;diff=801&amp;oldid=prev"/>
		<updated>2020-04-27T22:05:01Z</updated>

		<summary type="html">&lt;p&gt;determines statistics of data file&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;determines statistics of data file&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;IN&amp;gt;    Input file name&lt;br /&gt;
&amp;lt;MEAN&amp;gt;  Results label for mean.  If complex &amp;lt;MEAN&amp;gt;.r and &amp;lt;MEAN&amp;gt;.i.&lt;br /&gt;
&amp;lt;SDEV&amp;gt;  Results label for standard deviation&lt;br /&gt;
&amp;lt;ELEM&amp;gt;  Results label for number of elements&lt;br /&gt;
&amp;lt;IMEAN&amp;gt; DEPRECATED: use &amp;lt;MEAN&amp;gt;.i&lt;br /&gt;
&amp;lt;MAX&amp;gt;   Results label for maximum value&lt;br /&gt;
&amp;lt;MIN&amp;gt;   Results label for minimum value&lt;br /&gt;
&amp;lt;AMIN&amp;gt;  Results label for abscissa of minimum&lt;br /&gt;
&amp;lt;AMAX&amp;gt;  Results label for abscissa of maximum&lt;br /&gt;
&amp;lt;OMIN&amp;gt;  Results label for offset of minimum&lt;br /&gt;
&amp;lt;OMAX&amp;gt;  Results label for offset of maximum&lt;br /&gt;
&lt;br /&gt;
Keyword Only Parameters:&lt;br /&gt;
  [SUM]    Sum of all values in file&lt;br /&gt;
  [TABLE]  Results label for a table to put all of the results into. The keys&lt;br /&gt;
           of the table will match the tag names given above (i.e. MIN,MAX,&lt;br /&gt;
           OMIN,OMAX,etc). (Added in NeXtMidas 2.1.0)&lt;br /&gt;
&lt;br /&gt;
Legacy Keyword Only Parameters:                          (since NeXtMidas 3.3.0)&lt;br /&gt;
  The following keyword-only parameters match FSTATISTICS in X-Midas and are&lt;br /&gt;
  provided in a deprecated form to aid when porting macros from X-Midas to&lt;br /&gt;
  NeXtMidas. (Note that they must be used in TAG=val form.)&lt;br /&gt;
&lt;br /&gt;
    [STDV]  - same as &amp;lt;SDEV&amp;gt;&lt;br /&gt;
    [MAXV]  - same as &amp;lt;MAX&amp;gt;                               &lt;br /&gt;
    [MINV]  - same as &amp;lt;MIN&amp;gt;                                &lt;br /&gt;
    [MAXI]  - same as &amp;lt;OMAX&amp;gt; [WARNING: zero-based in NeXtMidas]&lt;br /&gt;
    [MINI]  - same as &amp;lt;OMIN&amp;gt; [WARNING: zero-based in NeXtMidas]&lt;br /&gt;
    [MAXA]  - same as &amp;lt;AMAX&amp;gt;&lt;br /&gt;
    [MINA]  - same as &amp;lt;AMIN&amp;gt;&lt;br /&gt;
    [ISUM]  - deprecated, use [SUM].i&lt;br /&gt;
&lt;br /&gt;
Determines for any type 1000 or 2000 data file the number of elements in the&lt;br /&gt;
file and their mean and standard deviation.  These file attributes are output&lt;br /&gt;
to the terminal.  In addition, the quantities computed by the STATISTICS command&lt;br /&gt;
can be entered in the results table.  Results table entries are made only for&lt;br /&gt;
those quantities whose labels are supplied by the user, i.e. if any label is&lt;br /&gt;
not present the corresponding quantity is NOT written into the results file.&lt;br /&gt;
&lt;br /&gt;
For complex format data, &amp;lt;MEAN&amp;gt;.r and &amp;lt;MEAN&amp;gt;.i are available and the standard&lt;br /&gt;
deviation is computed in terms of the magnitude.&lt;br /&gt;
&lt;br /&gt;
(DEPRECATED: use &amp;lt;MEAN&amp;gt;.i) For real and integer format files, &amp;lt;IMEAN&amp;gt; is not&lt;br /&gt;
applicable.  For complex format data, &amp;lt;IMEAN&amp;gt; is also available and the standard&lt;br /&gt;
deviation is computed in terms of the magnitude.&lt;br /&gt;
&lt;br /&gt;
Double precision is used when computing the statistics. Note that X-Midas uses&lt;br /&gt;
a lower precision by default (view the X-Midas explain file for details), this&lt;br /&gt;
often causes X-Midas to pick the less accurate MIN and MAX points (especially&lt;br /&gt;
when using complex numbers).&lt;br /&gt;
&lt;br /&gt;
The results of computing the statics of a file with zero elements is undefined,&lt;br /&gt;
except for the number of elements (ELEM) which will be zero. Also, if the MAX&lt;br /&gt;
or MIN value occurs more than once the offsets will be computed for the first&lt;br /&gt;
occurrence.&lt;br /&gt;
&lt;br /&gt;
If the /PIECEWISE switch is specified, the results are output and reset for&lt;br /&gt;
each transfer lengths worth of data.&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
  * View the statistics of a file.&lt;br /&gt;
    nM&amp;gt; STATISTICS sinewave&lt;br /&gt;
&lt;br /&gt;
  * Put the MIN and MAX values into results named MYMIN and MYMAX.&lt;br /&gt;
    nM&amp;gt; STATISTICS sinewave MIN=MYMIN MAX=MYMAX&lt;br /&gt;
&lt;br /&gt;
  * Print just the MIN and MAX values to the terminal&lt;br /&gt;
    nM&amp;gt; STATISTICS sinewave MIN=TERMINAL MAX=TERMINAL&lt;br /&gt;
&lt;br /&gt;
  * Put the the statistics for a file into a table.&lt;br /&gt;
    nM&amp;gt; STATISTICS sinewave TABLE=MYTABLE&lt;br /&gt;
&lt;br /&gt;
  * Show the statistics of each transfer length in a pipe&lt;br /&gt;
    startmacro&lt;br /&gt;
      ...&lt;br /&gt;
      pipe on&lt;br /&gt;
        ...&lt;br /&gt;
        statistics/tl=4k _temp table=statisticsTab /piecewise&lt;br /&gt;
        ...&lt;br /&gt;
      pipe off&lt;br /&gt;
      ...&lt;br /&gt;
    endmacro&lt;br /&gt;
&lt;br /&gt;
Switches:&lt;br /&gt;
  /ONEBASE - Output OMIN and OMAX using 1-based indexing (like X-Midas).&lt;br /&gt;
             (Added in NeXtMidas 2.1.0)&lt;br /&gt;
  /PIECEWISE - If present, the results are output and reset for each transfer &lt;br /&gt;
               length worth of data.&lt;br /&gt;
  /TL=     - Transfer Length in logical elements &lt;br /&gt;
  /VERBOSE - If ANY output results label are given, output to the screen is&lt;br /&gt;
             suppressed unless this switch is given.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:NXM_Explain]]&lt;/div&gt;</summary>
		<author><name>ConvertBot</name></author>
		
	</entry>
</feed>