pyprocar.fermisurface3d package¶
Submodules¶
pyprocar.fermisurface3d.brillouin_zone module¶
- class pyprocar.fermisurface3d.brillouin_zone.BrillouinZone(reciprocal_lattice, transformation_matrix=None)[source]¶
Bases:
pyprocar.core.surface.SurfaceA Surface object with verts, faces and line representation, representing the BrillouinZone
- Attributes
center_of_massCenter of mass of the vertices.
centersCenters of faces Returns ——- centers : list of floats (n,3) A list of centers of faces.
nfacesNumber of faces Returns ——- int Number of faces in the surface.
nvertsNumber or vertices.
Methods
export([file_obj, file_type])This function uses the export function from trimesh
set_color_with_cmap([cmap, vmin, vmax])Sets colors for the trimesh object using the color map provided
set_scalars(scalars)Sets/Updates the scalars of the surface.
- returns
Using the Wigner-Seitz Method, this function finds the 1st
set_vectors
pyprocar.fermisurface3d.fermisurface3D module¶
Created on Fri March 31 2020 @author: Pedram Tavadze
- class pyprocar.fermisurface3d.fermisurface3D.FermiSurface3D(kpoints=None, bands=None, band_numbers=None, spd=None, spd_spin=None, fermi_velocity=False, fermi_velocity_vector=False, effective_mass=False, fermi=None, fermi_shift=None, reciprocal_lattice=None, extended_zone_directions=None, interpolation_factor=1, spin_texture=False, colors=None, projection_accuracy='Normal', curvature_type='mean', cmap='viridis', vmin=0, vmax=1, supercell=[1, 1, 1])[source]¶
Bases:
object
- class pyprocar.fermisurface3d.fermisurface3D.FermiSurfaceBand3D(kpoints=None, band=None, spd=None, spd_spin=None, fermi_velocity_vector=False, fermi_velocity=False, effective_mass=False, fermi=None, reciprocal_lattice=None, interpolation_factor=1, spin_texture=False, color=None, projection_accuracy='Normal', cmap='viridis', vmin=0, vmax=1, supercell=[1, 1, 1], sym=False)[source]¶
Bases:
pyprocar.core.isosurface.Isosurface- Attributes
XReturns ——- TYPE numpy array DESCRIPTION.
YReturns ——- TYPE numpy array DESCRIPTION.
ZReturns ——- TYPE numpy array DESCRIPTION.
center_of_massCenter of mass of the vertices.
centersCenters of faces Returns ——- centers : list of floats (n,3) A list of centers of faces.
dxyzReturns ——- list DESCRIPTION.
nXReturns ——- TYPE int DESCRIPTION.
nYReturns ——- TYPE int DESCRIPTION.
nZReturns ——- TYPE int DESCRIPTION.
nfacesNumber of faces Returns ——- int Number of faces in the surface.
nvertsNumber or vertices.
surface_boundariesThis function tries to find the isosurface using no interpolation to find the
Methods
clip(S1, S2)This function clips S1 using the boundaries of S2 and returns
export([file_obj, file_type])This function uses the export function from trimesh
project_color(cmap, vmin, vmax, scalars)Projects the scalars to the surface.
set_color_with_cmap([cmap, vmin, vmax])Sets colors for the trimesh object using the color map provided
set_scalars(scalars)Sets/Updates the scalars of the surface.
calculate_first_and_second_derivative_energy
create_spin_texture
create_vector_texture
set_vectors