syned.beamline.optical_elements.refractors package
Submodules
syned.beamline.optical_elements.refractors.crl module
- class syned.beamline.optical_elements.refractors.crl.CRL(name='Undefined', n_lens=1, surface_shape1=None, surface_shape2=None, boundary_shape=None, material='', thickness=0.0, piling_thickness=0.0)[source]
Bases:
LensDefines a Compound refractive lens (CRL). It is composed by a number (n_lens) of identical lenses.
Constructor.
- Parameters:
name (str, optional) – The name of the optical element.
n_lens (int, optional) – The number of (identical) lenses.
surface_shape1 (instance of SurfaceShape, optional) – The geometry of the lens surface 1. if None, it is initialized to SurfaceShape().
surface_shape2 (instance of SurfaceShape, optional) – The geometry of the lens surface 2. 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) – A string defining the material within the two surfaces.
thickness (float) – The distance between the two surfaces at the center of the lens in m.
piling_thickness (float, optional) – The piling distance in m, or spatial periodicity in the stack. In other words, the distance from the lens1-surface1 to the lens2-surface1.
syned.beamline.optical_elements.refractors.interface module
syned.beamline.optical_elements.refractors.lens module
- class syned.beamline.optical_elements.refractors.lens.Lens(name='Undefined', surface_shape1=None, surface_shape2=None, boundary_shape=None, material='', thickness=0.0)[source]
Bases:
OpticalElementsWithMultipleShapes- get_boundary_shape()[source]
Returns the boundary shape.
- Return type:
instance of BoundaryShape
- get_surface_shape1()[source]
Returns the shape of surface 1.
- Return type:
instance of SurfaceShape
- get_surface_shape2()[source]
Returns the shape of surface 2.
- Return type:
instance of SurfaceShape