original_docstring: 
      helper function to setup an nbody king model cluster (returns code with
      particles)
      
docstring: helper function to setup an nbody king model cluster (returns code with
  particles)
docstring_tokens: helper function to setup an nbody king model cluster ( returns code with particles )
code: def king_model_cluster(interface, N=1024, W0=3, Mcluster=4.e4 | units.MSun,
                         Rcluster=.7 | units.parsec, parameters=[]):
      """
      helper function to setup an nbody king model cluster (returns code with
      particles)
      """
      converter = nbody_system.nbody_to_si(Mcluster, Rcluster)
  
      parts = new_king_model(N, W0, convert_nbody=converter)
      parts.radius = 0.0 | units.parsec
  
      nb = interface(converter)
      for name, value in parameters:
          setattr(nb.parameters, name, value)
  
      nb.particles.add_particles(parts)
  
      return nb
code_tokens: def king_model_cluster ( interface , N = 1024 , W0 = 3 , Mcluster = 4.e4 | units . MSun , Rcluster = .7 | units . parsec , parameters = [ ] ) : converter = nbody_system . nbody_to_si ( Mcluster , Rcluster ) parts = new_king_model ( N , W0 , convert_nbody = converter ) parts . radius = 0.0 | units . parsec nb = interface ( converter ) for name , value in parameters : setattr ( nb . parameters , name , value ) nb . particles . add_particles ( parts ) return nb
short_docstring: helper function to setup an nbody king model cluster (returns code with
  particles)
short_docstring_tokens: helper function to setup an nbody king model cluster ( returns code with particles )
comment: """
      helper function to setup an nbody king model cluster (returns code with
      particles)
      """