viperleed.calc.lib.woods_notation

Module for reading and writing Woods notation.

The functionality in this module used to be part of calc.lib.leedbase.

Functions

readWoodsNotation(s, ucell)

Takes a string that should contain the transformation from the bulk to the surface unit cell in Wood notation, as well as a bulk unit cell (from which only the surface vectors are read).

writeWoodsNotation(ucell)

Takes a unit cell (as a (2x2) matrix) and attempts to write it in Woods Notation.