get_highest_hkl#
- diffsims.crystallography.get_highest_hkl(lattice, min_dspacing=0.5)[source]#
Return the highest Miller indices hkl of the plane with a direct space interplanar spacing greater than but closest to a lower threshold.
- Parameters:
lattice (diffpy.structure.Lattice) – Crystal lattice.
min_dspacing (float, optional) – Smallest interplanar spacing to consider. Default is 0.5 Å.
- Returns:
highest_hkl – Highest Miller indices.
- Return type:
np.ndarray