calc_source_lines#
- cbclib.bin.calc_source_lines(basis: numpy.ndarray, hkl: numpy.ndarray, kin_min: numpy.ndarray, kin_max: numpy.ndarray, num_threads: int = 1)[source]#
Calculate the source lines for a set of diffraction orders
hkland the given indexing solutionbasis.- Parameters
basis (numpy.ndarray) – Basis vectors of the indexing solution.
hkl (numpy.ndarray) – HKL indices of diffraction orders.
kin_min (numpy.ndarray) – Lower bound of the rectangular aperture function.
kin_max (numpy.ndarray) – Upper bound of the rectangular aperture function.
num_threads (int) – A number of threads used in the computations.
- Returns
A set of source lines in the aperture function.
- Return type