Using py4vasp to extract the raw data

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Locked
Message
Author
alexander_duong
Newbie
Newbie
Posts: 11
Joined: Fri Nov 03, 2023 12:09 pm

Using py4vasp to extract the raw data

#1 Post by alexander_duong » Wed Feb 21, 2024 4:25 am

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!

ferenc_karsai
Global Moderator
Global Moderator
Posts: 460
Joined: Mon Nov 04, 2019 12:44 pm

Re: Using py4vasp to extract the raw data

#2 Post by ferenc_karsai » Thu Feb 22, 2024 9:34 am

The raw data should be accesible via

Code: Select all

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

alexander_duong
Newbie
Newbie
Posts: 11
Joined: Fri Nov 03, 2023 12:09 pm

Re: Using py4vasp to extract the raw data

#3 Post by alexander_duong » Sat Feb 24, 2024 4:25 am

It works, thanks!

Locked