Electronic density plots In py4vasp
Posted: Wed Jun 01, 2022 3:59 pm
Hi all,
I am trying to plot the electronic density using py4vasp with the method:
calc = py4vasp.Calculation.from_path(".")
calc.density.plot()
as the gas-out.h5 file is in the same directory as my python script and I get
FileAccessError: path/vaspwave.h5 Please check that you already completed the Vasp calculation and that the file is indeed in the directory. Please also check whether you are running the Python script in the same directory or pass the appropriate filename including the path.
As far as I am aware, VASP doesn't produce a vaspwave.h5 file. Is there a tag I need to include in the INCAR to produce this file?
Thanks for any help you can give.
I am trying to plot the electronic density using py4vasp with the method:
calc = py4vasp.Calculation.from_path(".")
calc.density.plot()
as the gas-out.h5 file is in the same directory as my python script and I get
FileAccessError: path/vaspwave.h5 Please check that you already completed the Vasp calculation and that the file is indeed in the directory. Please also check whether you are running the Python script in the same directory or pass the appropriate filename including the path.
As far as I am aware, VASP doesn't produce a vaspwave.h5 file. Is there a tag I need to include in the INCAR to produce this file?
Thanks for any help you can give.