parameters: (self, address=None, which=0, decim_rate=0, nchan=1, adc_freq=64e6, defer_creation=True, scale=8192)
docstring: UHD USRP Source
docstring_summary: UHD USRP Source
docstring_tokens: UHD USRP Source
function: def __init__(self, address=None, which=0, decim_rate=0, nchan=1, adc_freq=64e6, defer_creation=True, scale=8192):	# FIXME: 'which', 'nchan'
  		"""
  		UHD USRP Source
  		"""
  		if self._args[1] == "fc32":
  			format_size = gr.sizeof_gr_complex
  		elif self._args[1] == "sc16":
  			format_size = gr.sizeof_short * 2
  		
  		empty_io = gr.io_signature(0, 0, 0)
  		format_io = gr.io_signature(1, 1, format_size)
  		
  		if self._args[0]:
  			io = (format_io, empty_io)
  		else:
  			io = (empty_io, format_io)
  		
  		gr.hier_block2.__init__(self, "uhd_usrp_wrapper",
  			io[0],
  			io[1])
  		
  		self._decim_rate = decim_rate
  		self._address = address
  		self._which = which
  		
  		self._adc_freq = int(adc_freq)
  		self._gain_range = (0, 1, 1)
  		self._freq_range = (0, 0, 0)
  		self._tune_result = None
  		self._name = "(Legacy USRP)"
  		self._serial = "(Legacy)"
  		self._gain_step = 0
  		self._created = False
  		
  		self._scale = scale
  		
  		self._last_address = address
  		self._last_which = None
  		self._last_subdev_spec = None
  		
  		self._reset_last_params()
  		
  		self._uhd_device = None
  		
  		if defer_creation == False:	# Deferred until 'selected_subdev' is called
  			self.create()
function_tokens: def __init__ ( self , address = None , which = 0 , decim_rate = 0 , nchan = 1 , adc_freq = 64e6 , defer_creation = True , scale = 8192 ) : # FIXME: 'which', 'nchan' if self . _args [ 1 ] == "fc32" : format_size = gr . sizeof_gr_complex elif self . _args [ 1 ] == "sc16" : format_size = gr . sizeof_short * 2 empty_io = gr . io_signature ( 0 , 0 , 0 ) format_io = gr . io_signature ( 1 , 1 , format_size ) if self . _args [ 0 ] : io = ( format_io , empty_io ) else : io = ( empty_io , format_io ) gr . hier_block2 . __init__ ( self , "uhd_usrp_wrapper" , io [ 0 ] , io [ 1 ] ) self . _decim_rate = decim_rate self . _address = address self . _which = which self . _adc_freq = int ( adc_freq ) self . _gain_range = ( 0 , 1 , 1 ) self . _freq_range = ( 0 , 0 , 0 ) self . _tune_result = None self . _name = "(Legacy USRP)" self . _serial = "(Legacy)" self . _gain_step = 0 self . _created = False self . _scale = scale self . _last_address = address self . _last_which = None self . _last_subdev_spec = None self . _reset_last_params ( ) self . _uhd_device = None if defer_creation == False : # Deferred until 'selected_subdev' is called self . create ( )