[1e781ba] | 1 | * General structure of a PPDW sample file 17151-1.ppdw
|
---|
| 2 |
|
---|
| 3 | 1. PPDW files include only the data bodies of a signal, but neither headers nor iq data)
|
---|
| 4 | 2. size of ppdw file = number of pulses * 8 * 32 bit
|
---|
| 5 | 3. data like integers are stored little endian
|
---|
| 6 |
|
---|
| 7 | * PDW Body (8 words - 32 bit each word)
|
---|
| 8 |
|
---|
| 9 | ** Word 1 and 2
|
---|
| 10 |
|
---|
| 11 | *** 64 bit timestamp
|
---|
| 12 |
|
---|
| 13 | 0x60b6837b0492c414 = 0x14c492047b83b660 = Integer 1496481524143601248 nanoseconds = 2017-06-03 09:18:44
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | ** Word 3
|
---|
| 17 |
|
---|
| 18 | *** 32 bit format and center frequency
|
---|
| 19 |
|
---|
| 20 | 0x0a212e00 = 0x002e210a = Integer 3023114 KHz = 3.023114 GHz
|
---|
| 21 |
|
---|
| 22 | 00000-000-00101110-00100001-00001010
|
---|
| 23 |
|
---|
| 24 |
|
---|
| 25 | ** Word 4
|
---|
| 26 |
|
---|
| 27 | *** 32 bit flags and pulse width in nanoseconds (0-24)
|
---|
| 28 |
|
---|
| 29 | 0xbc020078 = 0x780002bc = 0-1-1-1-1-00-0-00000000-00000010-10111100
|
---|
| 30 |
|
---|
| 31 | 0 - valid flag - invalid
|
---|
| 32 | 1 - pulse flag - pulse
|
---|
| 33 | 1 - level unit - dbµV
|
---|
| 34 | 1 - signal no start - signal started before time of arrival
|
---|
| 35 | 1 - signal no end - signal stops after time of arrival
|
---|
| 36 | 00 - reserved
|
---|
| 37 |
|
---|
| 38 | Pulse width = 0-00000000-00000010-10111100 = Integer 700 nano seconds
|
---|
| 39 |
|
---|
| 40 |
|
---|
| 41 | ** Word 5
|
---|
| 42 |
|
---|
| 43 | *** 32 bit frequency shift or bandwidth and level
|
---|
| 44 |
|
---|
| 45 | 0xf9023a00 = 0x003a02f9 = 00000000-00111010-0000-001011111001
|
---|
| 46 |
|
---|
| 47 | Frequency shift (12-31) 00000000-00111010-0000 = Integer 928 KHz
|
---|
| 48 | Level = (0-11) 001011111001 = 761 dbµV
|
---|
| 49 |
|
---|
| 50 |
|
---|
| 51 | ** Word 6
|
---|
| 52 |
|
---|
| 53 | *** 32 bit IO, confidence, modulation, sector
|
---|
| 54 |
|
---|
| 55 | 0x0000b07e = 0x7eb00000 = 0-111111-01011-0000000000000000-0000
|
---|
| 56 |
|
---|
| 57 | 0 - Signal invalid
|
---|
| 58 |
|
---|
| 59 | 111111 - confidence not valid
|
---|
| 60 |
|
---|
| 61 | 01011 - modulation (pulse too short)
|
---|
| 62 |
|
---|
| 63 | 0000000000000000 - reserved
|
---|
| 64 |
|
---|
| 65 | 0000 - sector invalid
|
---|
| 66 |
|
---|
| 67 |
|
---|
| 68 | ** Word 7
|
---|
| 69 |
|
---|
| 70 | *** 32 bit polarity, quality, elevation, azimuth
|
---|
| 71 |
|
---|
| 72 | 0xff0f4000 = 0x00400fff = 00-0000000-10000000000-11111111-1111
|
---|
| 73 |
|
---|
| 74 | 00 - polarity - horizontal or unknown
|
---|
| 75 | 0000000 - quality zero
|
---|
| 76 | 10000000000 - elevation = invalid
|
---|
| 77 | 11111111-1111 - azimuth = no azimuth
|
---|
| 78 |
|
---|
| 79 |
|
---|
| 80 | ** Word 8
|
---|
| 81 |
|
---|
| 82 | *** 32 bit reserved and channel number
|
---|
| 83 |
|
---|
| 84 | 0x00000010 = 0x10000000 = 0001-0000-00000000-00000000-00000000
|
---|
| 85 |
|
---|
| 86 | 0001 - channel one
|
---|
| 87 |
|
---|
| 88 | rest zero - reserved
|
---|
| 89 |
|
---|
| 90 |
|
---|
| 91 | ** Word 1 and 2 of next data body
|
---|
| 92 |
|
---|
| 93 | *** 64 bit timestamp
|
---|
| 94 |
|
---|
| 95 | 0xcb5d927b0492c414 = 0x14c492047b925dcb = Integer 149648152414561611 seconds = 2017-06-03 09:18:44
|
---|