Calculates the Wigner-Seitz projection of cube file data of periodic data.
Main routine wrapper.
Parameters: | parser (argparse.ArgumentParser) – Argument parser |
---|
The cubefile to read from. Both Bohr and Angstrom units are supported.
Whether to treat input file in periodic boundary conditions. In the current implementation, this requires copying all atom positions for the 26 direct neighbouring cubes and therefore carries substantial cost in terms of memory requirements. The runtime scales O(log n) with the number of atoms.
Number of points at which brute-force nearest neighbour search is employed. Increasing this number introduces higher memory requirements, but may speed up processing. Default: 5000.
Reads a CP2K input file and reformats it such that
Extracts coordinates from CP2K input format into XYZ files.
Supports scaled CP2K coordinates and scaled XYZ output.
Multiplies a cell along the lattice vectors.
Comes with support for scaled input and output, h matrices and arbitrary cell shapes. Works only on XYZ files.
XYZ input filename.
XYZ output filename.
X repeat count. Default: 1. Only positive integers supported.
Y repeat count. Default: 1. Only positive integers supported.
Z repeat count. Default: 1. Only positive integers supported.
Whether the input file contains scaled coordinates.
Whether the out file contains scaled coordinates.
H matrix (cell vectors in columns). Comma-separated in row-first notation without spaces.
a, b, c, alpha, beta, gamma. Comma-separated without spaces.