mesh_to_array#

static ElectronicBandStructure.mesh_to_array(mesh)[source]#

Converts a mesh to a list that corresponds to ebs.kpoints [n_kx,n_ky,n_kz,…]->[n_kx*n_ky*n_kz,…] :Parameters: mesh (np.ndarray) – The mesh to convert to a list

Returns:

np.ndarray – lsit