Convenience Parameter Setting#
- elecboltz.easy_params(params)#
Convenience function to set parameters for the simulation.
List of convenience features:
- Load parameters from the output of a fit from the path indicatedby the
load_fitparameter. - Set unit cell dimensions with named parameters
a,b,andc. Ifborcare not given, they are assumedto be equal toa. Define an
energy_scalewhich scales all energy parameters.- Set the chemical potential with
muinband_params. Ifmuis set inband_params, it is assumed the energydispersion is shifted by the chemical potential, so theassociated variable is set to 0.0 in the returned parameters. - Set the dispersion relation with a default tight-binding model;If
dispersionis not given, it is automatically generatedfrom theband_paramsusingget_tight_binding_dispersion.Seeget_tight_binding_dispersionfor the list of parametersand the resulting expression. - Build the scattering function using predefined
scattering_modelsand thescattering_paramsassociatedwith them. Seebuild_scattering_function()for supportedscattering models and their parameters.scattering_modelsis assumed to be only oneisotropicmodel if not specified. - Build the scattering kernel using a predefined
scattering_kernel(or a list ofscattering_kernels) andthekernel_paramsassociated with it (or a list ofkernel_paramsassociated with each kernel). Seebuild_kernel()for supported kernels and their parameters.
- Parameters:
params (dict) – Simplified (easy-to-use) parameters for the simulation.
- Returns:
Parameters compatible with the classes in the package.
- Return type:
dict
- elecboltz.params.get_tight_binding_dispersion(band_params) str#
Get the tight-binding dispersion relation containing terms relating to the parameters in
band_params.The full tight-binding dispersion relation is given by:
-mu - 2*t * (cos(a*kx)+cos(b*ky)) - 4*tp * cos(a*kx)*cos(b*ky) - 2*tpp * (cos(2*a*kx)+cos(2*b*ky)) - 2*tz * (cos(a*kx)-cos(b*ky))**2 * cos(a*kx/2)*cos(b*ky/2)*cos(c*kz/2)
The list of parameters is as follows:
mu: Chemical potential.t: Nearest-neighbor hopping parameter in the x-y plane.tp: Next-nearest-neighbor hopping parameter in the x-y plane.tpp: Next-next-nearest-neighbor hopping parameter in the x-y plane.tz: Nearest-neighbor hopping parameter between the different layers in the z direction.
- Parameters:
band_params (dict or set) – Dictionary or set of parameters for the tight-binding model.
- Returns:
The dispersion relation expression string
- Return type:
str