def METHOD_NAME(atoms, cell, filedesc = sys.stdout, title=""):
   """Prints the atom configurations, into a pdb formatted file.
   Also prints the cell parameters in standard pdb form. Note
   that the angles are in degrees.
   Args:
      atoms: An atoms object giving the atom positions.
      cell: A cell object giving the system box.
      filedesc: An open writable file object. Defaults to standard output.
      title: An optional string of max. 70 characters.
   """
   if title != "" :
      filedesc.write("TITLE   %70s\n" % (title))
   a, b, c, alpha, beta, gamma = mt.h2abc_deg(cell.h)
   z = 1
   filedesc.write("CRYST1%9.3f%9.3f%9.3f%7.2f%7.2f%7.2f%s%4i\n" % (a, b, c, alpha, beta, gamma, " P 1        ", z))
   natoms = atoms.natoms
   qs = depstrip(atoms.q)
   lab = depstrip(atoms.names)
   for i in range(natoms):
      filedesc.write("ATOM  %5i %4s%1s%3s %1s%4i%1s   %8.3f%8.3f%8.3f%6.2f%6.2f          %2s%2i\n" % (i+1, lab[i], ' ', '  1', ' ', 1, ' ', qs[3*i], qs[3*i+1], qs[3*i+2], 0.0, 0.0, '  ', 0))
   filedesc.write("END\n")