AcpComponentCarrierResults

class nirfmxlte.acp_component_carrier_results.AcpComponentCarrierResults(signal_obj)[source]

Bases: object

fetch_measurement(selector_string, timeout)[source]

Fetches the ACP component carrier measurement.

Use “carrier<k>” or “subblock<n>/carrier<k>” as the selector string to read results from this method.

Parameters:
  • selector_string (string) –

    This parameter specifies a Selector String comprising of result name, subblock number, and carrier number.

    Example:

    ”subblock0/carrier0”

    ”result::r1/subblock0/carrier0”

    You can use the build_carrier_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:

absolute_power (float):

This parameter returns the power measured over the integration bandwidth of the carrier. The carrier power is reported in dBm when you set the ACP_POWER_UNITS attribute to dBm, and in dBm/Hz when you set the ACP Pwr Units attribute to dBm/Hz.

relative_power (float):

This parameter returns the component carrier power relative to its subblock power. This value is expressed in dB.

error_code (int):

Returns the status code of this method. The status code either indicates success or describes a warning condition.

Return type:

Tuple (absolute_power, relative_power, error_code)

fetch_measurement_array(selector_string, timeout)[source]

Returns an array of the absolute and relative powers of the component carriers. The relative power is relative to the subblock power.

Use “subblock<n>” as the selector string to read results from this method.

Parameters:
  • selector_string (string) –

    This parameter specifies a Selector String comprising of result name, and subblock number.

    Example:

    ”subblock0”

    ”result::r1/subblock0”

    You can use the build_subblock_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:

absolute_power (float):

This parameter returns the array of powers measured over the integration bandwidths of the carriers. The carrier power is reported in dBm when you set the ACP_POWER_UNITS attribute to dBm, and in dBm/Hz when you set the ACP Pwr Units attribute to dBm/Hz.

relative_power (float):

This parameter returns the array of component carrier powers relative to their subblock powers measured over the integration bandwidths of the component carriers in the subblock. This value is expressed in dB.

error_code (int):

Returns the status code of this method. The status code either indicates success or describes a warning condition.

Return type:

Tuple (absolute_power, relative_power, error_code)

get_absolute_power(selector_string)[source]

Gets the power measured over the integration bandwidth of the carrier. The carrier power is reported in dBm when you set the ACP_POWER_UNITS attribute to dBm, and in dBm/Hz when you set the ACP Pwr Units attribute to dBm/Hz.

Use “carrier<k>” or “subblock<n>/carrier<k>” as the selector string to read this result.

Parameters:

selector_string (string) – Pass an empty string.

Returns:

attr_val (float):

Returns the power measured over the integration bandwidth of the carrier. The carrier power is reported in dBm when you set the ACP_POWER_UNITS attribute to dBm, and in dBm/Hz when you set the ACP Pwr Units attribute to dBm/Hz.

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_relative_power(selector_string)[source]

Gets the component carrier power relative to its subblock power. This value is expressed in dB.

Use “carrier<k>” or “subblock<n>/carrier<k>” as the selector string to read this result.

Parameters:

selector_string (string) – Pass an empty string.

Returns:

attr_val (float):

Returns the component carrier power relative to its subblock power. This value is expressed in dB.

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)