aiida_vasp.calcs.w90win#

Utilities for Wannier90.

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)[source]#
classmethod _seq(val)[source]#

String format a sequence.

classmethod _block(name, val)[source]#

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

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

String format a value of any compatible scalar type.

classmethod _item(key, val)[source]#
classmethod parse(in_dict)[source]#

Parse a dictionary into win formatted string.