home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / science / wpl102.arj / WALKTHRU.TXT < prev    next >
Text File  |  1991-04-23  |  31KB  |  912 lines

  1.  
  2.  
  3.  
  4.  
  5.             WPL -- Wavelet Packet Laboratory
  6.  
  7.  
  8.                     Version 1.02
  9.  
  10.  
  11.  
  12.  
  13.                                 WALKTHRU.TXT
  14.  
  15.                  A tutorial walk the user through the WPL program
  16.  
  17.  
  18.  
  19.  
  20. This program is currently Shareware. Please include this notice
  21. in all copies.
  22.  
  23. Any people interested in obtaining the release version should print and
  24. fill out the order form in the file ORDER.FRM.  Registration entitles the
  25. user to technical support and notices of updates to the program.  A
  26. nominal fee of $50 will be charged for duplications costs.  Receipt of
  27. payment will register the user.  The form should be sent to:
  28.  
  29.  
  30.          Wavelet Packet Laboratory
  31.          Digital Diagnostic Corp.
  32.          26 Rossotto Drive
  33.          Hamden, CT 06514
  34.          Phone: (203)-288-9444
  35.          FAX:   (203)-287-8765
  36.  
  37.                  INTERNET: ddc@cs.yale.edu
  38.  
  39.  
  40.  
  41. 1. INTRODUCTION
  42.  
  43. The purpose of this document is to walk first time users through the
  44. WPL program.  The WPL software must be installed before the starting
  45. this example (see read.me for instructions).
  46.  
  47.  
  48. The following conventions are used in this document:
  49.  
  50.   - All keys to be typed in by the user are surrounded in quotes; 
  51.     i.e. "Enter".  If the "Alt", "Shift", or "Ctrl" keys are to be 
  52.     pressed with a key, it is indicated like "Alt F".
  53.  
  54.   - Strings to type are surrounded with single quotes: i.e. `heart.byt'.
  55.  
  56.   - Check marks are indicated by _/.  In WPL, they are displayed with the   
  57.     square rooot character.
  58.  
  59.   - The Go Away button which is displayed on the top left of windows is 
  60.     indicated by the -^- character.  This button is equivalent to pressing 
  61.     the "Esc" key.
  62.  
  63.   - Entries in pull down windows are indicated with | symbols seperating
  64.     the individual menu entry selections; i.e., FILE|OPEN|SIGNAL.
  65.  
  66.   - All descriptions of edit, directory, or selection windows are 
  67.     preceded by the associated menu which appears at the top
  68.     of the screen.
  69.  
  70.   - Menu entries can alternatively be selected by typing the highlighted 
  71.     letters.  The only exception to this rule is that the top main menu 
  72.     entries (FILE...) and menu entries for edit window require that the
  73.     "Alt" key also be pressed.  For example, FILE from the main menu is 
  74.     selected by pressing "Alt F"
  75.  
  76.     
  77.  
  78.  
  79.  
  80.  
  81. 2. STARTING UP WPL
  82.  
  83. WPL is started by typing "WPL" from the \WPL directory.
  84.  
  85. C:\>cd \wpl
  86. C:\WPL>wpl
  87.  
  88. A disclaimer is displayed on the screen.  After reading this screen, 
  89. press the "Enter key".  The Startup Main MENU is then displayed on top 
  90. of the screen.
  91.  
  92. Main MENU: FILE SYSTEM
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99. 3. LOADING AN ASCII SIGNAL FILE
  100.  
  101. 3.1. Getting into the Open Signal Menu
  102.  
  103. Choose File|Open|Signal with the mouse or type "Alt F" and 
  104. "I".  The following edit window will pop up:
  105.  
  106. Open Signal MENU: Names Path Types F12DONE
  107.  
  108.    -^---------OPEN DIRECTORY C:\WPL\*.WPL----------------
  109.   |                                                      |
  110.   |    FILE NAME                .\.WPL                   |
  111.   |    FILE TYPE                Wavelet Packet           |
  112.   |                                                      |
  113.    ------------------------------------------------------
  114.  
  115. The following keys are now valid:
  116.  
  117.    ESC         -- Go back to the Startup MENU
  118.    F12         -- Try to load the file name
  119.    Alt N       -- Load a directory window containing the file names
  120.    Alt P       -- Load a directory window containing the 
  121.               directories on your computer
  122.    ALT T       -- Load a list of valid signal file formats
  123.    Typing Keys -- Enter in a file name
  124.    Enter       -- Register the typed in file name
  125.  
  126.  
  127. 3.2. Select the type of data contained in the file
  128.  
  129. In this case, the file to be loaded will be a Byte file in the
  130. current directory called HEART.BYT.
  131.  
  132. Type "Alt T" to change the FILE TYPE to Byte Format.  A pop up window
  133. will appear which looks like the following:
  134.  
  135.  
  136. Type MENU: F12DONE
  137.  
  138.    -^---FILE TYPES--------
  139.   |_/WPL - Wavelet Packet |
  140.   |  ASC - Ascii Text     |
  141.   |  BYT - Byte Format    |
  142.   |  INT - Integer Format |
  143.    -----------------------
  144.  
  145. The following keys are now valid:
  146.  
  147.    ESC         -- Go back to the edit window
  148.    Up Arrow    -- Move the cursor up
  149.    Down Arrow  -- Move the cursor down
  150.    Enter       -- Select a file type
  151.    F12         -- Set the file type and go back to the edit window
  152.  
  153.  
  154. Click on the BYT - Byte Format selection with the mouse or use the 
  155. arrow keys to position the cursor and then press "Enter".
  156.  
  157. Open Signal MENU: Names Path Types F12DONE
  158.  
  159.    -^----------OPEN DIRECTORY C:\WPL\*.WPL---------------
  160.   |                                                      |
  161.   |    FILE NAME                C:\WPL\.BYT              |
  162.   |    FILE TYPE                Byte Format              |
  163.   |                                                      |
  164.    ------------------------------------------------------
  165.  
  166. 3.3. Select the file from the name directory
  167.  
  168. Type "Alt N" to bring up the names directory.  The following 
  169. directory window will appear:
  170.  
  171. Open Signal MENU: F12DONE
  172.  
  173.    -^----------NAME DIRECTORY C:\WPL\*.WPL---------------
  174.   |heart.byt     sinxcube.byt    ..\                    |
  175.   |                                                     |
  176.    -----------------------------------------------------
  177.  
  178. The following keys are now valid:
  179.  
  180.    Up Arrow    -- Move the cursor up
  181.    Down Arrow  -- Move the cursor down
  182.    Left Arrow  -- Move the cursor Left
  183.    Right Arrow -- Move the cursor Right
  184.    Enter       -- Load a file under the cursor
  185.    F12         -- Load a file under the cursor
  186.    ESC         -- Go back to the Open Signal edit window
  187.  
  188.  
  189. Click on the `heart.byt' selection with mouse or move the cursor 
  190. and type "Enter".  The following Import Window will appear.
  191.  
  192. Import MENU: F12DONE
  193.  
  194.    -^-------------IMPORT PARAMETERS ---------------------
  195.   |                                                      |
  196.   |    SIGNED PIXEL (Y/N)            N                   |
  197.   |    FILE OFFSET (in bytes)        0                   |
  198.   |    TRACE LENGTH (in pixels)     -1                   |
  199.   |    FILE LENGTH (in pixels)      -1                   |
  200.    ------------------------------------------------------
  201. where:
  202.  
  203.   SIGNED PIXEL = If Y then the data has negative values (2's complement).
  204.  
  205.   FILE OFFSET  = Skip over this many bytes of header which may be present
  206.                  in the file
  207.  
  208.   TRACE LENGTH = Used to break up long signals into several small ones
  209.              -1 will load all the points into a single trace.
  210.  
  211.   FILE LENGTH  = Used to limit the amount of points loaded.  -1 will
  212.              not limit the amount of loaded points.
  213.  
  214.  
  215. The following keys are now valid:
  216.  
  217.    Up Arrow    -- Move the cursor up
  218.    Down Arrow  -- Move the cursor down
  219.    Typing Keys -- Enter in data
  220.    Enter       -- Register typed in data
  221.    ESC         -- Go back to the Startup MENU
  222.    F12         -- load the file name
  223.  
  224. Use the cursor and typing keys needed to display the following screen.
  225.  
  226. Import MENU: F12DONE
  227.  
  228.    -^-------------IMPORT PARAMETERS---------------------
  229.   |                                                     |
  230.   |    SIGNED                 Y                         |
  231.   |    OFFSET                 0                         |
  232.   |    TRACE LENGTH         512                         |
  233.   |    FILE LENGTH           -1                         |
  234.    ------------------------------------------------------
  235.  
  236. Once the parameters have been set, type "F12" to load the signal window.
  237. The signal window contains several traces of length 512 from the file 
  238. HEART.ASC. The Main MENU will appear:
  239.  
  240. Main MENU: FILE WINDOW VIEW EDIT CALCULATE TRANSFORM MACRO SYSTEM
  241.  
  242.  
  243.  
  244. 4. PREPARING THE SIGNAL FOR THE WPT TRANSFORM
  245.  
  246. When using the Wavelet Packet Transform, any DC offsets in the signal
  247. will create large spikes in Frequency 0.  In this example, we are
  248. only interested in higher frequencies in the signal, so we will remove
  249. the DC offset.
  250.  
  251. 4.1. Turning on the numeric cursor
  252.  
  253. Choose the VIEW|ANNOTATIONS|NUMERIC CURSOR option with the mouse or
  254. by typing "Alt V" and "C".  The following selection window will
  255. appear:
  256.  
  257. NUMERIC CURSOR  F12DONE
  258.  
  259.    -^--------------------
  260.   |_/Off                |                                     
  261.   |  On                 |        
  262.    ----------------------
  263.  
  264. The following keys are now valid:
  265.  
  266.    Up Arrow    -- Move the cursor up
  267.    Down Arrow  -- Move the cursor down
  268.    Enter       -- Use the setting of the current item
  269.    ESC         -- Go back to the Main MENU without changes
  270.    F12         -- Go back to the Main MENU 
  271.  
  272. Click on the "On" selection with the mouse or use arrow keys to
  273. position the cursor and press the "Enter" key. Press the "F12" key
  274. and the following information will appear on the bottom of the window:
  275.  
  276. Cursor:[    58] at (000,000)
  277.  
  278. 4.2.  Move to the desired signal
  279.  
  280. In this example, the seventh signal from the top (Trace 7) will be used.  
  281.  
  282. Move the cursor to this trace by clicking on this trace with the 
  283. mouse or by pressing the "Down Arrow" key seven times.
  284.  
  285. The following information will appear at the bottom of the signal window:
  286.  
  287. Cursor:[    165] at (000,007)
  288.  
  289. 4.3. Determine the value of the DC offset (the average value)
  290.  
  291. Choose the VIEW|ANNOTATIONS|TRACE CONSTANT option with the mouse or by 
  292. typing "Alt V" and "R".  The following selection window will appear:
  293.  
  294. TRACE ANNOTATIONS  F12DONE
  295.  
  296.   -^--------------------
  297.   |  Size                | 
  298.   |  Min                 |                                     
  299.   |  Max                 |                                     
  300.   |  Average             |                                         
  301.   |  Energy              |                                        
  302.   |  Entropy             |                                         
  303.   |  Compression Ratio   | 
  304.   |  Segmentation        |                                              
  305.   |  Status              |                                       
  306.   |  Comment             |                                         
  307.   |All                   |                                    
  308.   |None                  |                                     
  309.    ----------------------
  310.  
  311. where:  
  312.   Size           = Display the trace size
  313.   Min            = Display the trace minimum value and position
  314.   Max            = Display the trace maximum value and position
  315.   Average        = Display the trace average value
  316.   Energy          = Display the energy in the trace, 
  317.                   the energy in subsets,
  318.                               the percentage of the subset energy
  319.   Entropy           = Display the information cost
  320.   Compression Ratio = Display the trace compression ratio
  321.   Level          = Display the level of the transform traces
  322.   Status         = Display the display status of the trace
  323.   Comment        = Display the trace comment
  324.  
  325.   All            = Selects all of the above selections
  326.   None            = Removes any selections
  327.    
  328. The following keys are now valid:
  329.  
  330.    Up Arrow    -- Move the cursor up
  331.    Down Arrow  -- Move the cursor down
  332.    Enter       -- Toggle the selection of the current item
  333.    ESC         -- Go back to the Main MENU without changes
  334.    F12         -- Set up the trace annotations and go back to the Main  
  335.                   MENU 
  336.  
  337. Click on the "All" selection with the mouse or use arrow keys to
  338. position the cursor and press the "Enter" key. Check marks will appear
  339. alongside the items.  Press the "F12" key and the following information 
  340. will appear at the bottom of the signal window:
  341.  
  342.   Cursor:[   165] at (000,007)             Trc Size: [512]     
  343.   Trc Min: [   104] at ( 421,  7)          Trc Max: [   202] at ( 412,  7)
  344.   Trc Average Value: [    155]             Trc Energy: [      ] 
  345.   Subset Energy: [      ]                  Trc Entropy: [      ] 
  346.   Compression Ratio: 0:1                   Level:         
  347.   Scale To Trace     LINEAR                TrcCmnt:       
  348.  
  349. Notice that the average value of the trace is 155.
  350.  
  351.  
  352. 4.4. Subtract the average value 
  353.  
  354. Choose the CALCULATE|SUBTRACT CONSTANT option with the mouse or 
  355. by typing "Alt C" and "U".  The following edit window will pop up:
  356.  
  357. Get Constant MENU: F12DONE
  358.  
  359.    -^------------SUBTRACT CONSTANT-----------------------
  360.   |                                                      |
  361.   |    CONSTANT        0.000000                          |
  362.   |                                                      |
  363.    ------------------------------------------------------
  364.  
  365. The following keys are now valid:
  366.  
  367.    Numeric Keys -- type in a number
  368.    ENTER        -- Enter the number into the constant
  369.    ESC          -- Go back to the Main MENU
  370.    F12          -- Go on to operation Menu
  371.  
  372. Type 155 and press the "Enter" key.  Press the "F12" to display
  373. the following menu:
  374.  
  375. Subtract Constant MENU: Mark Upper Trace  All OPTIONS
  376.  
  377. Select the Options menu by typing "O" and the following pull down
  378. menu will appear:
  379.  
  380. Subtract Constant MENU: Mark Upper Trace   All    OPTIONS
  381.                                                |  RANGE   |  
  382.                                                |_/TRACE   |
  383.                                                |  RECTIFY |
  384.                                                 -----------
  385. where:
  386.    RANGE   = Use a range cursor. 
  387.    TRACE   = Use a trace cursor.
  388.    RECTIFY = Clip all resulting negative numbers at zero.
  389.  
  390. Select the TRACE option with the mouse or by pressing the "T" key.
  391.  
  392. Notice that the menu contains the entry Mark Upper Trace.  Press the
  393. "Enter" key and the menu at the top of the screen will change
  394. to: 
  395.  
  396. Subtract Constant MENU: Mark Lower Trace  All OPTIONS
  397.  
  398. Press the "Enter" key once again and the trace annotations at the bottom
  399.  of the signal window will change to:
  400.  
  401.   Cursor:[    10] at (000,007)             Trc Size: [512]                          
  402.   Trc Min: [   -51] at ( 421,  7)          Trc Max: [    47] at ( 412,  7)          
  403.   Trc Average Value: [    155]             Trc Energy: [      ]                     
  404.   Subset Energy: [      ]                  Trc Entropy: [      ]                    
  405.   Compression Ratio: 0:1                   Level:                                   
  406.   Scale To Trace     LINEAR                TrcCmnt:     
  407.  
  408. Press "Esc" to get back to the main menu.
  409.  
  410.  
  411. Notice that the average value of the trace is now 0.
  412.  
  413.  
  414.  
  415. 5. USING THE WPT TRANSFORM
  416. -----------------------
  417.  
  418. 5.1. Go to the WPT menu
  419.  
  420. Choose the TRANSFORM|WPT menu entry with the mouse or by typing "Alt T"
  421. and "W".  The following menu will appear at the top of the screen:
  422.  
  423. WPT MENU: Mark Upper Trace   ALL  PARAMETERS
  424.  
  425. The following keys are now valid:
  426.  
  427.    Up Arrow    -- Move the cursor up
  428.    Down Arrow  -- Move the cursor down
  429.    Enter       -- Mark the upper and lower traces to transform
  430.    A           -- Perform WPT on all traces in the signal
  431.    P           -- Edit the WPT Parameters
  432.    ESC         -- Go back to the Main MENU
  433.  
  434.  
  435. 5.1. Select a wavelet
  436.  
  437. For this example, the D8 wavelet will be used.
  438.  
  439. Select the PARAMETERS option with the mouse or by typing "P".  The 
  440. following edit window will appear:
  441.  
  442.  
  443. WPT Parameters MENU: View Wavelets F12DONE
  444.  
  445.  -^------WAVELET PARAMETERS--------
  446. |                                  |
  447. | WAVELET TYPE      C6             |
  448. |                                  |
  449. | MAXIMUM LEVEL      8             |
  450. |                                  |
  451.  ----------------------------------
  452.  
  453. where:
  454.   WAVELET TYPE  = the name of the wavelet (uppercase letters only)
  455.   MAXIMUM LEVEL = the max. number of transforms generated in the tableau
  456.  
  457. The following keys are now valid:
  458.    Up Arrow    -- Move the cursor up
  459.    Down Arrow  -- Move the cursor down
  460.    Typing Keys -- Enter in data
  461.    Enter       -- Register typed in data
  462.    V           -- View wavelets if the cursor is on the WAVELET PARAMETERS
  463.    ESC         -- Go back to the Main MENU without any changes
  464.    F12         -- Use the parameters and go back the WPT menu.
  465.  
  466.  
  467. Choose View Parameters with the mouse or by pressing the "V" key.
  468.  
  469. A window will appear with several waveforms in it.  These are the
  470. wavelets and they are labeled on the left of each wavelet.
  471.  
  472. The following keys are now valid:
  473.  
  474.    Up Arrow     -- Move the cursor up
  475.    Down Arrow   -- Move the cursor down
  476.    ENTER    -- Select the current wavelet
  477.    ESC          -- Go back to the Main MENU with selecting wavelet
  478.    F12          -- Use the selected wavelet and go back the parameters
  479.                    menu.
  480.  
  481. Click on the D8 wavelet selection with the mouse or use the arrow keys
  482. and press "Enter". Press F12 and the WPT Parameter
  483. edit window will reappear as follows:
  484.  
  485. WPT Parameters MENU: View Wavelets F12DONE
  486.  
  487.  -^------WAVELET PARAMETERS--------
  488. |                                  |
  489. | WAVELET TYPE      D8             |
  490. |                                  |
  491. | MAXIMUM LEVEL      8             |
  492. |                                  |
  493.  ----------------------------------
  494.  
  495. Press "F12" to get back to the WPT menu.
  496.  
  497.  
  498. 5.2. Select the trace to be transformed
  499.  
  500. Notice that WPT menu contains the entry `Mark Upper Trace':
  501.  
  502. WPT MENU: Mark Upper Trace   ALL  PARAMETERS
  503.  
  504. Press the "Enter" key and the menu at the top of the screen will change to:
  505.  
  506. WPT MENU: Mark Lower Trace   ALL  PARAMETERS
  507.  
  508. Press the "Enter" key.  The system will pause for a few seconds 
  509. while it is creating the tableau of transform traces.
  510.  
  511. When the system comes back, a tableau of 9 traces will have been
  512. inserted in the signal.  The first 8 traces are transform traces and
  513. the last trace is a basis (a disjoint cover of the tableau). One of
  514. the transforms (L4) will be drawn in a different color from the rest of
  515. the transform traces.  This is the Best Level and it is labeled with
  516. a BL4.  The basis is the Best Basis and it is labeled with a BBAS.
  517.  
  518. There are a number of vertical lines on each transform traces.  These 
  519. lines show how the transform traces is segmented.  
  520.  
  521. If there a large number of segment lines on level 1 and the number 
  522. of segments are halved for each following transform trace, then the 
  523. tableau is being viewed in a POSITION DOMINANT format. 
  524.  
  525.          L1 | | | | | | | | | | | | | | | | |
  526.          L2 |   |   |   |   |   |   |   |   |
  527.          L3 |       |       |       |       |
  528.          L4 |               |               |
  529.               POSITION DOMINANT
  530.    
  531. If there is only one segment line in the middle of level 1 and the 
  532. number of segments are doubled for each following transform trace, then 
  533. the tableau is being viewed in a FREQUENCY DOMINANT format. 
  534.  
  535.          L1 |               |               |
  536.          L2 |       |       |       |       |
  537.          L3 |   |   |   |   |   |   |   |   |
  538.          L4 | | | | | | | | | | | | | | | | |
  539.                FREQUENCY DOMINANT
  540.  
  541. Note: the Frequency Dominant is required for selecting coefficients of
  542. a basis, so this mode is automatically displayed when selecting bases.
  543.  
  544.  
  545. 5.3. Move the tableau of transform traces to the top of the screen
  546.  
  547. Shift this trace to the top of the screen by:
  548.  
  549.   clicking 7 times on the DOWN ARROW character of the vertical scrollbar
  550.  
  551.   or
  552.  
  553.   pressing on the "Ctrl UpArrow" key 7 times 
  554.     
  555.  
  556. 6. VIEWING THE PHASE PLANE DISPLAY OF THE BEST BASIS
  557. -------------------------------------------------
  558.  
  559. 6.1. Move the cursor to the best basis trace
  560.  
  561. Click on the trace labeled BBAS or press the "Down Arrow" key 9 times.
  562.  
  563. 6.2. Display the phase plane
  564.  
  565. Choose the TRANSFORM|PHASE PLANE DISPLAY option with the mouse or by 
  566. typing "Alt T" and "H".  
  567.  
  568. Phase Display MENU: Select Transform  F12DONE
  569.  
  570. Click on the trace labeled BL6 with the mouse or press the "Enter"
  571. key.  This will bring up the phase plane display window.  The
  572. following menu will appear at the time of the screen:
  573.  
  574. Phase Plane Display MENU: TOGGLE SUBSETS OPTIONS F12DONE
  575.  
  576. The upper right portion of the screen contains the phase plane
  577. where rectangles are drawn whose:
  578.  
  579.   - x position depends upon increasing positions left to right
  580.   - x size depends upon the level
  581.   - y position depends upon increasing frequencies
  582.   - y size depends upon the inverse of the level
  583.   - color depends upon the amplitude 
  584.  
  585. The phase plane is scaled up to a 512 x 512 rectangle. Initially,
  586. only the bottom half of the phase (containing the lower frequencies)
  587. is displayed.
  588.  
  589. A color scale showing the correspondence of colors to amplitudes is 
  590. displayed on the left side of the screen.  The numeric cursor, Trace 
  591. Energy, Subset Energy, and Compression Ratio are always displayed on
  592. the bottom of the window.  
  593.  
  594. The numeric cursor information looks like: 
  595.  
  596.  Cursor: L6 F0 P0 C10  N-1.02E3
  597. where:
  598.   F0       = Frequency 0
  599.   P0       = Position 0 
  600.   C10      = The coefficient or amplitude is 10
  601.   N-1.02E3 = The entropy of this frequency  
  602.  
  603.  
  604. The following keys are now valid:
  605.  
  606.    Up Arrow    -- Move the cursor up
  607.    Down Arrow  -- Move the cursor down
  608.    Left Arrow  -- Move the cursor Left
  609.    Right Arrow -- Move the cursor Right
  610.    Page Up     -- Display the upper half of the phase plane
  611.    Page Down   -- Display the lower half of the phase plane
  612.    ESC         -- Go back to the Select Transform MENU
  613.    F12         -- Go back to the Select Transform MENU
  614.    T           -- Toggle the coefficient on or off as a subset
  615.    O, L        -- Turn on/off the log scaling the coefficients (default ON)
  616.    0, B        -- Bring up an edit window to change the base of 
  617.           the log scaling
  618.  
  619. Look at the entire phase plane by pressing "Page Up" and "Page Down".
  620.  
  621.  
  622.  
  623. 7. SELECT SUBSETS OF THE BEST BASIS
  624.  
  625. Notice that there are some strong localized coefficients in
  626. the lower right of the phase plane.
  627.  
  628. 7.1. Toggle the individual subsets
  629.  
  630. Select each of the following coefficients by clicking on them with
  631. the mouse (or using the arrow keys).  Turn on the subsets by typing
  632. "T".  The coefficient will be outlined by thick lines.
  633.  
  634.   L4 F1 P25 C1574  N-1.87E+005
  635.   L4 F1 P26 C12894 N-1.87E+005
  636.   L4 F1 P28 C4103  N-1.87E+005
  637.   L4 F2 P27 C8989  N-1.55E+005
  638.   L4 F2 P28 C6458  N-1.55E+005
  639.  
  640. When all the coefficients have been selected, the follow annotations
  641. will be displayed at the bottom of the screen.
  642.  
  643. Cursor:L4 F2 P28 C6458  N-1.55E+005       Trc Energy: [ 42765]
  644. Subset Energy: [ 34021] 79.55%            Compression Ratio:   102:1
  645.  
  646. Notice that just five coefficients contain almost 80% of the trace
  647. energy.  This is a compression ratio of 102:1
  648.  
  649. 7.2. Go back to the Main Menu
  650.  
  651. Press "Esc" twice to get back to the main menu.
  652.  
  653. 7.3. Look at the subsets in the Position Dominant format
  654.  
  655. Press "X" to magnify the X axis so that the subsets which appear as
  656. shaded regions are more apparent.  Press the "x" to reduce X 
  657. magnification down to its original size.
  658.  
  659.  
  660.  
  661. 8. RECONSTRUCTING THE BEST BASIS USING SUBSETS
  662.  
  663. 8.1. Select the Reconstruction menu 
  664.  
  665. Choose the TRANSFORM|RECONSTRUCT option with the mouse or by 
  666. typing "Alt T" and "R".  
  667.  
  668. Reconstruct MENU: Mark Upper Trace ALL PARAMETERS F12DONE
  669.  
  670. Click on the best basis with the mouse or press the "Enter" key and the
  671. following menu will appear:
  672.  
  673. Reconstruct MENU: Mark Lower Trace ALL PARAMETERS F12DONE
  674.  
  675. Click on the best basis with the mouse or press the "Enter" key and a
  676. new trace labeled RECN will appear.  Notice how well this trace
  677. approximates the original trace and how the noise has been eliminated.
  678.  
  679.  
  680.  
  681.  
  682. 9. SELECTING SUBSETS AUTOMATICALLY 
  683.  
  684. 9.1. Select the Subsets menu
  685.  
  686. Choose the TRANSFORM|SELECT SUBSET entry with the mouse or by 
  687. typing "Alt T" and "S".  
  688.  
  689. Select Subset MENU:  MANUAL  AUTOMATIC  DelETE SUBSET  F12DONE
  690.  
  691. where:
  692.   MANUAL         - N   - Select subsets manually
  693.   AUTOMATIC      - A   - Automatically select subsets
  694.   DelETE SUBSET  - Del - Delete a group of subsets
  695.  
  696. Press "A" to select the Automatic Subsets Menu.
  697.  
  698. Auto Subset MENU: Mark Upper Trace ALL OPTIONS 
  699.                        _/ENERGY RETAINED
  700.                          COEFFICIENTS RETAINED
  701.                          ENERGY THRESHOLD
  702. where
  703.   ENERGY RETAINED        = Selects enough coefficients to retain a 
  704.                            percentage of energy
  705.   COEFFICIENTS RETAINED  = Selects a percentage of the most energetic
  706.                            coefficients
  707.   ENERGY THRESHOLD       = Select all coefficients above a threshold
  708.  
  709. Select the OPTIONS|COEFFICIENTS RETAINED option with the mouse or
  710. by pressing "O" and "C".  The following edit window appears:
  711.  
  712. SUBSET AUTO PARAMETERS  F12DONE
  713.  
  714.    -^------------SUBSET AUTO PARAMETERS---------------------
  715.   |                                                         |
  716.   |    COEFFICIENTS RETAINED (% of COEFFS)   90.00          |
  717.   |                                                         |
  718.    ---------------------------------------------------------
  719.  
  720. The following keys are now valid:
  721.  
  722.    Numeric Keys -- type in a number
  723.    ENTER    -- Enter the number into the constant
  724.    ESC          -- Go back to the Main MENU
  725.    F12          -- Go on to operation Menu
  726.  
  727. Type in the `10' then "Enter" and "F12".  Now, the top 10 percent
  728. most energetic coefficients will be retained.
  729.  
  730. Click on the best basis with the mouse or press the "Enter" key and the
  731. following menu will appear:
  732.  
  733. Auto Subset MENU: Mark Lower Trace OPTIONS F12DONE
  734.  
  735. Click on the best basis with the mouse or press the "Enter" key and
  736. the subsets will be selected.  Note: any prior subsets will be
  737. removed before the auto subsets are selected. 
  738.  
  739. Notice that the compression ratio is smaller at 10:1 and that 97%
  740. of the energy is retained.
  741.  
  742. Press the "Esc" key two times to get back to the Main menu.
  743.  
  744. 9.2. Reconstruction
  745.  
  746. Choose the TRANSFORM|RECONSTRUCT option with the mouse or by 
  747. typing "Alt T" and "R".  
  748.  
  749. Reconstruct MENU: Mark Upper Trace ALL PARAMETERS F12DONE
  750.  
  751. Click on PARAMETERS with the mouse or type the "P" key. This will
  752. bring up the following selection window:
  753.  
  754. RECONSTUCT PARAMETERS  F12DONE
  755.  
  756.    -^---RECONSTUCT PARAMETERS-------
  757.   |_/Delete Previous Reconstruction |
  758.   |_/Use Subsets                    |
  759.    ---------------------------------
  760. where:
  761.   Delete Previous Reconstruction = Automatically delete all previous
  762.                                    reconstructions so that only one
  763.                                    reconstruction will appear per 
  764.                                    transform trace
  765.  
  766.   Use Subsets                    = Use or don't use subsets
  767.  
  768. The following keys are now valid:
  769.  
  770.    ESC         -- Go back to the reconstruct menu
  771.    Up Arrow    -- Move the cursor up
  772.    Down Arrow  -- Move the cursor down
  773.    Enter       -- Toggle the correct selection on or off
  774.    F12         -- Use selections and go back to the reconstruct menu
  775.  
  776. Click on Delete Previous Reconstruction with the mouse or press the
  777. "Enter" key so that the check mark disappears.  
  778.  
  779. RECONSTUCT PARAMETERS  F12DONE
  780.  
  781.    -^---RECONSTUCT PARAMETERS-------
  782.   |  Delete Previous Reconstruction |
  783.   |_/Use Subsets                    |
  784.    ---------------------------------
  785.  
  786. Press the "F12" key to get back to the reconstruct menu.
  787.  
  788. Click on the best basis with the mouse or press the "Enter" key and the
  789. following menu will appear:
  790.  
  791. Reconstruct MENU: Mark Lower Trace ALL PARAMETERS F12DONE
  792.  
  793. Click on the best basis with the mouse or press the "Enter" key and a
  794. another trace labeled RECN will appear below the previously reconstructed
  795. trace.  Notice how well this trace approximates the original trace.
  796. especially notice that the signal noise is now present.
  797.  
  798.  
  799.  
  800. 10. SAVING YOUR WORK IN THE WAVELET PACKET FORMAT
  801.  
  802. Choose the FILE|SAVE option with the mouse or by typing "Alt F" and
  803. "S".  The following edit window will pop up:
  804.  
  805. Save MENU: NAMES PATH TYPES OPTIONS F12DONE
  806.  
  807.  
  808.    -^------------SAVE DIRECTORY .C:\WPL\*.WPL------------
  809.   |                                                      |
  810.   |    FILE NAME                C:\wpl\heart.wpl         |
  811.   |    FILE TYPE                Wavelet Packet           |
  812.   |                                                      |
  813.    ------------------------------------------------------
  814.  
  815.  
  816. The following keys are now valid:
  817.  
  818.    ESC         -- Go back to the Startup MENU
  819.    F12         -- Try to load the file name
  820.    Alt N       -- Load a pop up directory window filled with
  821.                   file names
  822.    Alt P       -- Load a pop up directory window 
  823.                   representing the directories on your 
  824.                   computer
  825.    ALT T       -- Load a list of valid signal file formats
  826.    Typing Keys -- Enter in a file name
  827.  
  828. Press F12 to save the file.
  829.  
  830.  
  831.  
  832. 11. EXITING WPL
  833.  
  834. Close all open files by typing the following for each open signal file.
  835.  
  836. Choose File|Close by typing "Alt F" then "C".  The following window
  837. will appear.
  838.  
  839.                  -^-------------------------------
  840.                 |     Save before abandoning,     |
  841.                 |    Continue abandoning, or      |
  842.                 |      Cancel Abandoning          |
  843.                 |                              |
  844.                 | <SAVE> <CONTINUE> <ESC CANCEL>  |
  845.                  ---------------------------------
  846.  
  847. The following keys are now valid:
  848.  
  849.  S   = save the file and calculations (Use of .WPL format is suggested).
  850.  C   = continue the closing of the file.
  851.  ESC = go back to the Main MENU
  852.  
  853. Press "C" to continue abandoning.
  854.  
  855.  
  856. When the Startup MENU appears:
  857.  
  858. Main MENU: FILE SYSTEM
  859.  
  860. choose System|Exit To DOS by typing "Alt S" then "X".
  861.  
  862. The DOS Prompt will appear.
  863.  
  864. C:\WPL>
  865.  
  866.  
  867.  
  868. 12. SUGGESTIONS FOR FURTHER EXPERIMENTATION
  869.  
  870. - View the phase plane display of each level to get a feel for the
  871.   various data representations
  872.  
  873. - See what effect using different wavelets make
  874.  
  875. - Transform and view the file WHISTLE.ASC, which contains a signal
  876.   with a single frequency.
  877.  
  878. - Transform and view the file SINXCUBE.BYT, which contains a signal
  879.   which increases frequency over time.
  880.  
  881.  
  882.  
  883. 13. Error Reporting
  884.  
  885. Please send any error reports, comments, and suggestions to:
  886.  
  887.          Wavelet Packet Laboratory
  888.          Digital Diagnostic Corp.
  889.          26 Rossotto Drive
  890.          Hamden, CT 06514
  891.          Phone: (203)-288-9444
  892.          FAX:   (203)-287-8765
  893.  
  894. or send by electronic mail to ddc@cs.yale.edu
  895.  
  896. Please include your serial number and your name. Use System|About 
  897. to find the serial number.
  898.  
  899. Only registered users may receive technical support so send in your
  900. order form today!
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911. 
  912.