See the documentation of treams.lattice.dsumcw1d().
treams.lattice.dsumcw1d()
treams.lattice.cython_lattice.diffr_orders_circle
treams.lattice.cython_lattice.dsumsw1d