nirfmxvna 26.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. nirfmxvna/__init__.py +106 -0
  2. nirfmxvna/attributes.py +2234 -0
  3. nirfmxvna/enums.py +1048 -0
  4. nirfmxvna/errors.py +96 -0
  5. nirfmxvna/examples/nirfmxvna_calibration_with_calset_save_two_port.py +186 -0
  6. nirfmxvna/examples/nirfmxvna_pulsed_s_params.py +174 -0
  7. nirfmxvna/examples/nirfmxvna_s_params_corrected_with_calset_load_two_port_grpc.py +234 -0
  8. nirfmxvna/examples/nirfmxvna_waves.py +174 -0
  9. nirfmxvna/grpc_session_options.py +64 -0
  10. nirfmxvna/internal/_custom_types.py +13 -0
  11. nirfmxvna/internal/_grpc_stub_interpreter.py +1757 -0
  12. nirfmxvna/internal/_helper.py +387 -0
  13. nirfmxvna/internal/_library.py +3790 -0
  14. nirfmxvna/internal/_library_interpreter.py +3011 -0
  15. nirfmxvna/internal/_library_singleton.py +53 -0
  16. nirfmxvna/internal/nidevice_pb2.py +37 -0
  17. nirfmxvna/internal/nidevice_pb2_grpc.py +3 -0
  18. nirfmxvna/internal/nirfmxvna_pb2.py +1094 -0
  19. nirfmxvna/internal/nirfmxvna_pb2_grpc.py +9990 -0
  20. nirfmxvna/internal/session_pb2.py +33 -0
  21. nirfmxvna/internal/session_pb2_grpc.py +3 -0
  22. nirfmxvna/iq.py +31 -0
  23. nirfmxvna/iq_configuration.py +290 -0
  24. nirfmxvna/iq_results.py +108 -0
  25. nirfmxvna/marker.py +31 -0
  26. nirfmxvna/marker_configuration.py +429 -0
  27. nirfmxvna/marker_results.py +168 -0
  28. nirfmxvna/s_params.py +31 -0
  29. nirfmxvna/s_params_configuration.py +1656 -0
  30. nirfmxvna/s_params_results.py +244 -0
  31. nirfmxvna/vna.py +12920 -0
  32. nirfmxvna/waves.py +31 -0
  33. nirfmxvna/waves_configuration.py +1255 -0
  34. nirfmxvna/waves_results.py +235 -0
  35. nirfmxvna-26.3.0.dist-info/METADATA +228 -0
  36. nirfmxvna-26.3.0.dist-info/RECORD +38 -0
  37. nirfmxvna-26.3.0.dist-info/WHEEL +4 -0
  38. nirfmxvna-26.3.0.dist-info/licenses/LICENSE +30 -0
