SyTen
__init__.py File Reference

Main entry point for Python module. More...

Variables

list pyten.__all__ = [ "cpp_pyten", "lattice_generators", "helpers", "argparse_adapt", "t3n_visualize","util" ] + list(filter(lambda x: not x.startswith("_"), cpp_pyten.__dir__())) + list(filter(lambda x: not x.startswith("_"), helpers.__dir__())) + \
 dictionary of names defined by the pyten module More...
 
 pyten.fin_temp
 
 pyten.gc
 
 pyten.genFermiHubbard
 
 pyten.genHardcoreBoson
 
 pyten.genSuperspaceHardcoreBoson
 

Detailed Description

Main entry point for Python module.

This file fulfills three purposes:

  • insert all names from cpp_pyten into the current module, so that import pyten as ptn; ptn.TruncationType works
  • load all the Python helper scripts (where they exist)
  • rewrite __all__ to contain all symbols from cpp_pyten so that from pyten import *; TruncationType() also works