Beispiel #1
0
 def __init__(self,
              name="Undefined",
              boundary_shape=BoundaryShape(),
              optical_element_displacement=None):
     SRWSlit.__init__(
         self,
         name=name,
         boundary_shape=boundary_shape,
         optical_element_displacement=optical_element_displacement)
Beispiel #2
0
 def __init__(self,
              name="Undefined",
              surface_shape=SurfaceShape(),
              boundary_shape=BoundaryShape(),
              mirror_parameters=None):
     Mirror.__init__(self,
                     name=name,
                     surface_shape=surface_shape,
                     boundary_shape=boundary_shape)
     Shadow3OpticalElementDecorator.__init__(self, mirror_parameters)
Beispiel #3
0
    def __init__(self,
                 name="Undefined",
                 surface_shape=SurfaceShape(),
                 boundary_shape=BoundaryShape(),
                 ruling=800e3):
        super().__init__(name, surface_shape, boundary_shape)
        self._ruling = ruling

        # support text containg name of variable, help text and unit. Will be stored in self._support_dictionary
        self._set_support_text([
            ("name", "Name", ""),
            ("surface_shape", "Surface Shape", ""),
            ("boundary_shape", "Boundary Shape", ""),
            ("ruling", "Ruling at center", "lines/m^3"),
        ])
Beispiel #4
0
 def __init__(self, name="Undefined", boundary_shape=BoundaryShape()):
     BeamStopper.__init__(self, name=name, boundary_shape=boundary_shape)
Beispiel #5
0
 def __init__(self,
              name="Undefined",
              boundary_shape=BoundaryShape(),
              slit_parameters=Shadow3SlitParameters()):
     Slit.__init__(self, name=name, boundary_shape=boundary_shape)
     Shadow3Absorber.__init__(self, slit_parameters)
Beispiel #6
0
 def __init__(self, name="Undefined", boundary_shape=BoundaryShape()):
     OpticalElement.__init__(self, name=name, boundary_shape=boundary_shape)
Beispiel #7
0
 def __init__(self, name="Undefined", boundary_shape=BoundaryShape()):
     Slit.__init__(self, name=name, boundary_shape=boundary_shape)
Beispiel #8
0
 def __init__(self, name="Undefined", boundary_shape=None):
     if boundary_shape is None:
         boundary_shape = BoundaryShape()
     Absorber.__init__(self, name=name, boundary_shape=boundary_shape)
Beispiel #9
0
 def __init__(self, name="Undefined", boundary_shape=None):
     if boundary_shape is None:
         boundary_shape = BoundaryShape()
     OpticalElement.__init__(self, name=name, boundary_shape=boundary_shape)