nirfmxvna/enums.py ADDED
@@ -0,0 +1,1048 @@
1
+ """enums.py - Contains enum classes."""
2
+
3
+ from enum import Enum, IntFlag
4
+
5
+
6
+ class TriggerType(Enum):
7
+ """TriggerType."""
8
+
9
+ NONE = 0
10
+ r"""No trigger is configured."""
11
+
12
+ DIGITAL_EDGE = 1
13
+ r"""The trigger is asserted when a digital edge is detected. You can specify the source of the digital edge using the
14
+ :py:attr:`~nirfmxvna.attributes.AttributeID.DIGITAL_EDGE_TRIGGER_SOURCE` attribute."""
15
+
16
+ SOFTWARE = 2
17
+ r"""The trigger is asserted when you send a software trigger. Use :py:meth:`send_software_edge_trigger` method to send a
18
+ software trigger. RFmx ignores Software Edge Trigger when performing Calibration."""
19
+
20
+
21
+ class DigitalEdgeTriggerEdge(Enum):
22
+ """DigitalEdgeTriggerEdge."""
23
+
24
+ RISING_EDGE = 0
25
+ r"""The trigger asserts on the rising edge of the digital-signal."""
26
+
27
+ FALLING_EDGE = 1
28
+ r"""The trigger asserts on the falling edge of the digital-signal."""
29
+
30
+
31
+ class TriggerMode(Enum):
32
+ """TriggerMode."""
33
+
34
+ SIGNAL = 0
35
+ r"""VNA waits for asserting only one instance of trigger before acquiring all data points for the configured measurements
36
+ in the RFmxVNA Signal namespace. You can specify the RFmxVNA Signal name using `Selector String
37
+ <https://www.ni.com/docs/en-US/bundle/rfmx/page/selector-strings-net.html>`_ attribute."""
38
+
39
+ SWEEP = 1
40
+ r"""All data points that share a source port are acquired after VNA asserts one instance of the trigger.
41
+
42
+ For example, when you measure S11 and S22 at 10 frequency points using a 2-port VNA, after asserting the first
43
+ instance of trigger, the device completes all acquisitions that require VNA port 1 as source. Upon asserting the second
44
+ trigger, the device completes all acquisitions that require VNA port 2 as source."""
45
+
46
+ POINT = 2
47
+ r"""VNA acquires only one data point for each trigger instance that it asserts.
48
+
49
+ For example, when you measure S11 and S22 at 10 frequency points using a 2-port VNA, the device will assert a
50
+ total of 20 trigger instances to complete all acquisitions."""
51
+
52
+ SEGMENT = 3
53
+ r"""When :py:attr:`~nirfmxvna.attributes.AttributeID.SWEEP_TYPE` attribute is set to **Segment**, all data points within a
54
+ segment that share a source port are acquired after VNA asserts one instance of the trigger.
55
+
56
+ For example, when measuring S11 and S22 using a 2-port VNA across 2 frequency segments, each containing 4
57
+ frequency points, after the first trigger is asserted, the device completes all acquisitions in the first segment that
58
+ require VNA port 1 as source. Upon asserting the second trigger, the device completes all acquisitions in the second
59
+ segment that require VNA port 1 as source. On the third trigger, the device completes all acquisitions in the first
60
+ segment that require VNA port 2 as source. On the fourth trigger, the device completes all acquisitions in the second
61
+ segment that require VNA port 2 as source. Therefore, a total of 4 triggers are required to complete all acquisitions
62
+ of both segments for both source ports."""
63
+
64
+
65
+ class ReadyForTriggerEventLevel(Enum):
66
+ """ReadyForTriggerEventLevel."""
67
+
68
+ ACTIVE_HIGH = 0
69
+ r"""Event level is HIGH when analyzer is ready to receive trigger."""
70
+
71
+ ACTIVE_LOW = 1
72
+ r"""Event level is LOW when analyzer is ready to receive trigger."""
73
+
74
+
75
+ class IndexEventLevel(Enum):
76
+ """IndexEventLevel."""
77
+
78
+ ACTIVE_HIGH = 0
79
+ r"""Event level is HIGH when analyzer has completed all the acquisitions for the signal."""
80
+
81
+ ACTIVE_LOW = 1
82
+ r"""Event level is LOW when analyzer has completed all the acquisitions for the signal."""
83
+
84
+
85
+ class SweepType(Enum):
86
+ """SweepType."""
87
+
88
+ LIST = 0
89
+ r"""The frequency is swept in arbitrary frequency steps."""
90
+
91
+ LINEAR = 1
92
+ r"""The frequency is swept in equidistant steps over the frequency range."""
93
+
94
+ SEGMENT = 2
95
+ r"""The frequency is swept in frequency sub-sweeps, called segments. For each segment, you can define independent values
96
+ for settings like IF bandwidth, dwell time, source power level and test receiver attenuation."""
97
+
98
+ CW_TIME = 4
99
+ r"""The sweep is performed repeatedly on a single frequency and the measurement results are displayed versus time."""
100
+
101
+
102
+ class AutoIFBandwidthScalingEnabled(Enum):
103
+ """AutoIFBandwidthScalingEnabled."""
104
+
105
+ FALSE = 0
106
+ r"""Disables automatic IF Bandwidth scaling that compensates for the increased VNA receiver noise at low frequencies."""
107
+
108
+ TRUE = 1
109
+ r"""Enables automatic IF Bandwidth scaling that compensates for the increased VNA receiver noise at low frequencies."""
110
+
111
+
112
+ class SweepSequence(Enum):
113
+ """SweepSequence."""
114
+
115
+ STANDARD = 0
116
+ r"""Acquisitions for all frequency points are completed with the first source port before moving to the next source port.
117
+ For example, if there are three frequency points f1, f2 and f3 and two source ports, port1 and port2, then the sweep
118
+ sequence will be (f1, port1), (f2, port1), (f3, port1), (f1, port2), (f2, port2), (f3, port2)."""
119
+
120
+ POINT = 1
121
+ r"""All acquisitions for a frequency point are completed with all required source ports, before moving to the next
122
+ frequency point. For example, if there are three frequency points f1, f2 and f3 and two source ports, port1 and port2,
123
+ then the sweep sequence will be (f1, port1), (f1, port2), (f2, port1), (f2, port2), (f3, port1), (f3, port2)."""
124
+
125
+
126
+ class SegmentEnabled(Enum):
127
+ """SegmentEnabled."""
128
+
129
+ FALSE = 0
130
+ r"""Disables the selected segment."""
131
+
132
+ TRUE = 1
133
+ r"""Enables the selected segment."""
134
+
135
+
136
+ class SegmentPowerLevelEnabled(Enum):
137
+ """SegmentPowerLevelEnabled."""
138
+
139
+ FALSE = 0
140
+ r"""All segments are measured with the source power level that you specify using
141
+ :py:attr:`~nirfmxvna.attributes.AttributeID.POWER_LEVEL` attribute."""
142
+
143
+ TRUE = 1
144
+ r"""The selected segment is measured with the source power level that you specify using
145
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SEGMENT_POWER_LEVEL` attribute."""
146
+
147
+
148
+ class SegmentIFBandwidthEnabled(Enum):
149
+ """SegmentIFBandwidthEnabled."""
150
+
151
+ FALSE = 0
152
+ r"""All segments are measured with the digital IF filter bandwidth that you specify using
153
+ :py:attr:`~nirfmxvna.attributes.AttributeID.IF_BANDWIDTH` attribute."""
154
+
155
+ TRUE = 1
156
+ r"""The selected segment is measured with the digital IF filter bandwidth that you specify using
157
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SEGMENT_IF_BANDWIDTH` attribute."""
158
+
159
+
160
+ class SegmentTestReceiverAttenuationEnabled(Enum):
161
+ """SegmentTestReceiverAttenuationEnabled."""
162
+
163
+ FALSE = 0
164
+ r"""All segments are measured with the test receiver attenuation that you specify using
165
+ :py:attr:`~nirfmxvna.attributes.AttributeID.TEST_RECEIVER_ATTENUATION` attribute."""
166
+
167
+ TRUE = 1
168
+ r"""The selected segment is measured with the test receiver attenuation that you specify using
169
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SEGMENT_TEST_RECEIVER_ATTENUATION` attribute."""
170
+
171
+
172
+ class SegmentDwellTimeEnabled(Enum):
173
+ """SegmentDwellTimeEnabled."""
174
+
175
+ FALSE = 0
176
+ r"""All segments are measured with the dwell time that you specify using
177
+ :py:attr:`~nirfmxvna.attributes.AttributeID.DWELL_TIME` attribute."""
178
+
179
+ TRUE = 1
180
+ r"""The selected segment is measured with the dwell time that you specify using
181
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SEGMENT_DWELL_TIME` attribute."""
182
+
183
+
184
+ class PulseModeEnabled(Enum):
185
+ """PulseModeEnabled."""
186
+
187
+ FALSE = 0
188
+ r"""Disables pulse mode operation. VNA pulse modulator and pulse generators are disabled."""
189
+
190
+ TRUE = 1
191
+ r"""Enables pulse mode operation."""
192
+
193
+
194
+ class PulseTriggerType(Enum):
195
+ """PulseTriggerType."""
196
+
197
+ NONE = 0
198
+ r"""Based on the :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_PERIOD` value that you set, the VNA creates an
199
+ appropriate periodic pulse trigger internally. Pulse Trigger is used to control the timing of the RF pulse modulator.
200
+ Additionally pulse trigger is used as timing reference for all the pulse generator digital signals that you enabled."""
201
+
202
+ DIGITAL_EDGE = 1
203
+ r"""Uses an external digital edge trigger as the pulse trigger."""
204
+
205
+
206
+ class PulseAcquisitionAuto(Enum):
207
+ """PulseAcquisitionAuto."""
208
+
209
+ FALSE = 0
210
+ r"""The :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_ACQUISITION_DELAY` and
211
+ :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_ACQUISITION_WIDTH` attributes are not automatically set by the
212
+ measurement. The values that you set for these attributes are used by the measurement."""
213
+
214
+ TRUE = 1
215
+ r"""The measurement uses the :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_MODULATOR_WIDTH` attribute to automatically
216
+ set appropriate values for :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_ACQUISITION_DELAY` and
217
+ :py:attr:`~nirfmxvna.attributes.AttributeID.PULSE_ACQUISITION_WIDTH` attributes.
218
+
219
+ Pulse Acquisition Delay is set as the sum of Pulse Modulator Delay and approximately 20% of the Pulse
220
+ Modulator Width, and Pulse Acquisition Width is set to approximately 75% of the Pulse Modulator Width."""
221
+
222
+
223
+ class PulseGeneratorEnabled(Enum):
224
+ """PulseGeneratorEnabled."""
225
+
226
+ FALSE = 0
227
+ r"""Disables the selected pulse generator."""
228
+
229
+ TRUE = 1
230
+ r"""Enables the selected pulse generator."""
231
+
232
+
233
+ class AveragingEnabled(Enum):
234
+ """AveragingEnabled."""
235
+
236
+ FALSE = 0
237
+ r"""Disables measurement averaging."""
238
+
239
+ TRUE = 1
240
+ r"""Enables measurement averaging. You can set number of times each measurement is repeated and averaged-over using the
241
+ :py:attr:`~nirfmxvna.attributes.AttributeID.AVERAGING_COUNT` attribute."""
242
+
243
+
244
+ class CorrectionEnabled(Enum):
245
+ """CorrectionEnabled."""
246
+
247
+ FALSE = 0
248
+ r"""The measurement disables error corection."""
249
+
250
+ TRUE = 1
251
+ r"""The measurement enables error correction."""
252
+
253
+
254
+ class CorrectionInterpolationEnabled(Enum):
255
+ """CorrectionInterpolationEnabled."""
256
+
257
+ FALSE = 0
258
+ r"""The measurement disables interpolation of error terms for error correction."""
259
+
260
+ TRUE = 1
261
+ r"""The measurement enables interpolation of error terms for error correction."""
262
+
263
+
264
+ class CorrectionPortSubsetEnabled(Enum):
265
+ """CorrectionPortSubsetEnabled."""
266
+
267
+ FALSE = 0
268
+ r"""The measurement disables port-subsetting for error correction."""
269
+
270
+ TRUE = 1
271
+ r"""The measurement enabes port-subsetting for error correction."""
272
+
273
+
274
+ class CorrectionPortExtensionEnabled(Enum):
275
+ """CorrectionPortExtensionEnabled."""
276
+
277
+ FALSE = 0
278
+ r"""The measurement disables port extension."""
279
+
280
+ TRUE = 1
281
+ r"""The measurement enables port extension."""
282
+
283
+
284
+ class CorrectionPortExtensionDelayDomain(Enum):
285
+ """CorrectionPortExtensionDelayDomain."""
286
+
287
+ DELAY = 0
288
+ r"""The port extension is specified in terms of its electrical delay."""
289
+
290
+ DISTANCE = 1
291
+ r"""The port extension is specified in terms of its physical length."""
292
+
293
+
294
+ class CorrectionPortExtensionDistanceUnit(Enum):
295
+ """CorrectionPortExtensionDistanceUnit."""
296
+
297
+ METERS = 0
298
+ r"""The port extension physical length is expressed in meters."""
299
+
300
+ FEET = 1
301
+ r"""The port extension physical length is expressed in feet."""
302
+
303
+ INCHES = 2
304
+ r"""The port extension physical length is expressed in inches."""
305
+
306
+
307
+ class CorrectionPortExtensionDCLossEnabled(Enum):
308
+ """CorrectionPortExtensionDCLossEnabled."""
309
+
310
+ FALSE = 0
311
+ r"""The measurement disables the compensation of DC Loss of the port extension."""
312
+
313
+ TRUE = 1
314
+ r"""The measurement compensates for the DC loss based on the value of Port Extension DC Loss (dB) specified by you."""
315
+
316
+
317
+ class CorrectionPortExtensionLoss1Enabled(Enum):
318
+ """CorrectionPortExtensionLoss1Enabled."""
319
+
320
+ FALSE = 0
321
+ r"""The measurement disables the compensation of Loss1 of the port extension."""
322
+
323
+ TRUE = 1
324
+ r"""The measurement compensates for the Loss1 based on the configured value of Port Extension Loss1 (dB)."""
325
+
326
+
327
+ class CorrectionPortExtensionLoss2Enabled(Enum):
328
+ """CorrectionPortExtensionLoss2Enabled."""
329
+
330
+ FALSE = 0
331
+ r"""The measurement disables the compensation of Loss2 of the port extension."""
332
+
333
+ TRUE = 1
334
+ r"""The measurement compensates for the Loss2 based on the configured value of Port Extension Loss2 (dB)."""
335
+
336
+
337
+ class CorrectionPortExtensionAutoLossEnabled(Enum):
338
+ """CorrectionPortExtensionAutoLossEnabled."""
339
+
340
+ FALSE = 0
341
+ r"""Disable the loss estimation in automatic port extension."""
342
+
343
+ TRUE = 1
344
+ r"""Enable the loss estimation in automatic port extension."""
345
+
346
+
347
+ class CorrectionPortExtensionAutoRegularizationEnabled(Enum):
348
+ """CorrectionPortExtensionAutoRegularizationEnabled."""
349
+
350
+ FALSE = 0
351
+ r"""Disable the regularization of the compensated trace in automatic port extension."""
352
+
353
+ TRUE = 1
354
+ r"""Enable the regularization of the compensated trace in automatic port extension."""
355
+
356
+
357
+ class CorrectionPortExtensionAutoFrequencyMode(Enum):
358
+ """CorrectionPortExtensionAutoFrequencyMode."""
359
+
360
+ SWEEP = 0
361
+ r"""Sets the frequency mode to Sweep. Configured sweep range is used to determine the phase and loss values."""
362
+
363
+ USER = 1
364
+ r"""Sets the frequency mode to User Span. User-defined span is used to determine the phase and loss values."""
365
+
366
+
367
+ class CorrectionCalibrationCalkitType(Enum):
368
+ """CorrectionCalibrationCalkitType."""
369
+
370
+ ELECTRONIC = 0
371
+ r"""Perform calibration using an electronic calkit module.
372
+ **Supported Electronic Calkit Modules**: NI CAL-5501."""
373
+
374
+ MECHANICAL = 1
375
+ r"""Perform calibration using discrete cal standards from a mechanical calkit."""
376
+
377
+
378
+ class CorrectionCalibrationMethod(Enum):
379
+ """CorrectionCalibrationMethod."""
380
+
381
+ SOL = 0
382
+ r"""Full 1-port calibration using atleast three distinct reflection standards, typically named Short, Open and Load."""
383
+
384
+ SOLT = 1
385
+ r"""Full 2-port calibration by performing two SOL calibrations on the two ports using atleast three distinct reflection
386
+ standards, and a Thru cal using a transmission standard connecting the two ports. Use
387
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_THRU_METHOD` attribute to select a suitable Thru cal
388
+ procedure."""
389
+
390
+ TRL = 2
391
+ r"""Full 2-port calibration using a Thru, at least one Line, and one Reflect standard (Thru-Reflect-Line). The Thru
392
+ standard can be an flush Thru or can have non-zero length (LRL, Line-Reflect-Line). The Reflect standard has to be
393
+ identical for both ports. If multiple lines with different lengths are defined, the measurement automatically splits
394
+ the measurement frequency range into segments and picks the line standard with appropriate length for each segment. The
395
+ reference impedance of the calibration is the characteristic impedance of the Line(s)."""
396
+
397
+
398
+ class CorrectionCalibrationThruMethod(Enum):
399
+ """CorrectionCalibrationThruMethod."""
400
+
401
+ AUTO = 0
402
+ r"""Measurement selects the appropriate Thru calibration method based on the value you specified for
403
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` attribute. If
404
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Electronic**, then **Delay Thru
405
+ Using Defined Thru** is selected. If :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is
406
+ **Mechanical**, then **Undefined Thru** is selected."""
407
+
408
+ DEFINED_THRU = 1
409
+ r"""The Thru definition from calkit definition is used based on the value you specified for
410
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` attribute. If
411
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Electronic**, the Thru definition
412
+ from the electronic calkit EPROM is used. If
413
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Mechanical**, the Thru definition
414
+ from the calkit definition file is used."""
415
+
416
+ FLUSH_THRU = 2
417
+ r"""Indicates a direct connection of the test ports when
418
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Mechanical**. The measured Thru is
419
+ treated as flush Thru ignoring the Thru definition from the Calkit file. This method is not supported when
420
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Electronic**."""
421
+
422
+ UNDEFINED_THRU = 3
423
+ r"""Indicates connection of a Thru without a stored definition when
424
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Mechanical**. The measured Thru is
425
+ treated as unknown Thru ignoring the Thru definition from the Calkit file. If a delay is configured, the delay will be
426
+ utilized for the calibration. This method is not supported when
427
+ :py:attr:`~nirfmxvna.attributes.AttributeID.CORRECTION_CALIBRATION_CALKIT_TYPE` is **Electronic**."""
428
+
429
+ VCAL_THRU_AS_UNKNOWN_THRU = 5
430
+ r"""The Thru from the electronical Calkit is used for Thru measurement during calibration. The Thru definirion from vCal
431
+ EPROM is used as a phase reference for the Thru characterization during calibration.
432
+ This method is not supported when Calkit Type is **Mechanical**."""
433
+
434
+
435
+ class SParamsFormat(Enum):
436
+ """SParamsFormat."""
437
+
438
+ MAGNITUDE = 0
439
+ r"""Sets the format of the selected S-Parameter to Magnitude. You can specify
440
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_MAGNITUDE_UNITS`."""
441
+
442
+ PHASE = 1
443
+ r"""Sets the format of the selected S-Parameter to Phase. Phase values are expressed in degrees. Phase can be represented
444
+ in various, mathematically equivalent ways such as phase wrapped between the range [-180, 180) degrees, or phase can be
445
+ represented in an unwrapped manner. You can specify the phase representation by configuring
446
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_PHASE_TRACE_TYPE`."""
447
+
448
+ COMPLEX = 2
449
+ r"""Sets the format of the selected S-Parameter as complex numbers in cartesian co-ordinates."""
450
+
451
+ SWR = 3
452
+ r"""Sets the format of the selected S-Parameter to Standing Wave Ratio (SWR). SWR is a unitless quantity."""
453
+
454
+ SMITH_IMPEDANCE = 4
455
+ r"""Sets the format of the selected S-Parameter to Smith Impedance. S-Parameter values are transformed into impedence
456
+ values. Impedence values are expressed in ohms. You can use these values to plot on a Smith Chart."""
457
+
458
+ SMITH_ADMITTANCE = 5
459
+ r"""Sets the format of the selected S-Parameter to Smith Admittance. S-Parameter values are transformed into admittance
460
+ values. Admittance values are expressed in siemens. You can use these values to plot on an Inverted Smith Chart."""
461
+
462
+ POLAR = 6
463
+ r"""Sets the format of the selected S-Parameter as complex numbers in polar co-ordinates, where the radial axis (i.e.,
464
+ magnitude of the complex numbers) is always in linear scale and angular axis (phase) is represented in degrees and
465
+ always wrapped between ±180 deg."""
466
+
467
+ GROUP_DELAY = 7
468
+ r"""Sets the format of the selected S-Parameter to Group Delay. Group delay represents the time it takes for the signal to
469
+ pass through a device under test. The delay is expressed in seconds.
470
+
471
+ Group delay vs. frequency is derived from phase vs. frequency response. At a given frequency point, group delay
472
+ is computed by selecting two nearby frequency points and taking the ratio of the phase difference to the frequency
473
+ separation between them. The frequency separation between the two selected points is called the group delay aperture.
474
+
475
+ You can control the aperture by first configuring
476
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_MODE` and once the mode is selected, you can
477
+ set the aperture by configuring :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_POINTS`,
478
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_PERCENTAGE` or
479
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_FREQUENCY_SPAN`.
480
+
481
+ For example, if the number of aperture points is equal to 3, then group delay at a nth frequency point is
482
+ computed by selecting the (n-1)th frequency point and (n+1)th frequency point."""
483
+
484
+
485
+ class SParamsMagnitudeUnits(Enum):
486
+ """SParamsMagnitudeUnits."""
487
+
488
+ DB = 0
489
+ r"""Sets S-Parameter magnitude units to dB."""
490
+
491
+ LINEAR = 1
492
+ r"""Sets S-Parameter magnitude units to linear such that S-Parameters are reported in linear scale (V/V)."""
493
+
494
+
495
+ class SParamsPhaseTraceType(Enum):
496
+ """SParamsPhaseTraceType."""
497
+
498
+ WRAPPED = 0
499
+ r"""The reported S-Parameter phase is wrapped between -180 degress to +180 degrees."""
500
+
501
+ UNWRAPPED = 1
502
+ r"""The reported S-Parameter phase is unwrapped."""
503
+
504
+
505
+ class SParamsGroupDelayApertureMode(Enum):
506
+ """SParamsGroupDelayApertureMode."""
507
+
508
+ POINTS = 0
509
+ r"""Sets group delay aperture mode to Points. You can specify the aperture in terms of the number of frequency points by
510
+ configuring :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_POINTS`."""
511
+
512
+ PERCENTAGE = 1
513
+ r"""Sets group delay aperture mode to Percentage. You can specify the aperture in terms of the frequency separation
514
+ expressed in percentage by configuring
515
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_PERCENTAGE`."""
516
+
517
+ FREQUENCY_SPAN = 2
518
+ r"""Sets group delay aperture to Frequency Span. You can specify the aperture in terms of the frequency separation by
519
+ configuring :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_GROUP_DELAY_APERTURE_PERCENTAGE`."""
520
+
521
+
522
+ class SParamsMathFunction(Enum):
523
+ """SParamsMathFunction."""
524
+
525
+ OFF = 0
526
+ r"""No mathematical operation is performed."""
527
+
528
+ ADD = 1
529
+ r"""Data in measurement memory is added to S-Parameter data."""
530
+
531
+ SUBTRACT = 2
532
+ r"""Data in measurement memory is subtracted from S-Parameter data."""
533
+
534
+ MULTIPLY = 3
535
+ r"""S-Parameter data is multiplied by the data in measurement memory."""
536
+
537
+ DIVIDE = 4
538
+ r"""S-Parameter data is divided by the data in measurement memory."""
539
+
540
+
541
+ class SParamsCorrectionState(Enum):
542
+ """SParamsCorrectionState."""
543
+
544
+ NONE = 0
545
+ r"""Error correction is not applied."""
546
+
547
+ CORRECTED = 1
548
+ r"""Error correction is applied without interpolation using the error terms from the calset."""
549
+
550
+ INTERPOLATED = 2
551
+ r"""Error correction is applied with error terms for at least one sweep point interpolated from the calset error terms."""
552
+
553
+ SETTINGS_MODIFIED = 3
554
+ r"""Settings during the measurment differ from those used during calibration."""
555
+
556
+
557
+ class SParamsSnPDataFormat(Enum):
558
+ """SParamsSnPDataFormat."""
559
+
560
+ AUTO = 0
561
+ r"""RFmx automatically selects the appropriate SnP Data Format based on the value specified for
562
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_FORMAT` attribute.
563
+
564
+ If you set :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_FORMAT` to Complex or SWR or Smith Impedence or
565
+ Smith Admittance or Group Delay, S-parameters are saved in the Real-Imaginary format.
566
+
567
+ If you set :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_FORMAT` to Magnitude, S-parameters are saved as
568
+ either Log Magnitude-Angle or Linear Magnitude-Angle according to
569
+ :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_MAGNITUDE_UNITS`.
570
+
571
+ If you set :py:attr:`~nirfmxvna.attributes.AttributeID.SPARAMS_FORMAT` to Phase or Polar, S-parameters are
572
+ saved as Linear Magnitude-Angle by default."""
573
+
574
+ LOG_MAGNITUDE_ANGLE = 1
575
+ r"""All available S-parameters are represented as a pair of columns - first column stores magnitude of a S-Parameter in log
576
+ scale (dB) and second column stores phase of the S-Parameter in degrees."""
577
+
578
+ REAL_IMAGINARY = 2
579
+ r"""All available S-parameters are represented as a pair of columns - first column stores real part of the complex-valued
580
+ S-Parameter and second column stores imaginary part."""
581
+
582
+ LINEAR_MAGNITUDE_ANGLE = 3
583
+ r"""All available S-parameters are represented as a pair of columns - first column stores magnitude of a S-Parameter in
584
+ linear scale (V/V) and second column stores phase of the S-Parameter in degrees."""
585
+
586
+
587
+ class WavesReceiver(Enum):
588
+ """WavesReceiver."""
589
+
590
+ TEST = 0
591
+ r"""Measures the wave on the test receiver."""
592
+
593
+ REFERENCE = 1
594
+ r"""Measures the wave on the reference receiver."""
595
+
596
+
597
+ class WavesFormat(Enum):
598
+ """WavesFormat."""
599
+
600
+ MAGNITUDE = 0
601
+ r"""Sets the format for the selected wave to Magnitude. You can specify
602
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_MAGNITUDE_UNITS`."""
603
+
604
+ PHASE = 1
605
+ r"""Sets the format of the selected wave to Phase. Phase values are expressed in degrees. Phase can be represented in
606
+ various, mathematically equivalent ways such as phase wrapped between the range [-180, 180) degrees, or phase can be
607
+ represented in an unwrapped manner. You can specify the phase representation by configuring
608
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_PHASE_TRACE_TYPE`."""
609
+
610
+ COMPLEX = 2
611
+ r"""Sets the format for the selected wave as complex numbers in cartesian co-ordinates."""
612
+
613
+ SWR = 3
614
+ r"""Sets the format for the selected wave to Standing Wave Ratio (SWR). SWR is a unitless quantity."""
615
+
616
+ SMITH_IMPEDANCE = 4
617
+ r"""Sets the format for the selected wave to Smith Impedance. The measured values of the wave are transformed into
618
+ impedence values. Impedence values are expressed in ohms. You can use these values to plot on a Smith Chart."""
619
+
620
+ SMITH_ADMITTANCE = 5
621
+ r"""Sets the format for the selected wave to Smith Admittance. The measured values of the wave are transformed into
622
+ admittance values. Admittance values are expressed in siemens. You can use these values to plot on an Inverted Smith
623
+ Chart."""
624
+
625
+ POLAR = 6
626
+ r"""Sets the format for the selected wave as complex numbers in polar co-ordinates, where the radial axis (i.e., magnitude
627
+ of the complex numbers) is always in linear scale and angular axis (phase) is represented in degrees and always wrapped
628
+ between ±180 deg."""
629
+
630
+ GROUP_DELAY = 7
631
+ r"""Sets the format of the selected wave to Group Delay. Group delay represents the time it takes for the signal to pass
632
+ through a device under test. The delay is expressed in seconds.
633
+
634
+ Group delay vs. frequency is derived from phase vs. frequency response. At a given frequency point, group delay
635
+ is computed by selecting two nearby frequency points and taking the ratio of the phase difference to the frequency
636
+ separation between them. The frequency separation between the two selected points is called the group delay aperture.
637
+
638
+ You can control the aperture by first configuring
639
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_MODE` and once the mode is selected, you can set
640
+ the aperture by configuring :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_POINTS`,
641
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_PERCENTAGE` or
642
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_FREQUENCY_SPAN`.
643
+
644
+ For example, if the number of aperture points is equal to 3, then group delay at a nth frequency point is
645
+ computed by selecting the (n-1)th frequency point and (n+1)th frequency point."""
646
+
647
+
648
+ class WavesMagnitudeUnits(Enum):
649
+ """WavesMagnitudeUnits."""
650
+
651
+ DBM = 0
652
+ r"""Sets wave magnitude units to dBm."""
653
+
654
+ DBMV = 1
655
+ r"""Sets wave magnitude units to dBmV."""
656
+
657
+ DBUV = 2
658
+ r"""Sets wave magnitude units to dBuV."""
659
+
660
+ DBMA = 3
661
+ r"""Sets wave magnitude units to dBmA."""
662
+
663
+ W = 4
664
+ r"""Sets wave magnitude units to watts."""
665
+
666
+ V = 5
667
+ r"""Sets wave magnitude units to volts."""
668
+
669
+ A = 6
670
+ r"""Sets wave magnitude units to ampere."""
671
+
672
+
673
+ class WavesPhaseTraceType(Enum):
674
+ """WavesPhaseTraceType."""
675
+
676
+ WRAPPED = 0
677
+ r"""The reported wave phase is wrapped between -180 degress to +180 degrees."""
678
+
679
+ UNWRAPPED = 1
680
+ r"""The reported wave phase is unwrapped."""
681
+
682
+
683
+ class WavesGroupDelayApertureMode(Enum):
684
+ """WavesGroupDelayApertureMode."""
685
+
686
+ POINTS = 0
687
+ r"""Sets group delay aperture mode to Points. You can specify the aperture in terms of the number of frequency points by
688
+ configuring :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_POINTS`."""
689
+
690
+ PERCENTAGE = 1
691
+ r"""Sets group delay aperture mode to Percentage. You can specify the aperture in terms of the frequency separation
692
+ expressed in percentage by configuring
693
+ :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_PERCENTAGE`."""
694
+
695
+ FREQUENCY_SPAN = 2
696
+ r"""Sets group delay aperture to Frequency Span. You can specify the aperture in terms of the frequency separation by
697
+ configuring :py:attr:`~nirfmxvna.attributes.AttributeID.WAVES_GROUP_DELAY_APERTURE_FREQUENCY_SPAN`."""
698
+
699
+
700
+ class WavesCorrectionState(Enum):
701
+ """WavesCorrectionState."""
702
+
703
+ NONE = 0
704
+ r"""Error correction is not applied."""
705
+
706
+ CORRECTED = 1
707
+ r"""Error correction is applied without interpolation using the error terms from the calset."""
708
+
709
+ INTERPOLATED = 2
710
+ r"""Error correction is applied with error terms for at least one sweep point interpolated from the calset error terms."""
711
+
712
+ SETTINGS_MODIFIED = 3
713
+ r"""Settings during the measurment differ from those used during calibration."""
714
+
715
+
716
+ class IQCorrectionState(Enum):
717
+ """IQCorrectionState."""
718
+
719
+ NONE = 0
720
+ r"""Error correction is not applied."""
721
+
722
+ CORRECTED = 1
723
+ r"""Error correction is applied without interpolation using the error terms from the calset."""
724
+
725
+ INTERPOLATED = 2
726
+ r"""Error correction is applied with error terms for at least one sweep point interpolated from the calset error terms."""
727
+
728
+ SETTINGS_MODIFIED = 3
729
+ r"""Settings during the measurment differ from those used during calibration."""
730
+
731
+
732
+ class LimitedConfigurationChange(Enum):
733
+ """LimitedConfigurationChange."""
734
+
735
+ DISABLED = 0
736
+ r"""This is the normal mode of RFmx operation. All configuration changes in RFmxInstr attributes or RFmxVNA attributes will
737
+ be applied during RFmx Commit."""
738
+
739
+ NO_CHANGE = 1
740
+ r"""Signal configuration and RFmxInstr configuration are locked after the first Commit or Initiate of the named signal
741
+ configuration. Any configuration change thereafter either in RFmxInstr attributes or personality attributes will not be
742
+ considered by subsequent RFmx Commits or Initiates of this signal. Use No Change if you have created named signal
743
+ configurations for all measurement configurations but are setting some RFmxInstr attributes. Refer to the Limitations
744
+ of the Limited Configuration Change Property topic for more details about the limitations of using this mode."""
745
+
746
+
747
+ class SourcePowerMode(Enum):
748
+ """SourcePowerMode."""
749
+
750
+ AUTO = 0
751
+ r"""The source is turned on when making the measurement."""
752
+
753
+ OFF = 1
754
+ r"""The source is turned off for all the ports when making the measurements."""
755
+
756
+
757
+ class RestoreConfiguration(Enum):
758
+ """RestoreConfiguration."""
759
+
760
+ NONE = 0
761
+ r"""Do not apply the stimulus settings from the calset."""
762
+
763
+ STIMULUS = 1
764
+ r"""Applies the stimulus settings from the calset."""
765
+
766
+
767
+ class MeasurementTypes(IntFlag):
768
+ """MeasurementTypes."""
769
+
770
+ SPARAMS = 1 << 0
771
+ r"""Enables S-Parameter measurement."""
772
+
773
+ WAVES = 1 << 1
774
+ r"""Enables Wave measurement."""
775
+
776
+ IQ = 1 << 2
777
+ r"""Enables IQ measurement."""
778
+
779
+
780
+ class CalFrequencyGrid(Enum):
781
+ """CalFrequencyGrid."""
782
+
783
+ DIRECTIVITY = 0
784
+ r"""Directivity measured at Measurement Port (Source Port ignored)."""
785
+
786
+ SOURCE_MATCH = 1
787
+ r"""Source Match measured at Measurement Port (Source Port ignored)."""
788
+
789
+ REFLECTION_TRACKING = 2
790
+ r"""Reflection Tracking measured at Measurement Port (Source Port ignored)."""
791
+
792
+ TRANSMISSION_TRACKING = 3
793
+ r"""Transmission Tracking measured at Measurement Port with Source Port being the source port."""
794
+
795
+ LOAD_MATCH = 4
796
+ r"""Load Match measured at Measurement Port with Source Port being the source port."""
797
+
798
+ K = 5
799
+ r"""K measured at Measurement Port (Source Port ignored)."""
800
+
801
+ ALPHA = 6
802
+ r"""alpha measured at Measurement Port (Source Port ignored)."""
803
+
804
+ BETA = 7
805
+ r"""beta measured at Measurement Port (Source Port ignored)."""
806
+
807
+ GAMMA = 8
808
+ r"""gamma measured at Measurement Port (Source Port ignored)."""
809
+
810
+ DELTA = 9
811
+ r"""delta measured at Measurement Port (Source Port ignored)."""
812
+
813
+ SWITCH_TERM = 10
814
+ r"""Switch term measured at Measurement Port (Source Port ignored)."""
815
+
816
+
817
+ class CalErrorTerm(Enum):
818
+ """CalErrorTerm."""
819
+
820
+ DIRECTIVITY = 0
821
+ r"""Directivity measured at Measurement Port (Source Port ignored)."""
822
+
823
+ SOURCE_MATCH = 1
824
+ r"""Source Match measured at Measurement Port (Source Port ignored)."""
825
+
826
+ REFLECTION_TRACKING = 2
827
+ r"""Reflection Tracking measured at Measurement Port (Source Port ignored)."""
828
+
829
+ TRANSMISSION_TRACKING = 3
830
+ r"""Transmission Tracking measured at Measurement Port with Source Port being the source port."""
831
+
832
+ LOAD_MATCH = 4
833
+ r"""Load Match measured at Measurement Port with Source Port being the source port."""
834
+
835
+ K = 5
836
+ r"""K measured at Measurement Port (Source Port ignored)."""
837
+
838
+ ALPHA = 6
839
+ r"""alpha measured at Measurement Port (Source Port ignored)."""
840
+
841
+ BETA = 7
842
+ r"""beta measured at Measurement Port (Source Port ignored)."""
843
+
844
+ GAMMA = 8
845
+ r"""gamma measured at Measurement Port (Source Port ignored)."""
846
+
847
+ DELTA = 9
848
+ r"""delta measured at Measurement Port (Source Port ignored)."""
849
+
850
+ SWITCH_TERM = 10
851
+ r"""Switch term measured at Measurement Port (Source Port ignored)."""
852
+
853
+
854
+ class SParameterOrientation(Enum):
855
+ """SParameterOrientation."""
856
+
857
+ PORT1_TOWARDS_VNA = 0
858
+ r"""Port 1 of the S2P is oriented towards the VNA."""
859
+
860
+ PORT2_TOWARDS_VNA = 1
861
+ r"""Port 2 of the S2P is oriented towards the VNA."""
862
+
863
+
864
+ class CalkitManagerCalkitConnectorGender(Enum):
865
+ """CalkitManagerCalkitConnectorGender."""
866
+
867
+ MALE = 0
868
+ r"""Specifies male connector gender."""
869
+
870
+ FEMALE = 1
871
+ r"""Specifies female connector gender."""
872
+
873
+ NO_GENDER = 2
874
+ r"""Specifies no connector gender."""
875
+
876
+
877
+ class CalkitManagerCalkitTrlReferencePlane(Enum):
878
+ """CalkitManagerCalkitTrlReferencePlane."""
879
+
880
+ THRU = 0
881
+ r"""Specifies Thru as the reference plane."""
882
+
883
+ REFLECT = 1
884
+ r"""Specifies Reflect as the reference plane."""
885
+
886
+
887
+ class CalkitManagerCalkitCalibrationElementType(Enum):
888
+ """CalkitManagerCalkitCalibrationElementType."""
889
+
890
+ LOAD = 0
891
+ r"""Specifies Load calibration element type."""
892
+
893
+ OPEN = 1
894
+ r"""Specifies Open calibration element type."""
895
+
896
+ SHORT = 2
897
+ r"""Specifies Short calibration element type."""
898
+
899
+ THRU = 3
900
+ r"""Specifies Thru calibration element type."""
901
+
902
+ LINE = 4
903
+ r"""Specifies Line calibration element type."""
904
+
905
+ REFLECT = 5
906
+ r"""Specifies Reflect calibration element type."""
907
+
908
+ TERMINATION = 6
909
+ r"""Specifies Termination calibration element type."""
910
+
911
+
912
+ class CalkitManagerCalkitCalibrationElementSParameterDefinition(Enum):
913
+ """CalkitManagerCalkitCalibrationElementSParameterDefinition."""
914
+
915
+ REFLECT_MODEL = 0
916
+ r"""S-Parameter is defined using reflect model."""
917
+
918
+ SPARAMETER = 1
919
+ r"""S-Parameter is defined using S-Parameter data."""
920
+
921
+ DELAY_MODEL = 2
922
+ r"""S-Parameter is defined using delay model."""
923
+
924
+ UNKNOWN = 3
925
+ r"""S-Parameter definition is unknown."""
926
+
927
+
928
+ class CalkitManagerCalkitCalibrationElementReflectModelType(Enum):
929
+ """CalkitManagerCalkitCalibrationElementReflectModelType."""
930
+
931
+ REFLECT_OPEN = 0
932
+ r"""Reflect model is Open."""
933
+
934
+ REFLECT_SHORT = 1
935
+ r"""Reflect model is Short."""
936
+
937
+ LOAD = 2
938
+ r"""Reflect model is Load."""
939
+
940
+
941
+ class CalkitManagerCalkitCalibrationElementReflectModelSParameterAvailability(Enum):
942
+ """CalkitManagerCalkitCalibrationElementReflectModelSParameterAvailability."""
943
+
944
+ ESTIMATE = 0
945
+ r"""S-Parameter is estimated."""
946
+
947
+ KNOWN = 1
948
+ r"""S-Parameter is known."""
949
+
950
+
951
+ class CalkitManagerCalkitCalibrationElementSParameterAvailability(Enum):
952
+ """CalkitManagerCalkitCalibrationElementSParameterAvailability."""
953
+
954
+ ESTIMATE = 0
955
+ r"""S-Parameter is estimated."""
956
+
957
+ KNOWN = 1
958
+ r"""S-Parameter is known."""
959
+
960
+
961
+ class MarkerSearchMode(Enum):
962
+ """MarkerSearchMode."""
963
+
964
+ NONE = 0
965
+ r"""No search is performed."""
966
+
967
+ MAX = 1
968
+ r"""Searches for the maximum value on the trace."""
969
+
970
+ MIN = 2
971
+ r"""Searches for the minimum value on the trace."""
972
+
973
+ PEAK = 3
974
+ r"""Searches for the peak on the trace."""
975
+
976
+ NEXT_PEAK = 4
977
+ r"""Searches for the next peak on the trace."""
978
+
979
+ NEXT_LEFT_PEAK = 5
980
+ r"""Searches for the next peak to the left on the trace."""
981
+
982
+ NEXT_RIGHT_PEAK = 6
983
+ r"""Searches for the next peak to the right on the trace."""
984
+
985
+ TARGET = 7
986
+ r"""Searches for the target value on the trace."""
987
+
988
+ NEXT_LEFT_TARGET = 8
989
+ r"""Searches for the next target to the left on the trace."""
990
+
991
+ NEXT_RIGHT_TARGET = 9
992
+ r"""Searches for the next target to the right on the trace."""
993
+
994
+
995
+ class MarkerType(Enum):
996
+ """MarkerType."""
997
+
998
+ OFF = 0
999
+ r"""The marker is disabled."""
1000
+
1001
+ NORMAL = 1
1002
+ r"""The marker is enabled as a normal marker."""
1003
+
1004
+ DELTA = 2
1005
+ r"""The marker is enabled as a delta marker."""
1006
+
1007
+ FIXED = 3
1008
+ r"""The marker is enabled as a fixed marker."""
1009
+
1010
+
1011
+ class MarkerPeakSearchThresholdEnabled(Enum):
1012
+ """MarkerPeakSearchThresholdEnabled."""
1013
+
1014
+ FALSE = 0
1015
+ r"""Disables the threshold for the trace while finding the peaks."""
1016
+
1017
+ TRUE = 1
1018
+ r"""Enables the threshold for the trace while finding the peaks."""
1019
+
1020
+
1021
+ class MarkerPeakSearchExcursionEnabled(Enum):
1022
+ """MarkerPeakSearchExcursionEnabled."""
1023
+
1024
+ FALSE = 0
1025
+ r"""Disables the peak excursion check while finding the peaks on trace."""
1026
+
1027
+ TRUE = 1
1028
+ r"""Enables the peak excursion check while finding the peaks on trace."""
1029
+
1030
+
1031
+ class MarkerMode(Enum):
1032
+ """MarkerMode."""
1033
+
1034
+ CONTINUOUS = 0
1035
+ r"""Marker is updated continuously during sweep."""
1036
+
1037
+ DISCRETE = 1
1038
+ r"""Marker is updated only at discrete frequency points."""
1039
+
1040
+
1041
+ class CorrectionPortExtensionAutoStandard(Enum):
1042
+ """CorrectionPortExtensionAutoStandard."""
1043
+
1044
+ OPEN = 0
1045
+ r"""Uses Open standard for port extension."""
1046
+
1047
+ SHORT = 1
1048
+ r"""Uses Short standard for port extension."""