get_optimized_kpoints_transformed#

KPath.get_optimized_kpoints_transformed(transformation_matrix, same_grid_size=False)[source]#

A method to get the optimized kpoints after a transformation

Parameters:
  • transformation_matrix (np.ndarray) – The transformmation matrix.

  • same_grid_size (bool) – Boolean to determine if the grid should retain the same size

Returns:

The transformed KPath

Return type:

pyprocar.core.KPath