OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
ui.radio.sdrforge_spectrum_if.SpectrumViewportControlIf Class Reference

Frontend-neutral viewport operations; none retune the receiver. More...

Public Member Functions

None pan_spectrum (self, float fraction)
 Shift the displayed spectrum window.
None zoom_spectrum (self, float factor)
 Scale the displayed spectrum window.
None set_recenter_on_tune (self, bool enabled)
 Set the viewport recentering policy.

Detailed Description

Frontend-neutral viewport operations; none retune the receiver.

Member Function Documentation

◆ pan_spectrum()

None ui.radio.sdrforge_spectrum_if.SpectrumViewportControlIf.pan_spectrum ( self,
float fraction )

Shift the displayed spectrum window.

Parameters
fractionSigned fraction of the visible span to shift.

◆ set_recenter_on_tune()

None ui.radio.sdrforge_spectrum_if.SpectrumViewportControlIf.set_recenter_on_tune ( self,
bool enabled )

Set the viewport recentering policy.

Parameters
enabledWhether tuning should recenter the viewport.

◆ zoom_spectrum()

None ui.radio.sdrforge_spectrum_if.SpectrumViewportControlIf.zoom_spectrum ( self,
float factor )

Scale the displayed spectrum window.

Parameters
factorPositive multiplier of the visible span.

The documentation for this class was generated from the following file:
  • ui/radio/sdrforge_spectrum_if.py