erlab.interactive.bzplot¶
Classes
|
|
|
Interactive Brillouin zone plotter. |
|
- class erlab.interactive.bzplot.BZPlotter(params=None, param_type=None, execute=True)[source]¶
Bases:
QMainWindowInteractive Brillouin zone plotter.
- Parameters:
params (
tupleoffloatsor3 by 3 array-like, optional) – Input parameter for plotting. Ifparam_typeis ‘lattice’, it must be a 6-tuple containing the lengths a, b, c and angles alpha, beta, gamma. Otherwise, it must be a 3 by 3 numpy array with each row vector containing each real/reciprocal lattice vector. If not provided, a hexagonal lattice is shown by default.param_type (
Literal['lattice','avec','bvec'] |None, default:None) – Specifies the param_type of the input parameters. Valid param_types are'lattice','avec','bvec'. By default,'bvec'is assumed.execute (
bool, default:True) – IfTrue, the Qapp instance will be executed immediately.