#! /usr/bin/env python

import pyfplo.wanniertools as wt


# ===================================================================

if __name__ == '__main__':


    #
    # note the larger cutoff and the larger k-mesh in =.in
    #
    wdc=wt.WanDefCreator(rcutoff=40,wftol=0.001,coeffformat='bin',
                         wfgriddirections=[[2,0,0],[0,2,0],[0,0,2]],
                         wfgridsubdiv=[1,1,1],savespininfo=False,printT=False,
                         wfinrealspace=True,wfcoeffstats=True,hamtstats=True,
                         automode='valence')


    wdc.writeFile('=.wandef')

    

