Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

c16 files format #139

Closed
VeloVolo opened this issue Jun 25, 2019 · 1 comment
Closed

c16 files format #139

VeloVolo opened this issue Jun 25, 2019 · 1 comment

Comments

@VeloVolo
Copy link

Could not figure how to import recorded c16 files into gnuradio. Trying to set "source file" and "throttle" blocks, but do not see proper waterfall chart. What data contain these files? complex, float..?
Could not find any information about these files.

@jboone
Copy link
Contributor

jboone commented Nov 16, 2019

Sorry for the delay.

These are 16-bit signed integers. Two 16-bit signed integers make up one complex (IQ) pair -- one complex sample. I would recommend using the "IShort to Complex" block to do this. You may also need to multiply by a constant (e.g. 1.0 / 32768.0) to normalize the complex float samples to +/- 1.0.

I hope that helps.

@jboone jboone closed this as completed Nov 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants