parameters: (parameters)
return_statement: return domain
docstring: Turn Sherpa parameter definitions into GPyOpt parameter definitions.
docstring_summary: Turn Sherpa parameter definitions into GPyOpt parameter definitions.
docstring_tokens: Turn Sherpa parameter definitions into GPyOpt parameter definitions .
function: def _initialize_domain(parameters):
          """
          Turn Sherpa parameter definitions into GPyOpt parameter definitions.
          """
          domain = []
          for p in parameters:
              domain.append(
                  ParameterTransform.from_parameter(p).to_gpyopt_domain())
          return domain
function_tokens: def _initialize_domain ( parameters ) : domain = [ ] for p in parameters : domain . append ( ParameterTransform . from_parameter ( p ) . to_gpyopt_domain ( ) ) return domain