Manual Reference Pages - INTEGFRAME (1)
integframe - Integrate gensai frames over time or frequency.
integframe [options] [file]
Read a gensai output file which must have a header. Integrate the whole of every input frame in either time or frequency by averaging the frame across the appropriate dimension. The integration limits for particular frame sequences can be set by limiting the size of input frames using the edframe program prior to integframe. Write each integrated frame on the stdout as an array in the given output data type. The output does not have a header.
The variable option sets the variable of integration. The strings "time" and "frequency" are recognised, (which may be abbreviated back to the first letter if required).
When average=on then the average integrated frame is calculated over all input frames, and this average integrated frame only is written on the stdout as an array in the given output data type.
The output data type. Recognised types include: char, short, int, double, float, ascii. The ascii type means one number string per line of output. The input data type is binary shorts, preceded by a gensai header.
When info=on print the input frame size on the stderr.
1. Integrate the 2nd gensai frame over time from 10ms to 20ms.
gensai output=stdout ... | edframe frame=1 time=10ms-20ms | integframe var=time > ...
2. Integrate the 2nd gensai frame over frequency from channels 5 to 8 inclusive.
gensai output=stdout ... | edframe frame=1 freq=5-8 | integframe var=freq > ...
3. Calculating the average summary gensai frame.
gensai output=stdout ... | integframe var=freq av=on > ...
Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
Permission to use, copy, modify, and distribute this software without fee is hereby granted for research purposes, provided that this copyright notice appears in all copies and in all supporting documentation, and that the software is not redistributed for any fee (except for a nominal shipping charge). Anyone wanting to incorporate all or part of this software in a commercial product must obtain a license from the Medical Research Council.
The MRC makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|SunOS 5.6||INTEGFRAME (1)||1 September 1993|