get_library_entry#

DiffractionLibrary.get_library_entry(phase=None, angle=None)[source]#

Extracts a single DiffractionLibrary entry.

Parameters:
phasestr

Key for the phase of interest. If unspecified the choice is random.

angletuple

The orientation of interest as a tuple of Euler angles following the Bunge convention [z, x, z] in degrees. If unspecified the choise is random (the first hit).

Returns:
library_entriesdict

Dictionary containing the simulation associated with the specified phase and orientation with associated properties.