Exemplo n.º 1
0
def kagome_ribbon(n=5):
  """Create a Kagome ribbon"""
  g = rectangular_kagome_lattice() # 2d geometry
  import ribbonizate
  g = ribbonizate.bulk2ribbon(g,n=n) # create ribbon from 2d
  return g
Exemplo n.º 2
0
def kagome_ribbon(n=5):
    """Create a Kagome ribbon"""
    g = rectangular_kagome_lattice()  # 2d geometry
    import ribbonizate
    g = ribbonizate.bulk2ribbon(g, n=n)  # create ribbon from 2d
    return g