Forums › General Discussions › using the API to query real-time to get peak to mean ratio CDF etc
- This topic has 1 reply, 2 voices, and was last updated 9 years, 5 months ago by
Andrew.
- AuthorPosts
CyprienParticipantHi,
When querying the real-time API bbQueryRealTimeInfo the frameWidth does not appear to be the same as the sweepSize. What controls this dimension and is it user settable?
I was hoping to get the distribution of amplitude for each point in the FFT and then calculate peak to average and the CDF, but I guess I have misunderstood the function and purpose. The signal I am looking at is transient hence the use of real-time mode.
Any help on how to do or if I am barking up the wrong tree?
I am using a BB60C
Thanks.
AndrewModeratorHello Cyprien,
The frameWidth is the sweep size divided by an even integer if the sweepSize is >= 1024. This means, the frameWidth will always be between 512 and 1023. Example, If the sweepSize is 1026 then the frameWidth will be 513, and each column in the frame will be the contribution of two bins of the sweep. We always use an even integer divisor so you can consistently determine which sweep bins fall into the frame columns.
The frame returned is the accumulation and scaling of the last 20 frames. It is implemented as a 20 frame FIFO. If you specify the default 30FPS, then each frame is the accumulation of the last 2/3 second.
If you have any further questions, let me know.
Regards,
A.J.- AuthorPosts
You must be logged in to reply to this topic.