Wykres commitów

172 Commity (ca5fada2d05f85764d89facf05388abca53de262)

Autor SHA1 Wiadomość Data
proto17 ca5fada2d0
Update README.md 2022-04-30 12:27:46 -04:00
proto17 f312a1cc14
Update README.md 2022-04-30 12:26:42 -04:00
proto17 b80be8d9b8
Update README.md 2022-04-30 12:25:51 -04:00
David Protzman 9e2aafab50 Moved the offset index back 1 FFT size
This is because the new xcorr function is forward looking vs reverse looking
2022-04-30 12:00:04 -04:00
David Protzman 46b2c4dad5 Warning the user if correlation threshold > 1.0
Now that the xcorr is truly normalized, there's no good reason to go above 1.0
2022-04-30 11:59:32 -04:00
David Protzman 388d4acd7b Erroring if correlation threshold < 0 2022-04-30 11:59:05 -04:00
David Protzman 4309068874 Added comments 2022-04-30 11:58:21 -04:00
David Protzman 60ea5e6f3f Shrunk the peak search window from 100 to 10
No reason to look that far around for the peak of a ZC sequence correlation
2022-04-30 11:58:02 -04:00
David Protzman b442f73baf Now using a truly normalized cross correlation 2022-04-30 11:57:09 -04:00
David Protzman e4a49306b2 Added running sum for abs squared 2022-04-28 23:04:50 -04:00
David Protzman 9daf1ecaab Added missing update to `prev_val` 2022-04-28 22:46:08 -04:00
David Protzman 1d2698c0af Added a new normalized xcorr function that's faster
Does trade some accuracy in the process
2022-04-28 22:43:57 -04:00
David Protzman 63e26007f8 Merge branch 'main' of github.com:proto17/dji_droneid into main 2022-04-26 22:25:44 -04:00
David Protzman c173de56b4 Added default sample type 2022-04-26 22:18:38 -04:00
David Protzman 5e800d24d0 Making use of get_bytes_per_sample function in convert file type 2022-04-26 22:17:53 -04:00
David Protzman 38352ec47b Casting bursts to double complex 2022-04-26 22:17:17 -04:00
David Protzman 43a19fe44a Added comments 2022-04-26 22:16:08 -04:00
David Protzman 863bf910be Added varargs for extract bursts and find zc seq funcs 2022-04-26 22:15:47 -04:00
David Protzman 94ee1b3602 Updated get_sample_count_of_file to use new function for num of bytes/sample 2022-04-26 21:28:59 -04:00
David Protzman 3213764d68 Added function to get the number of bytes in a numeric type 2022-04-26 21:23:16 -04:00
David Protzman df18420eaf Fixed bug where floating point samples came back as 'single'
This would cause lots of functions to fail since a lot of the dsp functions rely on doubles
2022-04-26 21:12:32 -04:00
proto17 6856680800
Merge pull request #2 from hb9fxq/patch-1
abandon burst at invalid left_idx (0)
2022-04-25 06:42:36 -04:00
Frank Werner-Krippendorf 62fd7eda90
abandon burst at invalid left_idx (0) 2022-04-25 08:44:47 +02:00
David Protzman d8f7b73c37 Added function to convert between IQ formats 2022-04-24 16:57:20 -04:00
David Protzman 6c875b5014 Had to change dimensions on freq correction vector
This happened due to a change in the read_complex_floats function
2022-04-24 16:45:07 -04:00
David Protzman 8fe194bcd6 Added script to normalize an input vector to -1.0 to 1.0 2022-04-24 16:44:33 -04:00
David Protzman 0544182553 Now normalizing the IFFT outputs 2022-04-24 16:44:07 -04:00
David Protzman 3b1448497b Now just calling write_complex 2022-04-24 16:42:40 -04:00
David Protzman 9d259ca6fc Converted create_burst to a function 2022-04-24 15:02:38 -04:00
David Protzman 30f5ecff6e Added function to get the number of seconds since epoch 2022-04-24 15:01:59 -04:00
David Protzman 5daf3dd4cc Now using the read_complex function 2022-04-24 14:48:40 -04:00
David Protzman d57e1e880f Add function to read arbitrary type complex samples from a file 2022-04-24 14:48:29 -04:00
David Protzman f7bcb5eb55 Created function to write complex samples to disk 2022-04-24 14:29:33 -04:00
David Protzman 60ea2b16bc Converted the create_burst script to a function 2022-04-24 00:52:24 -04:00
David Protzman 40a604dd23 Added more plots 2022-04-24 00:45:05 -04:00
David Protzman df098c3e6c Fixed bug in coarse freq recovery
The windows were one sample misaligned in time
2022-04-24 00:42:08 -04:00
David Protzman 7d9f15b28f No longer using `vars{:}`
Would likely end up confusing users
2022-04-24 00:40:41 -04:00
David Protzman 9ad6b0976d Now forcing creation of 9 OFDM symbols 2022-04-24 00:40:17 -04:00
David Protzman df94a81670 The create_burst_2.m is now the main create_burst.m 2022-04-24 00:05:52 -04:00
David Protzman 63370cd7a2 Removed the original create_burst.m script
Will replace with next commit
2022-04-24 00:04:14 -04:00
David Protzman 1dd71fadab Made plotting optional 2022-04-24 00:03:02 -04:00
David Protzman f074e3f4de Made plotting optional 2022-04-24 00:02:03 -04:00
David Protzman 29e211a49e Removed commented out lines 2022-04-24 00:01:53 -04:00
David Protzman e47277c32a Changed to a more reasonable SNR
60 is actually about 30 when looking at the 10*log10(abs(samples).^2) plot
2022-04-24 00:01:11 -04:00
David Protzman 6c45489961 Removed comm.OFDMModulator 2022-04-23 23:59:56 -04:00
David Protzman cbb38ab748 Script is currently working, but not well
Something is up when using the equalizer in demod
2022-04-23 23:45:31 -04:00
David Protzman be583bef6c Fixed bug in create_zc
It was using the wrong FFT bin indices
2022-04-23 18:41:34 -04:00
David Protzman 834015d70b Now plotting time domain of each OFDM symbol 2022-04-23 18:40:52 -04:00
David Protzman 3ee632111a Added logic to deal with the walking phase offset caused by fractional time offset 2022-04-23 18:40:26 -04:00
David Protzman 3f2d65cc12 Fixed bug in data carrier mapping script
It was using the wrong DC carrier index and likely wrong about the left and right most data carrier indices
2022-04-23 18:32:43 -04:00