PowerListResults
Provides methods to fetch and read the PowerList measurement results.
- class nirfmxspecan.power_list_results.PowerListResults(signal_obj)[source]
Bases:
objectProvides methods to fetch and read the PowerList measurement results.
- fetch_maximum_power_array(selector_string, timeout)[source]
Returns the maximum power of all segments measured using the PowerList measurement.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
””
”result::r1”
You can use the
build_result_string()method to build the selector string.timeout (float) – This parameter specifies the timeout for fetching the specified measurement. This value is expressed in seconds. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. The default value is 10.
- Returns:
- maximum_power (float):
This parameter returns an array of maximum power in dBm for each segment.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (maximum_power, error_code)
- fetch_mean_absolute_power_array(selector_string, timeout)[source]
Returns the mean absolute power of all segments measured using the PowerList measurement.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
””
”result::r1”
You can use the
build_result_string()method to build the selector string.timeout (float) – This parameter specifies the timeout for fetching the specified measurement. This value is expressed in seconds. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. The default value is 10.
- Returns:
- mean_absolute_power (float):
This parameter returns an array of mean absolute power, in dBm for each segment.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (mean_absolute_power, error_code)
- fetch_minimum_power_array(selector_string, timeout)[source]
Returns the minimum power of all segments measured using the PowerList measurement.
- Parameters:
selector_string (string) –
This parameter specifies a Selector String comprising of result name.
Example:
””
”result::r1”
You can use the
build_result_string()method to build the selector string.timeout (float) – This parameter specifies the timeout for fetching the specified measurement. This value is expressed in seconds. Set this value to an appropriate time, longer than expected for fetching the measurement. A value of -1 specifies that the method waits until the measurement is complete. The default value is 10.
- Returns:
- minimum_power (float):
This parameter returns an array of minimum power, in dBm for each segment.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (minimum_power, error_code)
- get_maximum_power(selector_string)[source]
Gets an array of maximum power of the signal, each corresponding to a segment. This value is expressed in dBm.
You do not need to use a selector string to read this result for the default signal and result instance. Refer to the Selector String topic for information about the string syntax for named signals and results.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Returns an array of maximum power of the signal, each corresponding to a segment. This value is expressed in dBm.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_mean_absolute_power(selector_string)[source]
Gets an array of mean absolute power of the signal, each corresponding to a segment. This value is expressed in dBm.
You do not need to use a selector string to read this result for the default signal and result instance. Refer to the Selector String topic for information about the string syntax for named signals and results.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Returns an array of mean absolute power of the signal, each corresponding to a segment. This value is expressed in dBm.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)
- get_minimum_power(selector_string)[source]
Gets an array of minimum power of the signal, each corresponding to a segment. This value is expressed in dBm.
You do not need to use a selector string to read this result for the default signal and result instance. Refer to the Selector String topic for information about the string syntax for named signals and results.
- Parameters:
selector_string (string) – Pass an empty string.
- Returns:
- attr_val (float):
Returns an array of minimum power of the signal, each corresponding to a segment. This value is expressed in dBm.
- error_code (int):
Returns the status code of this method. The status code either indicates success or describes a warning condition.
- Return type:
Tuple (attr_val, error_code)