def _get_rp_average(arg0): """ Returns the flag (no units) which indicates whether the average gain will be computed or not. """ if _get_ifar(arg0) != 1: return _PyNEC.nec_radiation_pattern_get_rp_power_average(arg0) else: error_msg = "No computing of gain has been requested." raise exceptions.Warning(error_msg)
def _get_rp_average(arg0): """ Returns the flag (no units) which indicates whether the average gain will be computed or not. """ if _get_ifar(arg0) != 1 : return _PyNEC.nec_radiation_pattern_get_rp_power_average(arg0) else : error_msg = "No computing of gain has been requested." raise exceptions.Warning(error_msg)
def _get_rp_average(arg0): """ Returns the flag (no units) which indicates whether the average gain will be computed or not. """ return _PyNEC.nec_radiation_pattern_get_rp_power_average(arg0)