syned.beamline.optical_elements.crystals package

Submodules

syned.beamline.optical_elements.crystals.crystal module

class syned.beamline.optical_elements.crystals.crystal.Crystal(name='Undefined', surface_shape=<syned.beamline.shape.SurfaceShape object>, boundary_shape=None, material='Si', diffraction_geometry=0, miller_index_h=1, miller_index_k=1, miller_index_l=1, asymmetry_angle=0.0, thickness=0.0)[source]

Bases: OpticalElementsWithSurfaceShape

Constructor.

Parameters:
  • name (str, optional) – The name of the optical element.

  • surface_shape (instance of SurfaceShape, optional) – The geometry of the crystal surface. if None, it is initialized to SurfaceShape().

  • boundary_shape (instance of BoundaryShape, optional) – The geometry of the slit aperture. if None, it is initialized to BoundaryShape().

  • material (str, optional) – The material name.

  • diffraction_geometry (int (as defined in DiffractionGeometry, optional) – BRAGG = 0, LAUE = 1.

  • miller_index_h (int, optional) – The Miller index H.

  • miller_index_k (int, optional) – The Miller index K.

  • miller_index_l (int, optional) – The Miller index L.

  • asymmetry_angle (float, optional) – The asymmetry angle in rad.

  • thickness (float, optional) – The crystal thickness in m.

class syned.beamline.optical_elements.crystals.crystal.DiffractionGeometry[source]

Bases: object

BRAGG = 0
LAUE = 1

Module contents