parameters: (kparam,C,kp,shownames=True)
return_statement: return str
docstring: Generates a string describing the model parameters
docstring_summary: Generates a string describing the model parameters
docstring_tokens: Generates a string describing the model parameters
function: def model2str(kparam,C,kp,shownames=True):
      """Generates a string describing the model parameters"""
  
      if kparam["modelsel_name"]==None or len(kparam["modelsel_params"])==1:
          if shownames:
              str="\tC=%1.1f" % C
          else:
              str="\t%1.2f" % C
      else:
          if type(kp)==type(int(0)):
              if shownames:
                  str="\tC=%1.1f\t%s=%i" %(C, kparam["modelsel_name"], kp)
              else:
                  str="\t%1.1f\t%i" %(C, kp)
          else:
              if shownames:
                  str="\tC=%1.1f\t%s=%1.2f" %(C, kparam["modelsel_name"], kp)
              else:
                  str="\t%1.1f\t%1.2f" %(C, kp)
      return str
function_tokens: def model2str ( kparam , C , kp , shownames = True ) : if kparam [ "modelsel_name" ] == None or len ( kparam [ "modelsel_params" ] ) == 1 : if shownames : str = "\tC=%1.1f" % C else : str = "\t%1.2f" % C else : if type ( kp ) == type ( int ( 0 ) ) : if shownames : str = "\tC=%1.1f\t%s=%i" % ( C , kparam [ "modelsel_name" ] , kp ) else : str = "\t%1.1f\t%i" % ( C , kp ) else : if shownames : str = "\tC=%1.1f\t%s=%1.2f" % ( C , kparam [ "modelsel_name" ] , kp ) else : str = "\t%1.1f\t%1.2f" % ( C , kp ) return str