qcodes/instrument_drivers/Keysight/N9030B.py
def _set_start_offset(self, val: float) -> None:
        """
        Sets start offset for frequency in the plot
        """
        stop_offset = self.stop_offset()
        self.write(f":SENSe:LPLot:FREQuency:OFFSet:STARt {val}")
        start_offset = self.start_offset()

        if abs(val - start_offset) >= 1:
            self.log.warning(
                f"Could not set start offset to {val} setting it to "
                f"{start_offset}"
            )
        if val >= stop_offset or abs(val - stop_offset) < 10:
            self.log.warning(f"Provided start frequency offset {val} Hz was "
                             f"greater than preset stop frequency offset "
                             f"{stop_offset} Hz. Provided start frequency "
                             f"offset {val} Hz is set and new stop freq offset"
                             f" is: {self.stop_offset()} Hz.")

        Sets start offset for frequency in the plot
        
Sets start offset for frequency in the plot
Sets start offset for frequency in the plot
def _set_start_offset(self, val: float) -> None:
        stop_offset = self.stop_offset()
        self.write(f":SENSe:LPLot:FREQuency:OFFSet:STARt {val}")
        start_offset = self.start_offset()
        if abs(val - start_offset) >= 1:
            self.log.warning(
                f"Could not set start offset to {val} setting it to "
                f"{start_offset}"
            )
        if val >= stop_offset or abs(val - stop_offset) < 10:
            self.log.warning(f"Provided start frequency offset {val} Hz was "
                             f"greater than preset stop frequency offset "
                             f"{stop_offset} Hz. Provided start frequency "
                             f"offset {val} Hz is set and new stop freq offset"
                             f" is: {self.stop_offset()} Hz.")
def _set_start_offset ( self , val : float ) -> None : stop_offset = self . stop_offset ( ) self . write ( f":SENSe:LPLot:FREQuency:OFFSet:STARt {val}" ) start_offset = self . start_offset ( ) if abs ( val - start_offset ) >= 1 : self . log . warning ( f"Could not set start offset to {val} setting it to " f"{start_offset}" ) if val >= stop_offset or abs ( val - stop_offset ) < 10 : self . log . warning ( f"Provided start frequency offset {val} Hz was " f"greater than preset stop frequency offset " f"{stop_offset} Hz. Provided start frequency " f"offset {val} Hz is set and new stop freq offset" f" is: {self.stop_offset()} Hz." )
Sets start offset for frequency in the plot
Sets start offset for frequency in the plot
"""
        Sets start offset for frequency in the plot
        """
self
val
float