Clipping#
SCPI Commands :
- [SOURce<HW>]:BB:W3GPp:CLIPping:LEVel
- [SOURce<HW>]:BB:W3GPp:CLIPping:MODE
- [SOURce<HW>]:BB:W3GPp:CLIPping:STATe
- Commands in total: 3Subgroups: 0Direct child commands: 3
- get_level ( ) int
- set_level ( level: int ) None
# [SOURce<HW>]:BB:W3GPp:CLIPping:LEVel # get: value: int = driver.source.bb.w3Gpp.clipping.get_level() # set: driver.source.bb.w3Gpp.clipping.set_level(level = 1)
The command sets the limit for level clipping (Clipping) . This value indicates at what point the signal is clipped. It is specified as a percentage, relative to the highest level. 100% indicates that clipping does not take place. Level clipping is activated with the command SOUR:BB:W3GP:CLIP:STAT ON
- Parameters:
level – integer
- get_mode ( ) ClipMode
- set_mode ( mode: ClipMode ) None
# [SOURce<HW>]:BB:W3GPp:CLIPping:MODE # get: value: enums.ClipMode = driver.source.bb.w3Gpp.clipping.get_mode() # set: driver.source.bb.w3Gpp.clipping.set_mode(mode = enums.ClipMode.SCALar)
The command sets the method for level clipping (Clipping) .
- Parameters:
mode – VECTor | SCALar
VECTor: The reference level is the amplitude i+jq
SCALar: The reference level is the absolute maximum of the I and Q values.
- get_state ( ) bool
- set_state ( state: bool ) None
# [SOURce<HW>]:BB:W3GPp:CLIPping:STATe # get: value: bool = driver.source.bb.w3Gpp.clipping.get_state() # set: driver.source.bb.w3Gpp.clipping.set_state(state = False)
Activates level clipping.
- Parameters:
state – 1 | ON | 0| OFF