Tuesday, July 9, 2024

Re: Limiting X-axis Scale in GNU Radio QT GUI Frequency Sink Block

Hi Muhammad,

you simply resample to that bandwidth before feeding into the frequency sink. Note that
the labels on the x-axis are only derived from the bandwidth you set in the frequency
sink; in fact, the frequency sink knows nothing about "real" frequencies, it only sees the
sample values, so all things it does are scaled to the Nyquist bandwidth.

Best regards,
Marcus

On 09.07.24 11:10, Muhammad Anas wrote:
> Dear GNU Radio Community,
>
> I hope this message finds you well. Currently, I am engaged in a project involving
> spectrum analysis through GNU Radio Companion, utilizing the QT GUI Frequency Sink block
> for visualizing the frequency spectrum.
>
> I am seeking guidance on a specific requirement: Is there a straightforward method to
> restrict the x-axis scale of the frequency spectrum display between any two frequencies,
> such as -500 Hz to 500 Hz?
>
> Your insights or suggestions on achieving this would be immensely valuable to my project.
>
> Thank you sincerely for your assistance.
>
> Best regards,
>
> Muhammad Anas
>

No comments:

Post a Comment