Page 1 of 1

Using py4vasp to extract the raw data

Posted: Wed Feb 21, 2024 4:25 am
by alexander_duong
Hello,

If I would like to extract the raw data from the vaspout.h5 file after doing a band structure calculation, how could I do so using py4vasp?

Thanks!

Re: Using py4vasp to extract the raw data

Posted: Thu Feb 22, 2024 9:34 am
by ferenc_karsai
The raw data should be accesible via

Code: Select all

import py4vasp
calc = py4vasp.Calculation.from_path("/path/to/calculation")
calc.band.read()

Re: Using py4vasp to extract the raw data

Posted: Sat Feb 24, 2024 4:25 am
by alexander_duong
It works, thanks!