def video_bandwidth(self): """Video bandwidth Parameters ---------- value : str {AUTO, 1 Hz to 10 MHz When set to AUTO, video bandwidth is based on the VideoBandwidth/RBW ratio. """ value = self._visa.query(f"SENSE{self._screen()}:BANDWIDTH:VIDEO?") return scale_frequency(float(value))
def center(self): """value (int or str): 0 to f_max in hertz string such as '1 GHz' keyword such as 'UP' or 'DOWN' Marker """ value = float( self._visa.query(f"SENSE{self._screen()}:FREQUENCY:CENTER?")) return scale_frequency(value)
def resolution_bandwidth(self): """Resolution bandwidth Parameters ---------- value : str {AUTO, 10 Hz to 50 MHz} When set to AUTO, RBW is based on the RBW/SPAN ratio. """ value = self._visa.query( f"SENSE{self._screen()}:BANDWIDTH:RESOLUTION?") return scale_frequency(float(value))
def cf_step(self): """value (int or string): {f Hz, SPAN, CENTER, MARKER}""" value = float( self._visa.query(f"SENSE{self._screen()}:FREQ:CENT:STEP?")) return scale_frequency(value)
def stop(self): """value (int or str): 0 to f_max in hertz or string such as '20 MHz'""" value = float( self._visa.query(f"SENSE{self._screen()}:FREQUENCY:STOP?")) return scale_frequency(value)
def span(self): """value (int or str): 0 to f_max in hertz or string such as '100 MHz' or 'FULL'""" value = float( self._visa.query(f"SENSE{self._screen()}:FREQUENCY:SPAN?")) return scale_frequency(value)
def stop_frequency(self): """value (int, str): stop frequency in hertz in discrete 1, 3 steps""" value = int(self._visa.query("FREQUENCY:STOP?")) return scale_frequency(value)
def video_bandwidth(self): """(str): 1 Hz to 10 MHz""" value = self._visa.query(f"SENSE{self._screen()}:BANDWIDTH:VIDEO?") return scale_frequency(float(value))
def resolution_bandwidth(self): """(str): 10 Hz to 50 MHz""" value = self._visa.query(f"SENSE{self._screen()}:BANDWIDTH:RESOLUTION?") return scale_frequency(float(value))
def X(self): """value (int or str): 0 to f_max Hz""" value = float( self._visa.query(f"CALC{self._screen()}:MARK{self._num}:X?")) return scale_frequency(value)
def resolution(self): """value (int or str): frequency counter resolution {0.1, 1, 10, ..., 10000} Hz""" value = float( self._visa.query(f"CALC{self._screen()}:MARK:COUNT:RESOLUTION?")) return scale_frequency(value)
def frequency(self): """(str): measured frequency at marker 1""" value = float( self._visa.query(f"CALC{self._screen()}:MARK:COUNT:FREQUENCY?")) return scale_frequency(value)