aiida_vasp.calcs.w90win#

Utilities for Wannier90.

Utility to convert raw input data to .win format.

Module Contents#

Classes#

DictToWin

Format parameters given in a dictionary into Wannier90 .win format.

API#

class aiida_vasp.calcs.w90win.DictToWin[source]#

Bases: object

Format parameters given in a dictionary into Wannier90 .win format.

classmethod _bool(val: Any) bool[source]#
classmethod _seq(val: Sequence) str[source]#

String format a sequence.

classmethod _block(name: str, val: Any) list[str][source]#

Create a win parameter block with name being the block name, val being the content in python representation.

classmethod _assign(key: str, val: Any) str[source]#
classmethod _value(val: Any) str[source]#

String format a value of any compatible scalar type.

classmethod _item(key: str, val: Any) list[str][source]#
classmethod parse(in_dict: dict) str[source]#

Parse a dictionary into win formatted string.