def _get_rp_ipd(arg0): """ Returns the flag (no units) which indicates the type of gain computed : power or directive gain. """ if _get_ifar(arg0) != 1: return _PyNEC.nec_radiation_pattern_get_rp_ipd(arg0) else: error_msg = "No computing of gain has been requested." raise exceptions.Warning(error_msg)
def _get_rp_ipd(arg0): """ Returns the flag (no units) which indicates the type of gain computed : power or directive gain. """ if _get_ifar(arg0) != 1 : return _PyNEC.nec_radiation_pattern_get_rp_ipd(arg0) else : error_msg = "No computing of gain has been requested." raise exceptions.Warning(error_msg)
def _get_rp_ipd(arg0): """ Returns the flag (no units) which indicates the type of gain computed : power or directive gain. """ return _PyNEC.nec_radiation_pattern_get_rp_ipd(arg0)