home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1997 September / Macworld (1997-09).dmg / Serious Software / Cherwell Scientific Demos / pro Fit / pro Fit 5.0 demo (ppc).sea / pro Fit 5.0 demo (ppc) / Functions & Programs / •Gadgets / Linear interpolation of data < prev    next >
MacBinary  |  1996-06-01  |  5.8 KB  |  [ftFC/NLft]

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Linear interpolation of data

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sat Jun 1 15:54:34 1996, modified Sat Jun 1 15:54:34 1996, creator 'NLft', type 'ftFC', 4783 bytes "Linear interpolation of data" , at 0x132f 815 bytes resource default (weak)
99% file data default
66% TrID SpeedScript document (C64) default (weak)
33% TrID MacBinary 2 default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ftFC]
macFileCreator[NLft]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 1c 4c 69 6e 65 61 72 | 20 69 6e 74 65 72 70 6f |..Linear| interpo|
|00000010| 6c 61 74 69 6f 6e 20 6f | 66 20 64 61 74 61 00 00 |lation o|f data..|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 66 74 46 43 4e 4c 66 | 74 01 00 00 00 00 00 00 |.ftFCNLf|t.......|
|00000050| 00 00 00 00 00 12 af 00 | 00 03 2f ad d6 50 7a ad |........|../..Pz.|
|00000060| d6 50 7a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.Pz.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bd c7 00 00 |........|........|
|00000080| 7b 0d 09 54 68 69 73 20 | 66 75 6e 63 74 69 6f 6e |{..This |function|
|00000090| 20 61 63 63 65 73 73 65 | 73 20 74 68 65 20 63 75 | accesse|s the cu|
|000000a0| 72 72 65 6e 74 20 64 61 | 74 61 20 73 65 74 20 6f |rrent da|ta set o|
|000000b0| 66 20 61 20 77 69 6e 64 | 6f 77 20 61 6e 64 20 72 |f a wind|ow and r|
|000000c0| 65 74 75 72 6e 73 0d 20 | 74 68 65 20 6c 69 6e 65 |eturns. |the line|
|000000d0| 61 72 20 69 6e 74 65 72 | 70 6f 6c 61 74 69 6f 6e |ar inter|polation|
|000000e0| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 64 61 74 | between| the dat|
|000000f0| 61 20 70 6f 69 6e 74 73 | 2e 20 54 68 69 73 20 66 |a points|. This f|
|00000100| 75 6e 63 74 69 6f 6e 20 | 63 61 6e 20 62 65 20 75 |unction |can be u|
|00000110| 73 65 64 0d 20 74 6f 20 | 63 6f 6d 70 61 72 65 20 |sed. to |compare |
|00000120| 74 77 6f 20 64 61 74 61 | 20 73 65 74 73 20 74 68 |two data| sets th|
|00000130| 61 74 20 77 65 72 65 20 | 6d 65 61 73 75 72 65 64 |at were |measured|
|00000140| 20 75 73 69 6e 67 20 73 | 6c 69 67 68 74 6c 79 20 | using s|lightly |
|00000150| 64 69 66 66 65 72 65 6e | 74 20 73 74 65 70 73 0d |differen|t steps.|
|00000160| 20 66 6f 72 20 74 68 65 | 20 78 2d 63 6f 6f 72 64 | for the| x-coord|
|00000170| 69 6e 61 74 65 2e 20 42 | 61 73 65 64 20 6f 6e 20 |inate. B|ased on |
|00000180| 74 68 65 20 74 77 6f 20 | 64 61 74 61 20 73 65 74 |the two |data set|
|00000190| 73 2c 20 69 74 20 69 73 | 20 70 6f 73 73 69 62 6c |s, it is| possibl|
|000001a0| 65 20 74 6f 20 70 72 6f | 64 75 63 65 20 61 0d 20 |e to pro|duce a. |
|000001b0| 74 61 62 6c 65 20 77 69 | 74 68 20 6d 65 61 73 75 |table wi|th measu|
|000001c0| 72 65 64 20 64 61 74 61 | 20 61 74 20 73 65 6c 65 |red data| at sele|
|000001d0| 63 74 65 64 20 78 2d 63 | 6f 6f 72 64 69 6e 61 74 |cted x-c|oordinat|
|000001e0| 65 73 2c 20 61 6e 64 20 | 73 6f 20 6f 6e 2e 0d 20 |es, and |so on.. |
|000001f0| 54 68 65 20 66 75 6e 63 | 74 69 6f 6e 20 61 6c 73 |The func|tion als|
|00000200| 6f 20 6f 66 66 65 72 73 | 20 74 68 65 20 70 6f 73 |o offers| the pos|
|00000210| 73 69 62 69 6c 69 74 79 | 20 6f 66 20 61 20 6d 75 |sibility| of a mu|
|00000220| 6c 74 69 70 6c 69 63 61 | 74 69 6f 6e 20 66 61 63 |ltiplica|tion fac|
|00000230| 74 6f 72 20 61 6e 64 20 | 6f 66 20 78 2d 20 0d 20 |tor and |of x- . |
|00000240| 61 6e 64 20 79 2d 6f 66 | 66 73 65 74 73 2e 0d 20 |and y-of|fsets.. |
|00000250| 0d 20 54 6f 20 75 73 65 | 20 74 68 69 73 20 66 75 |. To use| this fu|
|00000260| 6e 63 74 69 6f 6e 2c 20 | 63 68 6f 6f 73 65 20 22 |nction, |choose "|
|00000270| 41 64 64 20 54 6f 20 4d | 65 6e 75 22 20 66 72 6f |Add To M|enu" fro|
|00000280| 6d 20 74 68 65 20 4d 69 | 73 63 20 6d 65 6e 75 0d |m the Mi|sc menu.|
|00000290| 20 28 6f 72 20 63 6c 69 | 63 6b 20 74 68 65 20 41 | (or cli|ck the A|
|000002a0| 64 64 20 62 75 74 74 6f | 6e 29 2e 0d 20 54 68 65 |dd butto|n).. The|
|000002b0| 20 66 75 6e 63 74 69 6f | 6e 27 73 20 6e 61 6d 65 | functio|n's name|
|000002c0| 20 61 70 70 65 61 72 73 | 20 69 6e 20 74 68 65 20 | appears| in the |
|000002d0| 46 75 6e 63 20 6d 65 6e | 75 2e 0d 20 0d 20 55 73 |Func men|u.. . Us|
|000002e0| 65 20 69 74 20 61 73 20 | 79 6f 75 20 77 6f 75 6c |e it as |you woul|
|000002f0| 64 20 75 73 65 20 61 6e | 79 20 6f 74 68 65 72 20 |d use an|y other |
|00000300| 66 75 6e 63 74 69 6f 6e | 2e 20 43 6c 69 63 6b 20 |function|. Click |
|00000310| 74 68 65 20 22 43 68 6f | 6f 73 65 20 44 61 74 61 |the "Cho|ose Data|
|00000320| 22 20 62 75 74 74 6f 6e | 0d 20 69 6e 20 74 68 65 |" button|. in the|
|00000330| 20 70 61 72 61 6d 65 74 | 65 72 20 77 69 6e 64 6f | paramet|er windo|
|00000340| 77 20 74 6f 20 20 73 65 | 74 20 74 68 65 20 64 61 |w to se|t the da|
|00000350| 74 61 20 73 65 74 20 75 | 73 65 64 20 62 79 20 74 |ta set u|sed by t|
|00000360| 68 65 20 66 75 6e 63 74 | 69 6f 6e 2e 0d 20 0d 20 |he funct|ion.. . |
|00000370| 49 66 20 79 6f 75 20 61 | 72 65 20 6c 6f 6f 6b 69 |If you a|re looki|
|00000380| 6e 67 20 61 74 20 74 68 | 65 20 66 75 6e 63 74 69 |ng at th|e functi|
|00000390| 6f 6e 20 69 6e 20 74 68 | 65 20 70 72 65 76 69 65 |on in th|e previe|
|000003a0| 77 20 77 69 6e 64 6f 77 | 2c 20 79 6f 75 20 6d 75 |w window|, you mu|
|000003b0| 73 74 20 63 6c 69 63 6b | 0d 20 22 52 65 64 72 61 |st click|. "Redra|
|000003c0| 77 22 20 77 68 65 6e 65 | 76 65 72 20 79 6f 75 20 |w" whene|ver you |
|000003d0| 63 68 61 6e 67 65 20 73 | 6f 6d 65 20 64 61 74 61 |change s|ome data|
|000003e0| 20 69 6e 20 69 74 73 20 | 72 65 66 65 72 65 6e 63 | in its |referenc|
|000003f0| 65 20 64 61 74 61 20 73 | 65 74 21 0d 20 54 68 65 |e data s|et!. The|
|00000400| 20 66 75 6e 63 74 69 6f | 6e 20 68 61 73 20 6e 6f | functio|n has no|
|00000410| 20 77 61 79 20 74 6f 20 | 6b 6e 6f 77 20 74 68 61 | way to |know tha|
|00000420| 74 20 79 6f 75 20 61 72 | 65 20 63 68 61 6e 67 69 |t you ar|e changi|
|00000430| 6e 67 20 69 74 73 20 64 | 61 74 61 20 75 6e 64 65 |ng its d|ata unde|
|00000440| 72 20 69 74 73 20 6e 6f | 73 65 21 0d 7d 0d 0d 66 |r its no|se!.}..f|
|00000450| 75 6e 63 74 69 6f 6e 20 | 4c 69 6e 49 6e 74 65 72 |unction |LinInter|
|00000460| 70 6f 6c 3b 0d 0d 64 65 | 73 63 72 69 70 74 69 6f |pol;..de|scriptio|
|00000470| 6e 20 27 72 65 74 75 72 | 6e 73 20 74 68 65 20 6c |n 'retur|ns the l|
|00000480| 69 6e 2e 20 69 6e 74 65 | 72 70 6f 6c 61 74 69 6f |in. inte|rpolatio|
|00000490| 6e 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |n of the| current|
|000004a0| 20 78 2d 20 61 6e 64 20 | 79 2d 20 64 61 74 61 20 | x- and |y- data |
|000004b0| 73 65 74 20 69 6e 20 61 | 20 67 69 76 65 6e 20 77 |set in a| given w|
|000004c0| 69 6e 64 6f 77 2e 27 2c | 0d 20 20 20 20 20 20 20 |indow.',|. |
|000004d0| 20 20 20 20 20 27 24 42 | 43 68 6f 6f 73 65 20 44 | '$B|Choose D|
|000004e0| 61 74 61 24 4f 66 66 73 | 65 74 73 20 c6 78 2c c6 |ata$Offs|ets .x,.|
|000004f0| 79 20 61 72 65 20 61 76 | 61 69 6c 61 62 6c 65 2e |y are av|ailable.|
|00000500| 20 44 61 74 61 20 4d 55 | 53 54 20 62 65 20 6f 72 | Data MU|ST be or|
|00000510| 64 65 72 65 64 27 3b 0d | 0d 64 65 66 61 75 6c 74 |dered';.|.default|
|00000520| 73 20 20 20 61 5b 31 5d | 3a 3d 30 2c 61 63 74 69 |s a[1]|:=0,acti|
|00000530| 76 65 2c 27 c6 78 20 20 | 20 20 20 28 78 2d 6f 66 |ve,'.x | (x-of|
|00000540| 66 73 65 74 29 27 3b 0d | 20 20 20 20 20 20 20 20 |fset)';.| |
|00000550| 20 20 20 61 5b 32 5d 3a | 3d 30 2c 61 63 74 69 76 | a[2]:|=0,activ|
|00000560| 65 2c 27 c6 79 20 20 20 | 20 20 28 79 2d 6f 66 66 |e,'.y | (y-off|
|00000570| 73 65 74 29 27 3b 0d 20 | 20 20 20 20 20 20 20 20 |set)';. | |
|00000580| 20 20 61 5b 33 5d 3a 3d | 31 2c 61 63 74 69 76 65 | a[3]:=|1,active|
|00000590| 2c 27 61 6d 70 6c 20 20 | 20 28 6d 75 6c 69 74 70 |,'ampl | (mulitp|
|000005a0| 6c 69 65 73 20 61 6c 6c | 20 79 2d 76 61 6c 73 2e |lies all| y-vals.|
|000005b0| 29 27 3b 0d 0d 76 61 72 | 20 64 61 74 61 57 69 6e |)';..var| dataWin|
|000005c0| 64 6f 77 2c 78 63 2c 79 | 63 2c 67 6c 6f 62 4d 69 |dow,xc,y|c,globMi|
|000005d0| 6e 2c 67 6c 6f 62 4d 61 | 78 2c 79 4d 69 6e 2c 79 |n,globMa|x,yMin,y|
|000005e0| 4d 61 78 3a 65 78 74 65 | 6e 64 65 64 3b 0d 09 09 |Max:exte|nded;...|
|000005f0| 09 69 4d 61 78 3a 69 6e | 74 65 67 65 72 3b 20 7b |.iMax:in|teger; {|
|00000600| 6c 61 73 74 20 76 61 6c | 69 64 20 72 6f 77 20 6e |last val|id row n|
|00000610| 75 6d 62 65 72 20 66 6f | 72 20 64 61 74 61 20 61 |umber fo|r data a|
|00000620| 63 63 65 73 73 7d 0d 09 | 09 09 6a 31 2c 6a 32 2c |ccess}..|..j1,j2,|
|00000630| 4c 61 73 74 6a 3a 69 6e | 74 65 67 65 72 3b 0d 0d |Lastj:in|teger;..|
|00000640| 7b 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 |{the fol|lowing t|
|00000650| 77 6f 20 66 75 6e 63 74 | 69 6f 6e 73 20 61 72 65 |wo funct|ions are|
|00000660| 20 75 73 65 64 20 74 6f | 20 61 63 63 65 73 73 20 | used to| access |
|00000670| 74 68 65 20 64 61 74 61 | 20 77 69 6e 64 6f 77 2e |the data| window.|
|00000680| 0d 20 54 68 65 79 20 73 | 74 61 72 74 20 6c 6f 6f |. They s|tart loo|
|00000690| 6b 69 6e 67 20 69 6e 20 | 74 68 65 20 64 61 74 61 |king in |the data|
|000006a0| 20 63 65 6c 6c 20 69 6e | 20 72 6f 77 20 69 2e 20 | cell in| row i. |
|000006b0| 49 66 20 69 6e 20 72 6f | 77 20 69 2c 20 62 6f 74 |If in ro|w i, bot|
|000006c0| 68 0d 20 78 43 6f 6c 20 | 61 6e 64 20 79 43 6f 6c |h. xCol |and yCol|
|000006d0| 20 63 65 6c 6c 73 20 63 | 6f 6e 74 61 69 6e 20 61 | cells c|ontain a|
|000006e0| 20 76 61 6c 69 64 20 6e | 75 6d 62 65 72 20 74 68 | valid n|umber th|
|000006f0| 65 79 20 72 65 74 75 72 | 6e 20 74 68 69 73 20 6e |ey retur|n this n|
|00000700| 75 6d 62 65 72 2c 0d 20 | 6f 74 68 65 72 77 69 73 |umber,. |otherwis|
|00000710| 65 20 74 68 65 79 20 69 | 6e 63 72 65 61 73 65 20 |e they i|ncrease |
|00000720| 69 20 62 79 20 6f 6e 65 | 20 61 6e 64 20 6c 6f 6f |i by one| and loo|
|00000730| 6b 20 61 74 20 74 68 65 | 20 6e 65 78 74 20 64 61 |k at the| next da|
|00000740| 74 61 20 63 65 6c 6c 2e | 0d 20 54 68 69 73 20 69 |ta cell.|. This i|
|00000750| 73 20 72 65 70 65 61 74 | 65 64 20 75 6e 74 69 6c |s repeat|ed until|
|00000760| 20 61 20 76 61 6c 69 64 | 20 63 65 6c 6c 20 69 73 | a valid| cell is|
|00000770| 20 66 6f 75 6e 64 20 6f | 72 20 61 6c 6c 20 63 65 | found o|r all ce|
|00000780| 6c 6c 73 20 68 61 76 65 | 20 62 65 65 6e 0d 20 6c |lls have| been. l|
|00000790| 6f 6f 6b 65 64 20 61 74 | 2e 20 42 6f 74 68 20 66 |ooked at|. Both f|
|000007a0| 75 6e 63 74 69 6f 6e 73 | 20 75 73 65 20 74 68 65 |unctions| use the|
|000007b0| 20 67 6c 6f 62 61 6c 20 | 76 61 72 69 61 62 6c 65 | global |variable|
|000007c0| 73 20 78 63 20 61 6e 64 | 20 79 63 20 66 6f 72 0d |s xc and| yc for.|
|000007d0| 20 74 68 65 20 64 61 74 | 61 20 63 6f 6c 75 6d 6e | the dat|a column|
|000007e0| 73 2c 20 61 6e 64 20 69 | 4d 61 78 20 66 6f 72 20 |s, and i|Max for |
|000007f0| 74 68 65 20 6c 61 73 74 | 20 72 6f 77 20 75 73 65 |the last| row use|
|00000800| 64 2e 0d 20 69 4d 61 78 | 20 69 73 20 75 73 65 64 |d.. iMax| is used|
|00000810| 20 28 74 6f 20 73 70 61 | 72 65 20 74 69 6d 65 29 | (to spa|re time)|
|00000820| 20 69 6e 73 74 65 61 64 | 20 6f 66 20 6e 72 52 6f | instead| of nrRo|
|00000830| 77 73 20 62 65 63 61 75 | 73 65 20 69 74 20 63 61 |ws becau|se it ca|
|00000840| 6e 0d 20 62 65 20 74 68 | 61 74 20 6d 61 6e 79 20 |n. be th|at many |
|00000850| 65 6d 70 74 79 20 72 6f | 77 73 20 66 6f 6c 6c 6f |empty ro|ws follo|
|00000860| 77 20 74 68 65 20 64 61 | 74 61 20 73 65 74 0d 7d |w the da|ta set.}|
|00000870| 0d 0d 70 72 6f 63 65 64 | 75 72 65 20 49 6e 69 74 |..proced|ure Init|
|00000880| 69 61 6c 69 7a 65 3b 0d | 62 65 67 69 6e 0d 20 20 |ialize;.|begin. |
|00000890| 64 61 74 61 57 69 6e 64 | 6f 77 20 3a 3d 20 30 3b |dataWind|ow := 0;|
|000008a0| 0d 20 20 78 63 20 3a 3d | 20 30 3b 20 79 63 20 3a |. xc :=| 0; yc :|
|000008b0| 3d 20 30 3b 0d 65 6e 64 | 3b 0d 0d 66 75 6e 63 74 |= 0;.end|;..funct|
|000008c0| 69 6f 6e 20 78 78 28 69 | 3a 69 6e 74 65 67 65 72 |ion xx(i|:integer|
|000008d0| 29 3a 65 78 74 65 6e 64 | 65 64 3b 0d 62 65 67 69 |):extend|ed;.begi|
|000008e0| 6e 0d 09 69 66 20 69 3c | 31 20 74 68 65 6e 20 78 |n..if i<|1 then x|
|000008f0| 78 3a 3d 2d 31 2f 30 20 | 65 6c 73 65 0d 09 62 65 |x:=-1/0 |else..be|
|00000900| 67 69 6e 0d 09 09 77 68 | 69 6c 65 20 28 28 6e 6f |gin...wh|ile ((no|
|00000910| 74 20 64 61 74 61 6f 6b | 28 69 2c 78 63 29 29 20 |t dataok|(i,xc)) |
|00000920| 6f 72 20 28 6e 6f 74 20 | 64 61 74 61 6f 6b 28 69 |or (not |dataok(i|
|00000930| 2c 79 63 29 29 29 20 61 | 6e 64 20 28 69 3c 3d 69 |,yc))) a|nd (i<=i|
|00000940| 4d 61 78 29 20 64 6f 20 | 69 3a 3d 69 2b 31 3b 0d |Max) do |i:=i+1;.|
|00000950| 09 09 69 66 20 69 3c 3d | 69 4d 61 78 20 74 68 65 |..if i<=|iMax the|
|00000960| 6e 20 78 78 3a 3d 64 61 | 74 61 5b 69 2c 78 63 5d |n xx:=da|ta[i,xc]|
|00000970| 20 65 6c 73 65 20 78 78 | 3a 3d 31 2f 30 3b 0d 09 | else xx|:=1/0;..|
|00000980| 65 6e 64 3b 0d 65 6e 64 | 3b 0d 0d 66 75 6e 63 74 |end;.end|;..funct|
|00000990| 69 6f 6e 20 79 79 28 69 | 3a 69 6e 74 65 67 65 72 |ion yy(i|:integer|
|000009a0| 29 3a 65 78 74 65 6e 64 | 65 64 3b 0d 62 65 67 69 |):extend|ed;.begi|
|000009b0| 6e 0d 09 69 66 20 69 3c | 31 20 74 68 65 6e 20 79 |n..if i<|1 then y|
|000009c0| 79 3a 3d 2d 31 2f 30 20 | 65 6c 73 65 0d 09 62 65 |y:=-1/0 |else..be|
|000009d0| 67 69 6e 0d 09 09 77 68 | 69 6c 65 20 28 28 6e 6f |gin...wh|ile ((no|
|000009e0| 74 20 64 61 74 61 6f 6b | 28 69 2c 78 63 29 29 20 |t dataok|(i,xc)) |
|000009f0| 6f 72 20 28 6e 6f 74 20 | 64 61 74 61 6f 6b 28 69 |or (not |dataok(i|
|00000a00| 2c 79 63 29 29 29 20 61 | 6e 64 20 28 69 3c 3d 69 |,yc))) a|nd (i<=i|
|00000a10| 4d 61 78 29 20 64 6f 20 | 69 3a 3d 69 2b 31 3b 0d |Max) do |i:=i+1;.|
|00000a20| 09 09 69 66 20 69 3c 3d | 69 4d 61 78 20 74 68 65 |..if i<=|iMax the|
|00000a30| 6e 20 79 79 3a 3d 64 61 | 74 61 5b 69 2c 79 63 5d |n yy:=da|ta[i,yc]|
|00000a40| 20 65 6c 73 65 20 79 79 | 3a 3d 31 2f 30 3b 0d 09 | else yy|:=1/0;..|
|00000a50| 65 6e 64 3b 0d 65 6e 64 | 3b 0d 0d 66 75 6e 63 74 |end;.end|;..funct|
|00000a60| 69 6f 6e 20 63 68 65 63 | 6b 3b 0d 62 65 67 69 6e |ion chec|k;.begin|
|00000a70| 0d 09 69 66 20 70 4e 75 | 6d 62 65 72 3d 33 30 30 |..if pNu|mber=300|
|00000a80| 30 30 20 74 68 65 6e 09 | 7b 69 66 20 74 68 65 20 |00 then.|{if the |
|00000a90| 62 75 74 74 6f 6e 20 77 | 61 73 20 63 6c 69 63 6b |button w|as click|
|00000aa0| 65 64 7d 0d 09 62 65 67 | 69 6e 0d 09 09 69 66 20 |ed}..beg|in...if |
|00000ab0| 64 61 74 61 57 69 6e 64 | 6f 77 3e 30 20 74 68 65 |dataWind|ow>0 the|
|00000ac0| 6e 0d 09 09 62 65 67 69 | 6e 0d 09 09 09 49 66 20 |n...begi|n....If |
|00000ad0| 47 65 74 57 69 6e 64 6f | 77 54 79 70 65 28 64 61 |GetWindo|wType(da|
|00000ae0| 74 61 57 69 6e 64 6f 77 | 29 3c 3e 64 61 74 61 54 |taWindow|)<>dataT|
|00000af0| 79 70 65 20 74 68 65 6e | 20 64 61 74 61 57 69 6e |ype then| dataWin|
|00000b00| 64 6f 77 3a 3d 30 3b 0d | 09 09 65 6e 64 3b 0d 09 |dow:=0;.|..end;..|
|00000b10| 09 49 6e 70 75 74 28 27 | 24 57 44 61 74 61 20 57 |.Input('|$WData W|
|00000b20| 69 6e 64 6f 77 27 2c 64 | 61 74 61 57 69 6e 64 6f |indow',d|ataWindo|
|00000b30| 77 2c 27 24 43 24 58 58 | 20 63 6f 6c 75 6d 6e 27 |w,'$C$XX| column'|
|00000b40| 2c 78 63 2c 20 27 24 43 | 24 59 59 20 63 6f 6c 75 |,xc, '$C|$YY colu|
|00000b50| 6d 6e 27 2c 79 63 29 3b | 0d 09 09 69 66 20 28 64 |mn',yc);|...if (d|
|00000b60| 61 74 61 57 69 6e 64 6f | 77 3e 30 29 20 74 68 65 |ataWindo|w>0) the|
|00000b70| 6e 20 53 65 74 43 75 72 | 72 65 6e 74 57 69 6e 64 |n SetCur|rentWind|
|00000b80| 6f 77 28 64 61 74 61 57 | 69 6e 64 6f 77 29 3b 0d |ow(dataW|indow);.|
|00000b90| 09 09 53 65 74 44 65 66 | 61 75 6c 74 43 6f 6c 73 |..SetDef|aultCols|
|00000ba0| 28 78 63 2c 79 63 2c 2d | 31 2c 2d 31 29 3b 0d 09 |(xc,yc,-|1,-1);..|
|00000bb0| 65 6e 64 3b 0d 09 63 68 | 65 63 6b 3a 3d 6f 6b 3b |end;..ch|eck:=ok;|
|00000bc0| 0d 65 6e 64 3b 0d 0d 70 | 72 6f 63 65 64 75 72 65 |.end;..p|rocedure|
|00000bd0| 20 66 69 72 73 74 3b 0d | 76 61 72 20 63 6f 75 6e | first;.|var coun|
|00000be0| 74 65 72 3a 69 6e 74 65 | 67 65 72 3b 0d 62 65 67 |ter:inte|ger;.beg|
|00000bf0| 69 6e 0d 69 66 20 64 61 | 74 61 57 69 6e 64 6f 77 |in.if da|taWindow|
|00000c00| 3e 30 20 74 68 65 6e 0d | 62 65 67 69 6e 0d 09 49 |>0 then.|begin..I|
|00000c10| 66 20 47 65 74 57 69 6e | 64 6f 77 54 79 70 65 28 |f GetWin|dowType(|
|00000c20| 64 61 74 61 57 69 6e 64 | 6f 77 29 3d 64 61 74 61 |dataWind|ow)=data|
|00000c30| 54 79 70 65 20 74 68 65 | 6e 20 0d 09 09 09 53 65 |Type the|n ....Se|
|00000c40| 74 43 75 72 72 65 6e 74 | 57 69 6e 64 6f 77 28 64 |tCurrent|Window(d|
|00000c50| 61 74 61 57 69 6e 64 6f | 77 29 0d 09 65 6c 73 65 |ataWindo|w)..else|
|00000c60| 20 0d 09 62 65 67 69 6e | 09 0d 09 09 09 64 61 74 | ..begin|.....dat|
|00000c70| 61 57 69 6e 64 6f 77 3a | 3d 30 3b 0d 09 09 09 53 |aWindow:|=0;....S|
|00000c80| 65 74 43 75 72 72 65 6e | 74 57 69 6e 64 6f 77 28 |etCurren|tWindow(|
|00000c90| 20 46 72 6f 6e 74 6d 6f | 73 74 57 69 6e 64 6f 77 | Frontmo|stWindow|
|00000ca0| 28 64 61 74 61 54 79 70 | 65 29 20 29 0d 09 65 6e |(dataTyp|e) )..en|
|00000cb0| 64 3b 0d 65 6e 64 3b 0d | 0d 69 66 20 78 63 3c 3d |d;.end;.|.if xc<=|
|00000cc0| 30 20 74 68 65 6e 20 78 | 63 3a 3d 78 43 6f 6c 75 |0 then x|c:=xColu|
|00000cd0| 6d 6e 3b 0d 69 66 20 79 | 63 3c 3d 30 20 74 68 65 |mn;.if y|c<=0 the|
|00000ce0| 6e 20 79 63 3a 3d 79 43 | 6f 6c 75 6d 6e 3b 0d 0d |n yc:=yC|olumn;..|
|00000cf0| 20 63 6f 75 6e 74 65 72 | 3a 3d 4e 72 52 6f 77 73 | counter|:=NrRows|
|00000d00| 2b 31 3b 0d 20 72 65 70 | 65 61 74 20 63 6f 75 6e |+1;. rep|eat coun|
|00000d10| 74 65 72 3a 3d 63 6f 75 | 6e 74 65 72 2d 31 20 75 |ter:=cou|nter-1 u|
|00000d20| 6e 74 69 6c 20 64 61 74 | 61 6f 6b 28 63 6f 75 6e |ntil dat|aok(coun|
|00000d30| 74 65 72 2c 78 63 29 20 | 61 6e 64 20 64 61 74 61 |ter,xc) |and data|
|00000d40| 6f 6b 28 63 6f 75 6e 74 | 65 72 2c 78 63 29 3b 0d |ok(count|er,xc);.|
|00000d50| 20 47 6c 6f 62 4d 61 78 | 3a 3d 64 61 74 61 5b 63 | GlobMax|:=data[c|
|00000d60| 6f 75 6e 74 65 72 2c 78 | 63 5d 3b 79 6d 61 78 3a |ounter,x|c];ymax:|
|00000d70| 3d 64 61 74 61 5b 63 6f | 75 6e 74 65 72 2c 79 63 |=data[co|unter,yc|
|00000d80| 5d 3b 69 4d 61 78 3a 3d | 63 6f 75 6e 74 65 72 3b |];iMax:=|counter;|
|00000d90| 6a 32 3a 3d 69 4d 61 78 | 3b 0d 20 47 6c 6f 62 4d |j2:=iMax|;. GlobM|
|00000da0| 69 6e 3a 3d 78 78 28 31 | 29 3b 79 6d 69 6e 3a 3d |in:=xx(1|);ymin:=|
|00000db0| 79 79 28 31 29 3b 6a 31 | 3a 3d 31 3b 4c 61 73 74 |yy(1);j1|:=1;Last|
|00000dc0| 6a 3a 3d 6a 31 3b 0d 20 | 65 6e 64 3b 0d 20 0d 70 |j:=j1;. |end;. .p|
|00000dd0| 72 6f 63 65 64 75 72 65 | 20 66 69 6e 64 28 6c 61 |rocedure| find(la|
|00000de0| 73 74 49 6e 64 65 78 3a | 69 6e 74 65 67 65 72 3b |stIndex:|integer;|
|00000df0| 74 61 72 67 65 74 3a 65 | 78 74 65 6e 64 65 64 29 |target:e|xtended)|
|00000e00| 3b 0d 7b 74 68 69 73 20 | 70 72 6f 63 65 64 75 72 |;.{this |procedur|
|00000e10| 65 20 73 65 74 73 20 74 | 68 65 20 67 6c 6f 62 61 |e sets t|he globa|
|00000e20| 6c 20 69 6e 64 65 78 2d | 76 61 72 69 61 62 6c 65 |l index-|variable|
|00000e30| 73 20 6a 31 2c 6a 32 20 | 74 6f 20 70 6f 69 6e 74 |s j1,j2 |to point|
|00000e40| 0d 20 74 6f 20 74 68 65 | 20 78 2d 76 61 6c 75 65 |. to the| x-value|
|00000e50| 73 20 62 72 61 63 6b 65 | 74 69 6e 67 20 74 68 65 |s bracke|ting the|
|00000e60| 20 74 61 72 67 65 74 20 | 76 61 6c 75 65 2e 20 54 | target |value. T|
|00000e70| 68 65 20 70 72 6f 63 65 | 64 75 72 65 20 66 69 72 |he proce|dure fir|
|00000e80| 73 74 20 6c 6f 6f 6b 73 | 0d 20 69 6e 20 74 68 65 |st looks|. in the|
|00000e90| 20 6e 65 69 67 68 62 6f | 75 72 68 6f 6f 64 20 6f | neighbo|urhood o|
|00000ea0| 66 20 74 68 65 20 70 61 | 72 61 6d 65 74 65 72 20 |f the pa|rameter |
|00000eb0| 6c 61 73 74 69 6e 64 65 | 78 2e 20 54 68 69 73 20 |lastinde|x. This |
|00000ec0| 6d 65 61 6e 73 20 74 68 | 61 74 0d 20 69 66 20 66 |means th|at. if f|
|00000ed0| 69 72 73 74 20 6c 6f 6f | 6b 73 20 61 74 20 6a 31 |irst loo|ks at j1|
|00000ee0| 3d 6c 61 73 74 69 6e 64 | 65 78 2c 20 6a 32 3d 6c |=lastind|ex, j2=l|
|00000ef0| 61 73 74 69 6e 64 65 78 | 2b 31 2e 20 49 66 20 74 |astindex|+1. If t|
|00000f00| 68 69 73 20 69 73 20 6e | 6f 74 0d 20 67 6f 6f 64 |his is n|ot. good|
|00000f10| 2c 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |, the pr|ocedure |
|00000f20| 6c 6f 6f 6b 73 20 69 6e | 20 74 68 65 20 72 69 67 |looks in| the rig|
|00000f30| 68 74 20 64 69 72 65 63 | 74 69 6f 6e 20 28 61 73 |ht direc|tion (as|
|00000f40| 73 75 6d 69 6e 67 20 74 | 68 61 74 0d 20 74 68 65 |suming t|hat. the|
|00000f50| 20 64 61 74 61 20 61 72 | 65 20 73 6f 72 74 65 64 | data ar|e sorted|
|00000f60| 29 2c 20 6d 61 6b 69 6e | 67 20 61 6c 77 61 79 73 |), makin|g always|
|00000f70| 20 77 69 64 65 72 20 73 | 74 65 70 73 20 75 6e 74 | wider s|teps unt|
|00000f80| 69 6c 20 74 61 72 67 65 | 74 20 69 73 0d 20 62 72 |il targe|t is. br|
|00000f90| 61 63 6b 65 74 65 64 2e | 20 41 66 74 65 72 77 61 |acketed.| Afterwa|
|00000fa0| 72 64 73 20 74 68 65 20 | 63 6f 70 79 20 6a 31 2c |rds the |copy j1,|
|00000fb0| 6a 32 20 69 73 20 66 6f | 75 6e 64 20 77 69 74 68 |j2 is fo|und with|
|00000fc0| 20 74 68 65 20 62 69 73 | 65 63 74 69 6f 6e 20 6d | the bis|ection m|
|00000fd0| 65 74 68 6f 64 2e 0d 7d | 0d 20 76 61 72 09 6a 3a |ethod..}|. var.j:|
|00000fe0| 69 6e 74 65 67 65 72 3b | 0d 20 09 09 09 09 70 3a |integer;|. ....p:|
|00000ff0| 69 6e 74 65 67 65 72 3b | 0d 20 62 65 67 69 6e 0d |integer;|. begin.|
|00001000| 09 70 3a 3d 31 3b 0d 09 | 69 66 20 78 78 28 6c 61 |.p:=1;..|if xx(la|
|00001010| 73 74 49 6e 64 65 78 29 | 3c 3d 74 61 72 67 65 74 |stIndex)|<=target|
|00001020| 20 74 68 65 6e 0d 09 62 | 65 67 69 6e 0d 09 09 6a | then..b|egin...j|
|00001030| 32 3a 3d 6c 61 73 74 49 | 6e 64 65 78 2b 31 3b 0d |2:=lastI|ndex+1;.|
|00001040| 09 09 77 68 69 6c 65 20 | 78 78 28 6a 32 29 3c 74 |..while |xx(j2)<t|
|00001050| 61 72 67 65 74 20 64 6f | 0d 09 09 62 65 67 69 6e |arget do|...begin|
|00001060| 0d 09 09 09 70 3a 3d 70 | 2b 70 3b 0d 09 09 09 6a |....p:=p|+p;....j|
|00001070| 32 3a 3d 6a 32 2b 70 3b | 0d 09 09 09 69 66 20 6a |2:=j2+p;|....if j|
|00001080| 32 3e 69 4d 61 78 20 74 | 68 65 6e 20 6a 32 3a 3d |2>iMax t|hen j2:=|
|00001090| 69 4d 61 78 3b 0d 09 09 | 65 6e 64 3b 0d 09 09 6a |iMax;...|end;...j|
|000010a0| 31 3a 3d 6a 32 2d 70 3b | 0d 09 65 6e 64 0d 09 65 |1:=j2-p;|..end..e|
|000010b0| 6c 73 65 0d 09 62 65 67 | 69 6e 0d 09 09 6a 31 3a |lse..beg|in...j1:|
|000010c0| 3d 6c 61 73 74 49 6e 64 | 65 78 2d 31 3b 0d 09 09 |=lastInd|ex-1;...|
|000010d0| 77 68 69 6c 65 20 78 78 | 28 6a 31 29 3e 74 61 72 |while xx|(j1)>tar|
|000010e0| 67 65 74 20 64 6f 0d 09 | 09 62 65 67 69 6e 0d 09 |get do..|.begin..|
|000010f0| 09 09 70 3a 3d 70 2b 70 | 3b 0d 09 09 09 6a 31 3a |..p:=p+p|;....j1:|
|00001100| 3d 6a 31 2d 70 3b 0d 09 | 09 09 69 66 20 70 3c 31 |=j1-p;..|..if p<1|
|00001110| 20 74 68 65 6e 20 70 3a | 3d 31 3b 0d 09 09 65 6e | then p:|=1;...en|
|00001120| 64 3b 0d 09 09 6a 32 3a | 3d 6a 31 2b 70 3b 0d 09 |d;...j2:|=j1+p;..|
|00001130| 65 6e 64 3b 0d 09 0d 09 | 77 68 69 6c 65 20 28 6a |end;....|while (j|
|00001140| 32 2d 6a 31 29 3e 31 20 | 64 6f 0d 09 62 65 67 69 |2-j1)>1 |do..begi|
|00001150| 6e 0d 09 09 09 20 6a 3a | 3d 72 6f 75 6e 64 28 28 |n.... j:|=round((|
|00001160| 6a 32 2b 6a 31 29 2f 32 | 2d 30 2e 34 39 39 39 39 |j2+j1)/2|-0.49999|
|00001170| 39 39 29 3b 0d 20 09 09 | 09 69 66 20 78 78 28 6a |99);. ..|.if xx(j|
|00001180| 29 3e 74 61 72 67 65 74 | 20 74 68 65 6e 20 6a 32 |)>target| then j2|
|00001190| 3a 3d 6a 20 65 6c 73 65 | 20 6a 31 3a 3d 6a 3b 0d |:=j else| j1:=j;.|
|000011a0| 20 09 65 6e 64 3b 0d 09 | 20 77 68 69 6c 65 20 28 | .end;..| while (|
|000011b0| 6e 6f 74 20 64 61 74 61 | 6f 6b 28 6a 31 2c 78 63 |not data|ok(j1,xc|
|000011c0| 29 29 20 6f 72 20 28 6e | 6f 74 20 64 61 74 61 6f |)) or (n|ot datao|
|000011d0| 6b 28 6a 31 2c 79 63 29 | 29 20 64 6f 20 6a 31 3a |k(j1,yc)|) do j1:|
|000011e0| 3d 6a 31 2b 31 3b 0d 20 | 09 77 68 69 6c 65 20 28 |=j1+1;. |.while (|
|000011f0| 6e 6f 74 20 64 61 74 61 | 6f 6b 28 6a 32 2c 78 63 |not data|ok(j2,xc|
|00001200| 29 29 20 6f 72 20 28 6e | 6f 74 20 64 61 74 61 6f |)) or (n|ot datao|
|00001210| 6b 28 6a 32 2c 79 63 29 | 29 20 64 6f 20 6a 32 3a |k(j2,yc)|) do j2:|
|00001220| 3d 6a 32 2b 31 3b 0d 65 | 6e 64 3b 0d 0d 62 65 67 |=j2+1;.e|nd;..beg|
|00001230| 69 6e 0d 20 78 3a 3d 78 | 2b 61 5b 31 5d 3b 0d 0d |in. x:=x|+a[1];..|
|00001240| 20 69 66 20 78 3c 47 6c | 6f 62 4d 69 6e 20 74 68 | if x<Gl|obMin th|
|00001250| 65 6e 0d 09 20 09 46 69 | 6e 64 28 4c 61 73 74 6a |en.. .Fi|nd(Lastj|
|00001260| 2c 47 6c 6f 62 4d 69 6e | 29 0d 20 65 6c 73 65 20 |,GlobMin|). else |
|00001270| 69 66 20 78 3e 20 47 6c | 6f 62 6d 61 78 20 74 68 |if x> Gl|obmax th|
|00001280| 65 6e 0d 09 20 09 46 69 | 6e 64 28 4c 61 73 74 6a |en.. .Fi|nd(Lastj|
|00001290| 2c 47 6c 6f 62 6d 61 78 | 29 0d 20 65 6c 73 65 20 |,Globmax|). else |
|000012a0| 46 69 6e 64 28 4c 61 73 | 74 6a 2c 78 29 3b 0d 0d |Find(Las|tj,x);..|
|000012b0| 20 4c 61 73 74 6a 3a 3d | 6a 31 3b 0d 0d 20 79 3a | Lastj:=|j1;.. y:|
|000012c0| 3d 64 61 74 61 5b 6a 31 | 2c 79 63 5d 2b 28 78 2d |=data[j1|,yc]+(x-|
|000012d0| 64 61 74 61 5b 6a 31 2c | 78 63 5d 29 2f 28 64 61 |data[j1,|xc])/(da|
|000012e0| 74 61 5b 6a 32 2c 78 63 | 5d 2d 64 61 74 61 5b 6a |ta[j2,xc|]-data[j|
|000012f0| 31 2c 78 63 5d 29 2a 28 | 64 61 74 61 5b 6a 32 2c |1,xc])*(|data[j2,|
|00001300| 79 63 5d 2d 64 61 74 61 | 5b 6a 31 2c 79 63 5d 29 |yc]-data|[j1,yc])|
|00001310| 3b 0d 0d 20 79 3a 3d 79 | 2a 61 5b 33 5d 3b 0d 20 |;.. y:=y|*a[3];. |
|00001320| 79 3a 3d 79 2b 61 5b 32 | 5d 3b 0d 65 6e 64 3b 00 |y:=y+a[2|];.end;.|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 01 00 00 00 02 b9 | 00 00 01 b9 00 00 00 76 |........|.......v|
|00001390| 20 6e 65 69 67 68 62 6f | 75 72 68 6f 6f 64 20 6f | neighbo|urhood o|
|000013a0| 66 20 74 68 65 20 70 61 | 72 61 6d 65 74 65 72 20 |f the pa|rameter |
|000013b0| 1c 4c 69 6e 65 61 72 20 | 69 6e 74 65 72 70 6f 6c |.Linear |interpol|
|000013c0| 61 74 69 6f 6e 20 6f 66 | 20 64 61 74 61 66 02 00 |ation of| dataf..|
|000013d0| 00 00 66 74 46 43 4e 4c | 66 74 01 00 ff ff ff ff |..ftFCNL|ft......|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 80 00 00 00 00 00 |........|........|
|000013f0| 00 00 a7 e7 16 85 00 00 | 12 af 00 00 03 2f 20 74 |........|...../ t|
|00001400| 68 69 73 20 69 73 20 6e | 6f 74 0d 20 67 6f 6f 64 |his is n|ot. good|
|00001410| 2c 20 74 68 65 20 70 72 | 6f 63 65 64 75 72 65 20 |, the pr|ocedure |
|00001420| 6c 6f 6f 6b 73 20 69 6e | 20 74 68 65 20 72 69 67 |looks in| the rig|
|00001430| 68 74 20 64 69 72 65 63 | 74 69 6f 6e 20 28 61 73 |ht direc|tion (as|
|00001440| 73 75 6d 69 6e 67 20 74 | 68 61 74 0d 20 74 68 65 |suming t|hat. the|
|00001450| 20 64 61 74 61 20 61 72 | 65 20 73 6f 72 74 65 64 | data ar|e sorted|
|00001460| 29 2c 20 6d 61 6b 69 6e | 67 20 61 6c 77 61 79 73 |), makin|g always|
|00001470| 20 77 69 64 65 72 20 73 | 74 65 70 73 20 75 6e 74 | wider s|teps unt|
|00001480| 00 00 00 08 01 b7 00 0d | 03 2a 02 6a 00 00 01 06 |........|.*.j....|
|00001490| 00 04 00 09 00 00 06 4d | 6f 6e 61 63 6f 28 40 a1 |.......M|onaco(@.|
|000014a0| 27 a0 00 5d c5 80 00 81 | 00 00 00 01 d9 94 fe 00 |'..]....|........|
|000014b0| 10 00 02 2f f0 dc 02 2f | ef 30 00 02 a2 04 00 0b |.../.../|.0......|
|000014c0| 00 06 00 0b 00 06 00 01 | ef 20 02 0a 57 18 00 00 |........|. ..W...|
|000014d0| 00 00 ff ff ff ff 02 2f | f0 40 02 0a 5a f8 03 6f |......./|.@..Z..o|
|000014e0| e1 c0 02 09 f0 7c 00 81 | 00 08 02 0a 05 00 02 0a |.....|..|........|
|000014f0| 57 ba 00 00 00 01 00 03 | c8 90 00 00 5c 30 00 00 |W.......|....\0..|
|00001500| 02 6b 00 00 00 3a 00 00 | 00 00 00 00 00 2a 00 00 |.k...:..|.....*..|
|00001510| 02 5b 00 00 00 00 02 2f | ef a0 24 08 02 82 00 14 |.[...../|..$.....|
|00001520| d9 e4 00 19 61 30 02 2f | ef a0 00 18 c3 2c 00 14 |....a0./|.....,..|
|00001530| d1 b4 00 00 5c 30 02 2f | ef a0 00 18 c3 2c 00 0d |....\0./|.....,..|
|00001540| 73 5c 00 0d 73 50 02 2f | ef d0 00 18 c3 2c 02 5c |s\..sP./|.....,.\|
|00001550| 00 2b 02 5c 00 2b 02 2f | ef b0 00 0d 73 74 00 11 |.+.\.+./|....st..|
|00001560| 47 c8 00 04 eb b0 00 00 | 64 d0 00 01 2f a4 00 00 |G.......|d.../...|
|00001570| 00 00 00 0b ae 60 02 0a | 7a da 00 19 61 10 07 80 |.....`..|z...a...|
|00001580| 03 80 00 00 00 00 02 2f | f0 00 02 2f ef f0 00 14 |......./|.../....|
|00001590| cf 48 00 00 00 02 00 00 | 00 10 00 00 00 00 00 00 |.H......|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 04 00 00 |........|........|
|000015b0| 00 01 00 00 00 78 00 03 | 00 00 00 48 00 48 00 00 |.....x..|...H.H..|
|000015c0| 00 00 03 00 02 4c ff f4 | ff f4 03 0c 02 58 03 47 |.....L..|.....X.G|
|000015d0| 05 28 03 fc 00 02 00 00 | 00 48 00 48 00 00 00 00 |.(......|.H.H....|
|000015e0| 02 da 02 28 00 01 00 00 | 00 64 00 00 00 01 00 01 |...(....|.d......|
|000015f0| 01 01 00 00 00 01 27 0f | 00 01 00 01 00 00 00 00 |......'.|........|
|00001600| 00 00 00 00 00 00 00 00 | 00 12 00 19 01 90 00 00 |........|........|
|00001610| 00 00 00 40 00 00 00 00 | 00 00 00 00 00 01 00 00 |...@....|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 00 07 06 70 72 6f 46 69 | 74 00 00 01 00 00 00 02 |...proFi|t.......|
|00001640| b9 00 00 01 b9 00 00 00 | 76 02 0a 8e 2c 25 76 00 |........|v...,%v.|
|00001650| 00 00 1c 00 76 00 01 66 | 49 4e 46 00 04 00 12 53 |....v..f|INF....S|
|00001660| 54 52 20 00 00 00 4e 00 | 81 ff ff 00 00 00 00 02 |TR ...N.|........|
|00001670| 0a 86 20 00 82 ff ff 00 | 00 00 0c 02 0a 82 8c 00 |.. .....|........|
|00001680| 83 ff ff 00 00 01 16 02 | 0a 82 9c 00 85 ff ff 00 |........|........|
|00001690| 00 01 2a 02 0a 82 a0 00 | 84 ff ff 00 00 01 32 02 |..*.....|......2.|
|000016a0| 0a 82 bc bf f4 ff ff 00 | 00 01 ae 02 0a 82 b0 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+