-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read IQ from file #32
Comments
The easiest way I see would be to modify the If you (or someone else) will tackle this, I strongly recommend basing your changes on the testing branch in the repository. The version of rtl_power_fftw in the testing branch has the capability of running on multiple CPU cores in parallel, whereas the one in master can only occupy one core. Due to the fairly tame sampling rate of rtl-sdr dongles, this does not make a difference in real-time processing on virtually all modern hardware, but for processing several hours of offline data, it certainly would. |
I will have a look, although I will be floundering around pasting code from elsewhere without actually understanding C++. I will probably end up in Matlab instead, just due to familiarity with prototyping this sort of thing there. I (conveniently for me) think the use case is within your design philosophy. If I only want a spectrum, this is the best tool for the job, but if I see transient features on a spectrum that I then want to investigate further, I am stuck if I haven't recorded the IQ too. In my eclipse case, those conditions are simply never going to repeat, so I just shovelled the data onto disk so as to look at broadband spectra later and compare the result against future, real time, less valuable spectra of normal diurnal variation in E and F layers over some weeks, for which rtl_power_fftw is perfect. Thank you in any case for thinking about it, and indeed for implementing fftw so nicely here in the first place. |
I have some raw IQ files (i.e. 2 x uint8 interleaved) output by rtl-sdr for a propagation experiment during the recent solar eclipse and I would rather like to use the backend of rtl-power-fftw to read them and generate power spectra which are directly comparable with those I would get using rtl-power-fftw to control the device as well as calculate and average the spectra. Is this easily possible, by any chance?
My files were made like this: ./rtl_sdr -f 6675000 -s 2048000 -D -n
expr 7200 \* 2048000
, i.e. a couple of hours of recording direct sampled HF data centred at 6675 kHz and sampled at 2048000 per sec.Happy to test with my direct sampled data and/or with a higher frequency band where I and Q are both relevant. I have plenty of signal processing experience but no C++. At the moment I am converting everything to float and reading in gqrx, where I can remind it what the true centre frequency was via the input line and obtain a waterfall display as a sanity check.
The text was updated successfully, but these errors were encountered: