Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 649 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 649 Bytes

Wannier90 I/O with Python

A Python library for reading and writing Wannier90 files.

Quickstart

import pprint

import wannier90io as w90io


pp = pprint.PrettyPrinter()

with open(win_fpath, 'r') as fh:
    parsed_win = w90io.parse_win_raw(fh.read())

with open(nnkp_fpath, 'r') as fh:
    parsed_nnkp = w90io.parse_nnkp_raw(fh.read())

pp.pprint(parsed_win)
pp.pprint(parsed_nnkp)