#NEWLINE# def setupLinearParams( self ) : #NEWLINE# #INDENT# self . linearParams = [ ] #NEWLINE# for i in range ( ( self . generations - 1 ) ) : #NEWLINE# #INDENT# self . linearParams . append ( 'lsq6' ) #NEWLINE# #UNINDENT# if ( i . initial_transform == 'estimate' ) : #NEWLINE# #INDENT# self . linearParams . insert ( 0 , 'lsq6' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self . initial_transform == 'identity' ) : #NEWLINE# #INDENT# self . linearParams . insert ( 0 , 'lsq6-identity' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# print ( 'Error: unknown option used for initial_transform in LSQ6HierarchicalMinctracc: ' , self . initial_transform ) #NEWLINE# sys . exit ( )