-h Display help on the command-line options and usage.
-V Print the version number and copyright info for mpb-data.
-v Verbose output.
-ofile
Write output datasets to file (for the first input file only) rather than as additional datasets
in the input file(s) (the default).
-r Output a rectangular cell with the same volume as the cell of the input data. This option is
particularly useful for visualizing data from non-orthogonal unit cells (e.g. a triangular
lattice), as otherwise the data will appear skewed or warped in most graphics programs. This
option should almost always be accompanied by the -n option to ensure a uniform resolution.
-ex,y,z
As the -r option, but also make the first axis of the output along the x,y,z direction (in
Cartesian coordinates) instead of along the first lattice vector as for -r.
-Pphaseangle
For complex-valued datasets, this option causes the output values to be rotated by phaseangle
degrees in the complex plane. That is, they are multiplied by exp(2 pi i phaseangle / 360).
-nn Output n grid points per lattice unit ("a"). This is useful not only for interpolating to finer
(or coarser) resolutions, but also to ensure that the resolution is uniform in each direction (to
prevent the data from looking distorted when you visualize it).
-xmx, -ymy, -zmz
This tells mpb-data to output multiple periods in the corresponding lattice directions. to use a
particular slice of a two- or three-dimensional dataset. e.g. -x3.2 causes the output of 3.2
periods in the first lattice direction. The default is to output only a single period.
-ms Output s periods in each lattice direction; equivalent to: -xs-ys-zs.
-T The output has the first two dimensions (x and y) transposed. This is useful in conjunction with
the parallel (MPI) version of MPB, which for performance reasons outputs all arrays with the first
two dimensions transposed. -T can undo this transposition.
-p Pixellized output. Normally, the input data is linearly interpolated to the output grid, but the
-p option causes it to instead use the nearest grid point in the input data. This is useful, for
example, if you want to study the discretization of the dielectric-function representation.
-dname
Use dataset name from the input files; otherwise, the first dataset from each file is used.
Alternatively, use the syntax HDF5FILE:DATASET, which allows you to specify a different dataset
for each file. You can use the h5ls command (included with hdf5) to find the names of datasets
within a file.
Note that this option is generally unnecessary, since mpb-data can already find the relevant
dataset(s) for files created by MPB. Also, note that mpb-data treats the dataset specified by
this option as a real scalar dataset and does not include the exp(ikx) factors when extending the
dataset to multiple periods.