Data

SCPI Command :

CALCulate<n>:MASK:UPPer[:DATA]
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class DataStruct[source]

Response structure. Fields:

  • 1 Frequency: List[float]: Frequency of the data point within the current span. Unit: Hz

  • 2 Level: List[float]: Level of the data point. The unit of the power levels depends on method RsFsw.calculate.mask.mode.set() . Unit: DBM

get(window=Window.Default) DataStruct[source]
# CALCulate<n>:MASK:UPPer[:DATA]
value: DataStruct = driver.calculate.mask.upper.data.get(window = repcap.Window.Default)

Activates and defines the shape of the upper frequency mask trigger mask. You have to select a mask before you can use this command with method RsFsw.calculate.mask.name.set() . [N] pairs of numerical values. [N] is the number of data points the mask consists of. Each data point is defined by the frequency and the level. All values are separated by commas.

Parameters:

window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

Returns:

structure: for return value, see the help for DataStruct structure arguments.

set(frequency: List[float], level: List[float], window=Window.Default) None[source]
# CALCulate<n>:MASK:UPPer[:DATA]
driver.calculate.mask.upper.data.set(frequency = [1.1, 2.2, 3.3], level = [1.1, 2.2, 3.3], window = repcap.Window.Default)

Activates and defines the shape of the upper frequency mask trigger mask. You have to select a mask before you can use this command with method RsFsw.calculate.mask.name.set() . [N] pairs of numerical values. [N] is the number of data points the mask consists of. Each data point is defined by the frequency and the level. All values are separated by commas.

Parameters:
  • frequency – Frequency of the data point within the current span. Unit: Hz

  • level – Level of the data point. The unit of the power levels depends on method RsFsw.calculate.mask.mode.set() . Unit: DBM

  • window – optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)