#NEWLINE# def __init__( self , names , factor , powers , offset = 0 ) : #NEWLINE# #INDENT# if isinstance ( names , basestring ) : #NEWLINE# #INDENT# self . names = numberdict . NumberDict ( default = 0 ) #NEWLINE# self . names [ names ] = 1 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . names = names #NEWLINE# #UNINDENT# self . factor = float ( factor ) #NEWLINE# self . offset = offset #NEWLINE# self . powers = powers