#NEWLINE# def __init__( self , min_params , max_params , n_steps = 7 , **kwargs ) : #NEWLINE# #INDENT# ' :key min_params: Tuple of two elements specifying the minima\n                               of the two metaparameters\n            :key max_params: Tuple of two elements specifying the minima\n                               of the two metaparameters\n            :key max_param:  Tuple of two elements, specifying the number of\n                               steps between the minimum and maximum of each search\n                               dimension. Alternative, specify a scalar to set\n                               the same granularity for each dimension.\n            :key **kwargs:   See setArgs()\n        ' #NEWLINE# assert ( len ( min_params ) == len ( max_params ) ) #NEWLINE# self . _min_params = array ( min_params , float ) #NEWLINE# self . _max_params = array ( max_params , float ) #NEWLINE# self . _n_dim = len ( min_params ) #NEWLINE# self . _n_steps = ( append ( [ ] , n_steps ) * ones ( self . _n_dim ) ) #NEWLINE# self . _range = ( self . _max_params - self . _min_params ) #NEWLINE# self . _performances = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# self . _verbosity = 0 #NEWLINE# self . setArgs ( ** kwargs )