Wiki
Version 1 (Thomas Walters, 2011-05-20 03:35 pm)
| 1 | 1 | Thomas Walters | h1. An Introduction to AIM92 |
|---|---|---|---|
| 2 | 1 | Thomas Walters | |
| 3 | 1 | Thomas Walters | This is the introduction for those wanting to use AIM to process waves |
| 4 | 1 | Thomas Walters | once the software package has been compiled, installed and tested. |
| 5 | 1 | Thomas Walters | The instructions for compiling and installing AIM are in the text file |
| 6 | 1 | Thomas Walters | ReadMe.First in the top directory of the software package. |
| 7 | 1 | Thomas Walters | |
| 8 | 1 | Thomas Walters | |
| 9 | 1 | Thomas Walters | CONTENTS |
| 10 | 1 | Thomas Walters | |
| 11 | 1 | Thomas Walters | I. Overview of Aim: A description based on Patterson, Allerhand and |
| 12 | 1 | Thomas Walters | Giguere (1995). It illustrates the instructions used to display waves |
| 13 | 1 | Thomas Walters | and produce the auditory representations shown in Figures 2 and 3 of |
| 14 | 1 | Thomas Walters | the paper. |
| 15 | 1 | Thomas Walters | |
| 16 | 1 | Thomas Walters | II. aimdemo_* Scripts: A selection of demonstrations that illustrate |
| 17 | 1 | Thomas Walters | the range of auditory representations produced by AIM. A complete list |
| 18 | 1 | Thomas Walters | of demonstrations is contained in docs/aimDemonstrations. |
| 19 | 1 | Thomas Walters | |
| 20 | 1 | Thomas Walters | III. Overview of Documentation: A brief description of the |
| 21 | 1 | Thomas Walters | documentation available and how to access it. This information is also |
| 22 | 1 | Thomas Walters | available in docs/aimDocumentation. |
| 23 | 1 | Thomas Walters | |
| 24 | 1 | Thomas Walters | IV. Setting Up Paths for AIM and manaim: The modifications to pathnames |
| 25 | 1 | Thomas Walters | required to make the AIM instructions and on-line help facilites |
| 26 | 1 | Thomas Walters | available from all the user's directories. This information is also |
| 27 | 1 | Thomas Walters | available in docs/aimPaths. |
| 28 | 1 | Thomas Walters | |
| 29 | 1 | Thomas Walters | |
| 30 | 1 | Thomas Walters | |
| 31 | 1 | Thomas Walters | ______________________________________________________________________ |
| 32 | 1 | Thomas Walters | |
| 33 | 1 | Thomas Walters | I. OVERVIEW OF AIM (THE AUDITORY IMAGE MODEL) |
| 34 | 1 | Thomas Walters | |
| 35 | 1 | Thomas Walters | The Section presents a brief tour of the facilities in AIM based on a |
| 36 | 1 | Thomas Walters | Letter to the Editor announcing the release of AIM in the Journal of |
| 37 | 1 | Thomas Walters | the Acoustical Society of America (1995). It introduces the three |
| 38 | 1 | Thomas Walters | auditory representations that AIM was originally developed to simulate |
| 39 | 1 | Thomas Walters | -- basilar membrane motion (BMM), neural activty patterns (NAPs), and |
| 40 | 1 | Thomas Walters | stabilised auditory images (SAIs). It also introduces the main |
| 41 | 1 | Thomas Walters | features of the software platform by example; they are the |
| 42 | 1 | Thomas Walters | instructions and options that control the simulations and the displays |
| 43 | 1 | Thomas Walters | that present the results. |
| 44 | 1 | Thomas Walters | |
| 45 | 1 | Thomas Walters | |
| 46 | 1 | Thomas Walters | A. Time-Domain Modelling Of Peripheral Auditory Processing: |
| 47 | 1 | Thomas Walters | A Modular architecture and a Software Platform |
| 48 | 1 | Thomas Walters | |
| 49 | 1 | Thomas Walters | The text of the Letter is in PAG95.doc in aim/docs. Figure 1 of the |
| 50 | 1 | Thomas Walters | paper is a schematic of the architecture of the auditory image |
| 51 | 1 | Thomas Walters | model. It was produced with a drawing package entirely separate from |
| 52 | 1 | Thomas Walters | the AIM software package. A postscript version of Figure 1 is |
| 53 | 1 | Thomas Walters | contained in PAG95_F1.ps. It can be viewed with a postscript previewer |
| 54 | 1 | Thomas Walters | like ghostview. |
| 55 | 1 | Thomas Walters | |
| 56 | 1 | Thomas Walters | The demonstrations are based on the wave for the word 'hat' which is |
| 57 | 1 | Thomas Walters | stored in the file 'hat' with 'little-endian' byte order. (This is the |
| 58 | 1 | Thomas Walters | order used in DEC, IBM, and SGI machines.) A byte reversed version |
| 59 | 1 | Thomas Walters | with 'big-endian' order is provided in 'hat_br'. (This is the order |
| 60 | 1 | Thomas Walters | used in SUN, and HP machines.) |
| 61 | 1 | Thomas Walters | |
| 62 | 1 | Thomas Walters | For an automated tour type |
| 63 | 1 | Thomas Walters | |
| 64 | 1 | Thomas Walters | > aimdemo_hat or |
| 65 | 1 | Thomas Walters | > aimdemo_hat_br |
| 66 | 1 | Thomas Walters | |
| 67 | 1 | Thomas Walters | depending on the byte order of your machine. |
| 68 | 1 | Thomas Walters | |
| 69 | 1 | Thomas Walters | |
| 70 | 1 | Thomas Walters | Alternately, you can Execute the instructions individually on the |
| 71 | 1 | Thomas Walters | command line. |
| 72 | 1 | Thomas Walters | |
| 73 | 1 | Thomas Walters | |
| 74 | 1 | Thomas Walters | B. Displaying Waves Prior to Auditory Analysis: |
| 75 | 1 | Thomas Walters | |
| 76 | 1 | Thomas Walters | Waves can be displayed using the initial module of AIM, genwav. |
| 77 | 1 | Thomas Walters | |
| 78 | 1 | Thomas Walters | For a display of the complete hat file, use |
| 79 | 1 | Thomas Walters | |
| 80 | 1 | Thomas Walters | > genwav samplerate=22.05kHz top=2500 bottom=-2500 input=hat |
| 81 | 1 | Thomas Walters | |
| 82 | 1 | Thomas Walters | To restrict the display to the portion of the file with the 'hat' |
| 83 | 1 | Thomas Walters | sound wave, use |
| 84 | 1 | Thomas Walters | |
| 85 | 1 | Thomas Walters | > genwav samplerate=22.05kHz start=110 leng=230 top=2500 bottom=-2500 input=hat |
| 86 | 1 | Thomas Walters | |
| 87 | 1 | Thomas Walters | For the BMMs in Figures 2a and 3a, and the NAPs in Figures 2b and 3b, |
| 88 | 1 | Thomas Walters | we want to restrict the analysis AIM performs to a stationary segment |
| 89 | 1 | Thomas Walters | of the vowel which is 32 ms in duration and which starts just before a |
| 90 | 1 | Thomas Walters | glottal pulse. Such a segment can be displayed with |
| 91 | 1 | Thomas Walters | |
| 92 | 1 | Thomas Walters | > genwav samplerate=22.05kHz start=182 leng=32 top=2500 bottom=-2500 input=hat |
| 93 | 1 | Thomas Walters | |
| 94 | 1 | Thomas Walters | |
| 95 | 1 | Thomas Walters | C. The Three Main Auditory Representations Produced by AIM |
| 96 | 1 | Thomas Walters | |
| 97 | 1 | Thomas Walters | The remainder of this Section presents the AIM instructions used to |
| 98 | 1 | Thomas Walters | convert the wave for the word 'hat' into the auditory representations |
| 99 | 1 | Thomas Walters | of the sound presented in the individual panels of Figures 2 and 3 of |
| 100 | 1 | Thomas Walters | the paper (BMMs, NAPs and auditory images). |
| 101 | 1 | Thomas Walters | |
| 102 | 1 | Thomas Walters | Figure 2: The functional version of AIM (panels a, b and c): |
| 103 | 1 | Thomas Walters | |
| 104 | 1 | Thomas Walters | a> genbmm samplerate=22.05kHz start=182 leng=32 top=600 bot=-600 input=hat |
| 105 | 1 | Thomas Walters | |
| 106 | 1 | Thomas Walters | b> gennap samplerate=22.05kHz start=182 leng=32 top=5000 input=hat |
| 107 | 1 | Thomas Walters | |
| 108 | 1 | Thomas Walters | c> gensai samplerate=22.05kHz start=112 leng=100 top=2000 napdecay=3 input=hat |
| 109 | 1 | Thomas Walters | |
| 110 | 1 | Thomas Walters | |
| 111 | 1 | Thomas Walters | Figure 3: The physiological version of AIM (panels a, b and c): |
| 112 | 1 | Thomas Walters | |
| 113 | 1 | Thomas Walters | a> genbmm filter=tlf start=182 leng=32 samplerate=22.05kHz top=600 bot=-600 input=hat |
| 114 | 1 | Thomas Walters | |
| 115 | 1 | Thomas Walters | b> gennap compress=off transduction=med start=182 leng=32 samplerate=22.05kHz top=5000 input=hat |
| 116 | 1 | Thomas Walters | |
| 117 | 1 | Thomas Walters | c> The correlogram version of the auditory image is produced by |
| 118 | 1 | Thomas Walters | generating a NAP of the sound, converting it into a correlogram with |
| 119 | 1 | Thomas Walters | acgram, and then displaying it with the facilites in the auditory |
| 120 | 1 | Thomas Walters | image module, gensai. The instruction sequence is as follows: |
| 121 | 1 | Thomas Walters | |
| 122 | 1 | Thomas Walters | > genasi filter=tlf compress=off transduction=med leng=100 samplerate=22.05kHz output=on |
| 123 | 1 | Thomas Walters | > acgram start=36ms wid=64ms lag=32ms norm=off frames=1 scale=.000002 hat.nap > hat_acg.sai |
| 124 | 1 | Thomas Walters | > gensai -useprevious start=0 top=3000 input=hat_acg |
| 125 | 1 | Thomas Walters | |
| 126 | 1 | Thomas Walters | |
| 127 | 1 | Thomas Walters | |
| 128 | 1 | Thomas Walters | ________________________________________________________________________ |
| 129 | 1 | Thomas Walters | |
| 130 | 1 | Thomas Walters | II. AIMDEMO_* SCRIPTS |
| 131 | 1 | Thomas Walters | |
| 132 | 1 | Thomas Walters | The following is a list of demonstration scripts available to |
| 133 | 1 | Thomas Walters | illustrate the operation of AIM and the different auditory |
| 134 | 1 | Thomas Walters | representations that it produces. The scripts are stored in |
| 135 | 1 | Thomas Walters | [aimdirectory]/scripts. |
| 136 | 1 | Thomas Walters | |
| 137 | 1 | Thomas Walters | The syntax for the demos can be obtained by typing |
| 138 | 1 | Thomas Walters | |
| 139 | 1 | Thomas Walters | > aimdemo_???_??? help |
| 140 | 1 | Thomas Walters | |
| 141 | 1 | Thomas Walters | where '???_???' is one of the extensions listed below. The simplest |
| 142 | 1 | Thomas Walters | way to begin is to copy the wave file "cegc" from the waves directory |
| 143 | 1 | Thomas Walters | to the current working directory, and type |
| 144 | 1 | Thomas Walters | |
| 145 | 1 | Thomas Walters | > aimdemo_tlf_all cegc |
| 146 | 1 | Thomas Walters | |
| 147 | 1 | Thomas Walters | NOTE: The byte order for cegc is "little endian" (used by DEC, |
| 148 | 1 | Thomas Walters | IBM and SGI machines). A byte reversed version with "big-endian" |
| 149 | 1 | Thomas Walters | order is the wave "cegc_br". (This is the order used in SUN and HP |
| 150 | 1 | Thomas Walters | machines.) |
| 151 | 1 | Thomas Walters | |
| 152 | 1 | Thomas Walters | The sound in cegc is a set of stationary and gliding click trains that |
| 153 | 1 | Thomas Walters | play a lazy major triad (C-E-G) and its octave (C) over 2.1 sec. The |
| 154 | 1 | Thomas Walters | click train at the start (C) is a particularly useful test and demo |
| 155 | 1 | Thomas Walters | stimulus. |
| 156 | 1 | Thomas Walters | |
| 157 | 1 | Thomas Walters | Once one or two of the aimdemos have been shown to work with cegc, you |
| 158 | 1 | Thomas Walters | should be in a position to try them on your own waves. |
| 159 | 1 | Thomas Walters | |
| 160 | 1 | Thomas Walters | |
| 161 | 1 | Thomas Walters | |
| 162 | 1 | Thomas Walters | I. The Funcional Version of AIM: |
| 163 | 1 | Thomas Walters | |
| 164 | 1 | Thomas Walters | |
| 165 | 1 | Thomas Walters | 1. aimdemo_gtf_all <wave_file> |
| 166 | 1 | Thomas Walters | |
| 167 | 1 | Thomas Walters | This script illustrates all stages of the functional version of AIM |
| 168 | 1 | Thomas Walters | using the "auditory route". It focuses on landscape displays and |
| 169 | 1 | Thomas Walters | the instructions involved are: |
| 170 | 1 | Thomas Walters | |
| 171 | 1 | Thomas Walters | genwav (display input waveform), |
| 172 | 1 | Thomas Walters | genstp (generate stapes velocity), |
| 173 | 1 | Thomas Walters | genbmm (generate basilar membrane motion), |
| 174 | 1 | Thomas Walters | gennap (generate neural activity pattern), |
| 175 | 1 | Thomas Walters | gensai (generate stabilized auditory image) and |
| 176 | 1 | Thomas Walters | genspl (generate spiral version of auditory image). |
| 177 | 1 | Thomas Walters | |
| 178 | 1 | Thomas Walters | |
| 179 | 1 | Thomas Walters | 2. aimdemo_gtf_sai <wave_file> |
| 180 | 1 | Thomas Walters | |
| 181 | 1 | Thomas Walters | This script presents the wave in <wave_file> using genwav, and |
| 182 | 1 | Thomas Walters | then produces its rectangular auditory image using gensai. It is |
| 183 | 1 | Thomas Walters | the simplest auditory image demo. |
| 184 | 1 | Thomas Walters | |
| 185 | 1 | Thomas Walters | |
| 186 | 1 | Thomas Walters | 3. aimdemo_gtf_spectra <wave_file> |
| 187 | 1 | Thomas Walters | |
| 188 | 1 | Thomas Walters | This script illustrates the functional version of AIM using the |
| 189 | 1 | Thomas Walters | "spectral route". It focuses on spactral displays and the |
| 190 | 1 | Thomas Walters | instructions involved are: |
| 191 | 1 | Thomas Walters | |
| 192 | 1 | Thomas Walters | genwav (display input waveform), |
| 193 | 1 | Thomas Walters | genasa (generate auditory spectral analysis), and |
| 194 | 1 | Thomas Walters | genepn (generate excitation pattern) |
| 195 | 1 | Thomas Walters | |
| 196 | 1 | Thomas Walters | |
| 197 | 1 | Thomas Walters | 4. aimdemo_gtf_2dat <wave_file> |
| 198 | 1 | Thomas Walters | |
| 199 | 1 | Thomas Walters | The script illustrates 2-dimensional adaptive-thresholding |
| 200 | 1 | Thomas Walters | (2D-AT) using genwav, genstp, genbmm and finally gennap. |
| 201 | 1 | Thomas Walters | |
| 202 | 1 | Thomas Walters | |
| 203 | 1 | Thomas Walters | |
| 204 | 1 | Thomas Walters | II. The Physiological Version of AIM: |
| 205 | 1 | Thomas Walters | |
| 206 | 1 | Thomas Walters | |
| 207 | 1 | Thomas Walters | 1. aimdemo_tlf_all <wave_file> |
| 208 | 1 | Thomas Walters | |
| 209 | 1 | Thomas Walters | This demo script illustrates the entire physiological |
| 210 | 1 | Thomas Walters | version of AIM using the "auditory route". It uses the |
| 211 | 1 | Thomas Walters | transmission-line filterbank (option filter=tlf) and the Meddis |
| 212 | 1 | Thomas Walters | neural transduction module (option transduction=Meddis). The |
| 213 | 1 | Thomas Walters | instructions involved are: |
| 214 | 1 | Thomas Walters | |
| 215 | 1 | Thomas Walters | genwav (display input waveform), |
| 216 | 1 | Thomas Walters | genstp (generate stapes velocity), |
| 217 | 1 | Thomas Walters | genbmm (generate basilar membrane motion), |
| 218 | 1 | Thomas Walters | gennap (generate neural activity pattern), |
| 219 | 1 | Thomas Walters | acgram (generate autocorrelogram). |
| 220 | 1 | Thomas Walters | |
| 221 | 1 | Thomas Walters | |
| 222 | 1 | Thomas Walters | 2. aimdemo_tlf_med <wave_file> |
| 223 | 1 | Thomas Walters | |
| 224 | 1 | Thomas Walters | The script illustrates the Meddis Haircell module. The AIM |
| 225 | 1 | Thomas Walters | functions involved are genwav, genbmm and gennap. |
| 226 | 1 | Thomas Walters | |
| 227 | 1 | Thomas Walters | |
| 228 | 1 | Thomas Walters | 3. aimdemo_tlf_spectra <wave_file> |
| 229 | 1 | Thomas Walters | |
| 230 | 1 | Thomas Walters | This script illustrates the "spectral route" through the |
| 231 | 1 | Thomas Walters | physiological version of AIM. It focuses on spectral displays and |
| 232 | 1 | Thomas Walters | the instructions involved are genwav, genasa and genepn. |
| 233 | 1 | Thomas Walters | |
| 234 | 1 | Thomas Walters | |
| 235 | 1 | Thomas Walters | 4. aimdemo_tlf_lowhigh <wave_file> |
| 236 | 1 | Thomas Walters | |
| 237 | 1 | Thomas Walters | This script illustrates the level dependancies in the physiological |
| 238 | 1 | Thomas Walters | version of AIM, and its ability to simulate cochlear damage. The |
| 239 | 1 | Thomas Walters | instructions involved are: |
| 240 | 1 | Thomas Walters | |
| 241 | 1 | Thomas Walters | genwav [display input wave], |
| 242 | 1 | Thomas Walters | genbmm [cochlea level = 30dB], |
| 243 | 1 | Thomas Walters | genbmm [cochlea level = 90dB], |
| 244 | 1 | Thomas Walters | gennap [Normal cochlea + Meddis high spont-rate fibre] and |
| 245 | 1 | Thomas Walters | genasa [total OHC destruction, with no feedback] |
| 246 | 1 | Thomas Walters | Note: - very poor frequency resolution. |
| 247 | 1 | Thomas Walters | |
| 248 | 1 | Thomas Walters | |
| 249 | 1 | Thomas Walters | |
| 250 | 1 | Thomas Walters | ________________________________________________________________________ |
| 251 | 1 | Thomas Walters | |
| 252 | 1 | Thomas Walters | III. OVERVIEW OF DOCUMENTATION |
| 253 | 1 | Thomas Walters | |
| 254 | 1 | Thomas Walters | |
| 255 | 1 | Thomas Walters | An introduction to the Documentation for the Auditory Image Model of |
| 256 | 1 | Thomas Walters | Peripheral Auditory Processing |
| 257 | 1 | Thomas Walters | |
| 258 | 1 | Thomas Walters | |
| 259 | 1 | Thomas Walters | A. Initial Contact Points and Aquisition of the Software Package |
| 260 | 1 | Thomas Walters | |
| 261 | 1 | Thomas Walters | |
| 262 | 1 | Thomas Walters | 1. WWW Page. |
| 263 | 1 | Thomas Walters | |
| 264 | 1 | Thomas Walters | Address: http://www.mrc-apu.cam.ac.uk/aim/ |
| 265 | 1 | Thomas Walters | |
| 266 | 1 | Thomas Walters | An overview of AIM on the internet with facilities for acquiring |
| 267 | 1 | Thomas Walters | the software package. |
| 268 | 1 | Thomas Walters | |
| 269 | 1 | Thomas Walters | |
| 270 | 1 | Thomas Walters | 2. Journal reference. |
| 271 | 1 | Thomas Walters | |
| 272 | 1 | Thomas Walters | The software package is described in a recent article entitled |
| 273 | 1 | Thomas Walters | |
| 274 | 1 | Thomas Walters | "Time-domain modelling of peripheral auditory processing: |
| 275 | 1 | Thomas Walters | A modular architecture and a software platform" |
| 276 | 1 | Thomas Walters | |
| 277 | 1 | Thomas Walters | by Roy D. Patterson and Mike H. Allerhand and Christian Giguere, |
| 278 | 1 | Thomas Walters | Journal of the Acoustical Society of America, 1995 (in press). |
| 279 | 1 | Thomas Walters | |
| 280 | 1 | Thomas Walters | The text of the article is stored in [aim]/docs/PAG95.doc |
| 281 | 1 | Thomas Walters | |
| 282 | 1 | Thomas Walters | |
| 283 | 1 | Thomas Walters | 3. ftp instructions: |
| 284 | 1 | Thomas Walters | |
| 285 | 1 | Thomas Walters | The instructions for obtaining AIM by ftp are stored in |
| 286 | 1 | Thomas Walters | [aim]/docs/ftp.doc |
| 287 | 1 | Thomas Walters | |
| 288 | 1 | Thomas Walters | |
| 289 | 1 | Thomas Walters | |
| 290 | 1 | Thomas Walters | B. Installation and Test |
| 291 | 1 | Thomas Walters | |
| 292 | 1 | Thomas Walters | 1. ReadMe.First |
| 293 | 1 | Thomas Walters | |
| 294 | 1 | Thomas Walters | This document appears in top directory of aim when the aim.tar file is |
| 295 | 1 | Thomas Walters | unpacked. It is the same file as that in the ftp directory |
| 296 | 1 | Thomas Walters | /pub/aim. It contains the instructions for compiling AIM, testing |
| 297 | 1 | Thomas Walters | the installation, and setting up paths to the instructions, the |
| 298 | 1 | Thomas Walters | aimtools, and the online documentation (manual pages accessed |
| 299 | 1 | Thomas Walters | through 'manaim'). |
| 300 | 1 | Thomas Walters | |
| 301 | 1 | Thomas Walters | |
| 302 | 1 | Thomas Walters | |
| 303 | 1 | Thomas Walters | C. Introduction to the Operation of AIM |
| 304 | 1 | Thomas Walters | |
| 305 | 1 | Thomas Walters | |
| 306 | 1 | Thomas Walters | 1. bin/ReadMe |
| 307 | 1 | Thomas Walters | |
| 308 | 1 | Thomas Walters | This is the initial ReadMe file for those wanting to use AIM once it |
| 309 | 1 | Thomas Walters | has been installed and tested. It begins with a guided tour of AIM and |
| 310 | 1 | Thomas Walters | then describes the user documentation and where to find it. |
| 311 | 1 | Thomas Walters | |
| 312 | 1 | Thomas Walters | |
| 313 | 1 | Thomas Walters | 2. Introduction to AIM instructions: docs/aimInstructions |
| 314 | 1 | Thomas Walters | |
| 315 | 1 | Thomas Walters | An introduction to the instructions and command-line options used to |
| 316 | 1 | Thomas Walters | control the auditory model is stored in docs/aimInstructions. |
| 317 | 1 | Thomas Walters | The instructions have the form gen???. The command 'gen -help | more' |
| 318 | 1 | Thomas Walters | lists the three letter combinations that may replace ??? and |
| 319 | 1 | Thomas Walters | briefly describes the operations they invoke. |
| 320 | 1 | Thomas Walters | |
| 321 | 1 | Thomas Walters | |
| 322 | 1 | Thomas Walters | 3. AIM on-line help: gen??? -help |
| 323 | 1 | Thomas Walters | |
| 324 | 1 | Thomas Walters | The instruction 'gen -help | more' lists the AIM instructions. |
| 325 | 1 | Thomas Walters | |
| 326 | 1 | Thomas Walters | The instructions have the form 'gen??? -options <file_name>'. |
| 327 | 1 | Thomas Walters | |
| 328 | 1 | Thomas Walters | The final three letters of the AIM instruction specify the point |
| 329 | 1 | Thomas Walters | in the system where the user chooses to observe the output. |
| 330 | 1 | Thomas Walters | Instructions of the form 'gen??? -help' cause AIM to list the |
| 331 | 1 | Thomas Walters | options that control AIM up to that output point along with a brief |
| 332 | 1 | Thomas Walters | description of the option and its current and default value. |
| 333 | 1 | Thomas Walters | |
| 334 | 1 | Thomas Walters | |
| 335 | 1 | Thomas Walters | 4. Manual pages for AIM instructions: manaim gen??? |
| 336 | 1 | Thomas Walters | |
| 337 | 1 | Thomas Walters | The documentation for each instruction and its options is |
| 338 | 1 | Thomas Walters | provided in standard manual pages accessed by instructions of the |
| 339 | 1 | Thomas Walters | form 'manaim gen???'. Begin with 'manaim genwav' which describes |
| 340 | 1 | Thomas Walters | non-auditory options such as those for the AIM display and for |
| 341 | 1 | Thomas Walters | the input and output files. |
| 342 | 1 | Thomas Walters | |
| 343 | 1 | Thomas Walters | A complete listing of the AIM instructions is included in the listing |
| 344 | 1 | Thomas Walters | produced by the instruction 'manaim -k all | more'. |
| 345 | 1 | Thomas Walters | |
| 346 | 1 | Thomas Walters | Manual pages can be printed with commands of the form |
| 347 | 1 | Thomas Walters | 'manaim gen??? | lpr'. |
| 348 | 1 | Thomas Walters | |
| 349 | 1 | Thomas Walters | |
| 350 | 1 | Thomas Walters | 5. Manual pages for AIM tools: manaim <aimtool_name> |
| 351 | 1 | Thomas Walters | |
| 352 | 1 | Thomas Walters | The software package includes a set of 'aimtools' for generating |
| 353 | 1 | Thomas Walters | and manipulating input waves, and for processing the multi-channel, |
| 354 | 1 | Thomas Walters | multi-frame output of AIM. |
| 355 | 1 | Thomas Walters | |
| 356 | 1 | Thomas Walters | There are manual pages for the aimtools accessed by instructions of |
| 357 | 1 | Thomas Walters | the form 'manaim <aimtool_name>'. |
| 358 | 1 | Thomas Walters | |
| 359 | 1 | Thomas Walters | A complete listing of the aimtools is included in the listing |
| 360 | 1 | Thomas Walters | produced by the instruction 'manaim -k all | more'. |
| 361 | 1 | Thomas Walters | |
| 362 | 1 | Thomas Walters | |
| 363 | 1 | Thomas Walters | |
| 364 | 1 | Thomas Walters | D. Additional Facilities |
| 365 | 1 | Thomas Walters | |
| 366 | 1 | Thomas Walters | |
| 367 | 1 | Thomas Walters | 1. Silent Options: docs/aimSilentOptions |
| 368 | 1 | Thomas Walters | |
| 369 | 1 | Thomas Walters | AIM includes a number of 'silent options' that are occassionally |
| 370 | 1 | Thomas Walters | useful but not sufficiently important to warrant positions on the |
| 371 | 1 | Thomas Walters | options lists produced by the on-line help (gen??? -help). |
| 372 | 1 | Thomas Walters | |
| 373 | 1 | Thomas Walters | A list of the silent options is provided in docs/aimSilentOptions |
| 374 | 1 | Thomas Walters | |
| 375 | 1 | Thomas Walters | |
| 376 | 1 | Thomas Walters | 2. File Formats: docs/aimFileFormats |
| 377 | 1 | Thomas Walters | |
| 378 | 1 | Thomas Walters | A description of the layout of information in the output files |
| 379 | 1 | Thomas Walters | produced by AIM is presented in docs/aimFileFormats |
| 380 | 1 | Thomas Walters | |
| 381 | 1 | Thomas Walters | |
| 382 | 1 | Thomas Walters | |
| 383 | 1 | Thomas Walters | 3. AIM list: mail aim@mrc-apu.cam.ac.uk |
| 384 | 1 | Thomas Walters | |
| 385 | 1 | Thomas Walters | An email list for AIM users has been set up. The instructions for |
| 386 | 1 | Thomas Walters | joining and retiring from the mail list are presented in |
| 387 | 1 | Thomas Walters | docs/aimMailList. |
| 388 | 1 | Thomas Walters | |
| 389 | 1 | Thomas Walters | Note that the list is not moderated. It is a facility whereby users |
| 390 | 1 | Thomas Walters | can communicate for their mutual benefit rather than a question |
| 391 | 1 | Thomas Walters | answering facility provided by the software developers. |
| 392 | 1 | Thomas Walters | |
| 393 | 1 | Thomas Walters | |
| 394 | 1 | Thomas Walters | |
| 395 | 1 | Thomas Walters | ______________________________________________________________________ |
| 396 | 1 | Thomas Walters | |
| 397 | 1 | Thomas Walters | IV. SETTING UP PATHS FOR AIM AND MANAIM: |
| 398 | 1 | Thomas Walters | |
| 399 | 1 | Thomas Walters | |
| 400 | 1 | Thomas Walters | As with all applications, the use of AIM is greatly assisted by the |
| 401 | 1 | Thomas Walters | setting up of appropriate pathnames for the executables and on-line |
| 402 | 1 | Thomas Walters | help. |
| 403 | 1 | Thomas Walters | |
| 404 | 1 | Thomas Walters | In the following ${DIR} is the pathname of the directory in which AIM is |
| 405 | 1 | Thomas Walters | installed in your file system. For example this might be: /usr/local/aim |
| 406 | 1 | Thomas Walters | |
| 407 | 1 | Thomas Walters | |
| 408 | 1 | Thomas Walters | A. Executables |
| 409 | 1 | Thomas Walters | |
| 410 | 1 | Thomas Walters | The executable files of the model, AIM tools and the script files are located |
| 411 | 1 | Thomas Walters | in the ${DIR}/bin directory. |
| 412 | 1 | Thomas Walters | |
| 413 | 1 | Thomas Walters | If the path name is set to this directory, these programs can be executed |
| 414 | 1 | Thomas Walters | from anywhere in the system. The best thing to do is to set the PATH |
| 415 | 1 | Thomas Walters | variable of the environment to: |
| 416 | 1 | Thomas Walters | |
| 417 | 1 | Thomas Walters | setenv PATH ${DIR}/bin:$PATH |
| 418 | 1 | Thomas Walters | |
| 419 | 1 | Thomas Walters | This can be done in the .login, .profile or any other appropriate start-up |
| 420 | 1 | Thomas Walters | script. |
| 421 | 1 | Thomas Walters | |
| 422 | 1 | Thomas Walters | |
| 423 | 1 | Thomas Walters | B. Manual Pages: |
| 424 | 1 | Thomas Walters | |
| 425 | 1 | Thomas Walters | The `manaim' script prints AIM manual pages with appropriate name in the |
| 426 | 1 | Thomas Walters | Unix man page format. |
| 427 | 1 | Thomas Walters | |
| 428 | 1 | Thomas Walters | If the user wishes to view the man pages through "xman", the |
| 429 | 1 | Thomas Walters | environment variable MANPATH needs to be setup to search the |
| 430 | 1 | Thomas Walters | [aim]/release/man directory along with the other default man |
| 431 | 1 | Thomas Walters | directories. |
| 432 | 1 | Thomas Walters | |
| 433 | 1 | Thomas Walters | Add the directory which contains the AIM manual pages to the MANPATH |
| 434 | 1 | Thomas Walters | in your environment, for example by including the following in your |
| 435 | 1 | Thomas Walters | start-up script: |
| 436 | 1 | Thomas Walters | |
| 437 | 1 | Thomas Walters | setenv MANPATH ${DIR}/man:${MANPATH} |
| 438 | 1 | Thomas Walters | |
| 439 | 1 | Thomas Walters | or, if MANPATH is an undefined variable: |
| 440 | 1 | Thomas Walters | |
| 441 | 1 | Thomas Walters | setenv MANPATH ${DIR}/man |
| 442 | 1 | Thomas Walters | |
| 443 | 1 | Thomas Walters | |
| 444 | 1 | Thomas Walters | For compatibility with systems which do not conventionally use a |
| 445 | 1 | Thomas Walters | MANPATH, the pathname of the AIM pages directory must be the first |
| 446 | 1 | Thomas Walters | pathname in the list. |
| 447 | 1 | Thomas Walters | |
| 448 | 1 | Thomas Walters | The AIM man pages will be appear in the "User Commands" section and |
| 449 | 1 | Thomas Walters | the "Local" section of xman. |