erlab.interactive.bzplot¶
Classes
|
|
|
Interactive Brillouin zone plotter. |
|
- class erlab.interactive.bzplot.BZPlotter(params=None, param_type=None, execute=True)[source]¶
Bases:
QMainWindow
Interactive Brillouin zone plotter.
- Parameters:
params (tuple[float, ...] | ndarray[Any, dtype[float64]] | None) – Input parameter for plotting. If
param_type
is ‘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) – Specifies the param_type of the input parameters. Valid param_types are
'lattice'
,'avec'
,'bvec'
. By default,'bvec'
is assumed.execute (bool) – If
True
, the Qapp instance will be executed immediately.