comparison man/man1/bufframe.1 @ 0:5242703e91d3 tip

Initial checkin for AIM92 aimR8.2 (last updated May 1997).
author tomwalters
date Fri, 20 May 2011 15:19:45 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:5242703e91d3
1 .TH BUFFRAME 1 "1 September 1993"
2
3 .SH NAME
4 bufframe \- a shifting AIM output frame buffer.
5
6 .SH SYNTAX
7 bufframe [options] [file]
8
9 .SH DESCRIPTION
10
11 The program reads an AIM header and the output from the genbmm (basilar
12 membrane motion) or gennap (neural activity pattern) programs. This is
13 divided into contiguous time frames using the optional arguments and written
14 on the stdout with an
15 appropriate header as if output from the gensai program. This enables
16 genbmm or gennap output to be divided into time frames and replayed as a
17 time-varying cartoon by gensai using the "useprevious" option.
18
19 Certain display parameters have different default values for different
20 applications. The gensai display parameters should be set to the
21 appropriate values, in order to plot the cartoon on the same scale. For
22 example: when the source application is gennap, set gensai top=1000,
23 when the source application is genbmm, set gensai bottom=-100.
24
25
26 .SH OPTIONS
27
28 1. width, frstep.
29
30 The input is divided into frames according to the width option and the
31 frstep option. The width option sets the width of the output frames.
32 The frstep option sets the step or shift between successive output frames.
33 With no units, the values of width and frstep are in samples.
34 Both width and frstep may take time units (s or ms), in which case the values
35 are converted to samples using the given `samplerate' option.
36
37 2. frame.
38
39 A range of sequential frames may be selected for output by:
40
41 .nf
42 frame=a[-b]
43 .fi
44
45 The upper limit `b' is optional, and when it is missing then the range
46 is a single frame, otherwise `a' and `b' are inclusive range limits.
47 The strings "min" and "max" are recognised as extreme limits constrained
48 by the given width and frstep and the input size,
49 otherwise the values of `a' and `b' are frame numbers: 0,1,2,...
50
51 The frame selector may also take time units (s, or ms) to specify frames
52 "closest" to the given time, being the frame number which is the
53 greatest integer multiple of the framestep (frstep) which does not
54 exceed the given time measured from the
55 start of the input file.
56
57 3. Transpose.
58
59 The option flag:
60
61 .nf
62 Transpose=on
63 .fi
64
65 causes a matrix transpose (swap rows and columns) of each output frame.
66 When a frame has a height greater
67 than it's width then setting "Transpose=on" may provide
68 a preferable display orientation. For example, this enables a very narrow
69 (eg. single column) time-slice to be plotted horizontally, so that a
70 time-slice of filterbank output may be plotted as a spectrum on a horizontal
71 frequency axis.
72
73 4. Header.
74
75 The option flag:
76
77 .nf
78 Header=off
79 .fi
80
81 causes the header to be suppressed from the output.
82
83 5. display, animate.
84
85 Most options in the input header are copied to the output header. This
86 enables options which are needed for the eventual display to pass
87 straight through. Some options are set so that they can override the
88 input header. For example, the `display' option is set on to enable
89 display even when input has "display=off". The `animate' option can be set
90 on even when the input has "animate=off".
91
92
93 .SH EXAMPLES
94
95 1. To convert gennap output to multiple animated frames:
96
97 .nf
98 gennap len=16ms display=off output=stdout file1 |
99 bufframe width=8ms frstep=0.2ms anim=on > file2.sai
100 gensai useprev=on top=1000 file2 -(for landscape plot)
101 genspl useprev=on top=1000 pensize=2 file2 -(for spiral plot)
102 .fi
103
104
105 2. To view the basilar membrane from a cross section, animating the waves on it.
106
107 .nf
108 genbmm mincf=220 maxcf=660 len=8ms output=stdout display=off file1 |
109 bufframe width=1p frstep=1p Tran=on display=on anim=on > file2.sai
110 gensai bott=-100 useprev=on mag=.2 file2
111
112 or:
113
114 genbmm mincf=220 maxcf=660 len=32ms output=stdout display=off file1 |
115 bufframe width=1p frstep=1p Tran=on Header=off > file2
116 x11play -n75 -a500 file2
117 .fi
118
119
120 .SH "SEE ALSO"
121 options edframe
122
123 .SH COPYRIGHT
124 .LP
125 Copyright (c) Applied Psychology Unit, Medical Research Council, 1995
126 .LP
127 Permission to use, copy, modify, and distribute this software without fee
128 is hereby granted for research purposes, provided that this copyright
129 notice appears in all copies and in all supporting documentation, and that
130 the software is not redistributed for any fee (except for a nominal
131 shipping charge). Anyone wanting to incorporate all or part of this
132 software in a commercial product must obtain a license from the Medical
133 Research Council.
134 .LP
135 The MRC makes no representations about the suitability of this
136 software for any purpose. It is provided "as is" without express or
137 implied warranty.
138 .LP
139 THE MRC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
140 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
141 THE A.P.U. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES
142 OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
143 WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
144 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
145 SOFTWARE.
146