I need to get the work function and band edge position of a material. I have made the slab model and done the vasp calculation. I have the LOCPOT file along with other output files. Could you please recommend any python script to process these output files to get the work function and band edge positions?
Thanks in advance.