#NEWLINE# def __init__( self , fd , config , gain = 1.0 ) : #NEWLINE# #INDENT# self . gain = config #NEWLINE# self . offset = 0 #NEWLINE# self . fd = fd #NEWLINE# self . modem = dsp . MODEM ( config . symbols ) #NEWLINE# self . carriers = ( config . carriers / config . Nfreq ) #NEWLINE# self . pilot = config . carriers [ config . carrier_index ] #NEWLINE# self . silence = np . zeros ( ( equalizer . silence_length * config . Nsym ) ) #NEWLINE# self . iters_per_report = config . baud #NEWLINE# self . padding = ( [ 0 ] * config . bits_per_baud ) #NEWLINE# self . equalizer = equalizer . Equalizer ( config )