Result
- class wannierberri.result.ResultDict(results)[source]
Bases:
Result
Stores a dictionary of instances of the class Result.
- class wannierberri.result.EnergyResult(Energies=None, data=None, smoothers=None, transformTR=None, transformInv=None, rank=None, E_titles=['Efermi', 'Omega'], save_mode='txt+bin', file_npz=None, comment='undocumented')[source]
Bases:
Result
- A class to store data dependent on several energies, e.g. Efermi and Omega
Energy may also be an empty list, then the quantity does not depend on any energy (does it work?)
- Parameters:
Energies (1D array or list of 1D arrays) –
The energies, on which the data dependEnergy may also be an empty list, then the quantity does not depend on any energy (does it work?)data (array(float) or array(complex)) –
the data. The first dimensions should match the sizes of the Energies arrays. The rest should be equal to 3smoothers (a list of
Smoother
) –smoothers, one per each energy variable (usually do not need to be set by the calculator function.but are set automaticaly for Fermi levels and Omega’s , and during the further * and + operationstransformTR (:class:~wannierberri.symmetry.Transform) –
How the result trabsfrms under time-reversal operationrelevant if system has TimeReversal, either alone or in combination with spatial symmetyriestransformInv (:class:~wannierberri.symmetry.Transform) –
How the result trabsfrms under inversionrelevant if system has Inversion, either alone or as part of other symmetyries (e.g. Mx=C2x*I)rank (int) –
of the tensor, usually no need, to specify, it is set automatically to the number of dimensionsof the data array minus number of energiesE_titles (list of str) –
titles to be printed above the energy columnsfile_npz (str) –
path to a np file (if provided, the parameters Enegries, data, transformTR, transformInv, rank andE_titles are neglected)comment (str) –
Any line that can mark what is in the result