OASYS2-OKONA 0.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. oasys2_okona-0.0.1/LICENSE +28 -0
  2. oasys2_okona-0.0.1/MANIFEST.in +8 -0
  3. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/PKG-INFO +36 -0
  4. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/SOURCES.txt +45 -0
  5. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/dependency_links.txt +1 -0
  6. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/entry_points.txt +13 -0
  7. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/not-zip-safe +1 -0
  8. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/requires.txt +2 -0
  9. oasys2_okona-0.0.1/OASYS2_OKONA.egg-info/top_level.txt +1 -0
  10. oasys2_okona-0.0.1/PKG-INFO +36 -0
  11. oasys2_okona-0.0.1/README.md +2 -0
  12. oasys2_okona-0.0.1/orangecontrib/__init__.py +46 -0
  13. oasys2_okona-0.0.1/orangecontrib/okona/__init__.py +46 -0
  14. oasys2_okona-0.0.1/orangecontrib/okona/menu/__init__.py +46 -0
  15. oasys2_okona-0.0.1/orangecontrib/okona/tutorials/__init__.py +46 -0
  16. oasys2_okona-0.0.1/orangecontrib/okona/util/__init__.py +46 -0
  17. oasys2_okona-0.0.1/orangecontrib/okona/util/okona_objects.py +65 -0
  18. oasys2_okona-0.0.1/orangecontrib/okona/util/python_script.py +275 -0
  19. oasys2_okona-0.0.1/orangecontrib/okona/widgets/__init__.py +46 -0
  20. oasys2_okona-0.0.1/orangecontrib/okona/widgets/gui/__init__.py +46 -0
  21. oasys2_okona-0.0.1/orangecontrib/okona/widgets/gui/ow_light_source.py +334 -0
  22. oasys2_okona-0.0.1/orangecontrib/okona/widgets/gui/ow_mirror.py +143 -0
  23. oasys2_okona-0.0.1/orangecontrib/okona/widgets/gui/ow_optical_element.py +210 -0
  24. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/__init__.py +60 -0
  25. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/icons/detector.png +0 -0
  26. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/icons/ellipsoid_mirror.png +0 -0
  27. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/icons/optical_elements.png +0 -0
  28. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/icons/plane_mirror.png +0 -0
  29. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/icons/slits.png +0 -0
  30. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/ow_detector.py +324 -0
  31. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/ow_elliptical_mirror.py +100 -0
  32. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/ow_plane_mirror.py +77 -0
  33. oasys2_okona-0.0.1/orangecontrib/okona/widgets/optics/ow_slits.py +72 -0
  34. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/__init__.py +56 -0
  35. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/icons/bending_magnet.png +0 -0
  36. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/icons/source.png +0 -0
  37. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/icons/undulator.png +0 -0
  38. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/ow_bending_magnet.py +94 -0
  39. oasys2_okona-0.0.1/orangecontrib/okona/widgets/sources/ow_undulator.py +161 -0
  40. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/__init__.py +55 -0
  41. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/icons/figure_error.png +0 -0
  42. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/icons/roughness.png +0 -0
  43. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/icons/tools.png +0 -0
  44. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/ow_figure_error_generator.py +332 -0
  45. oasys2_okona-0.0.1/orangecontrib/okona/widgets/tools/ow_microroughness_generator.py +337 -0
  46. oasys2_okona-0.0.1/setup.cfg +4 -0
  47. oasys2_okona-0.0.1/setup.py +109 -0
@@ -0,0 +1,28 @@
1
+ BSD 3-Clause License
2
+
3
+ Copyright (c) 2026, Lorenzo Raimondi (LBNL) and Luca Rebuffi (ANL)
4
+
5
+ Redistribution and use in source and binary forms, with or without
6
+ modification, are permitted provided that the following conditions are met:
7
+
8
+ 1. Redistributions of source code must retain the above copyright notice, this
9
+ list of conditions and the following disclaimer.
10
+
11
+ 2. Redistributions in binary form must reproduce the above copyright notice,
12
+ this list of conditions and the following disclaimer in the documentation
13
+ and/or other materials provided with the distribution.
14
+
15
+ 3. Neither the name of the copyright holder nor the names of its
16
+ contributors may be used to endorse or promote products derived from
17
+ this software without specific prior written permission.
18
+
19
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
23
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
25
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
26
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
27
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,8 @@
1
+ recursive-include orangecontrib *.pyx
2
+ recursive-include orangecontrib *.py
3
+
4
+ recursive-include orangecontrib/okona/widgets/sources *.png *.svg *.ico *.jpg *.bmp
5
+ recursive-include orangecontrib/okona/widgets/optics *.png *.svg *.ico *.jpg *.bmp
6
+ recursive-include orangecontrib/okona/widgets/tools *.png *.svg *.ico *.jpg *.bmp
7
+
8
+ include README.md
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: OASYS2-OKONA
3
+ Version: 0.0.1
4
+ Summary: OASYS2-OKONA: Oasys 2 widgets for OKONA
5
+ Home-page: https://github.com/oasys-kit/OASYS2-OKONA
6
+ Download-URL: https://github.com/oasys-kit/OASYS2-OKONA
7
+ Author: Lorenzo Raimondi, L. Rebuffi
8
+ Author-email: lrebuffi@anl.gov
9
+ License: BSD3
10
+ Keywords: ray tracing,x-ray optics,oasys2
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: X11 Applications :: Qt
13
+ Classifier: Environment :: Console
14
+ Classifier: Environment :: Plugins
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Intended Audience :: Science/Research
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: oasys2>=0.0.42
21
+ Requires-Dist: wofryokona>=0.0.2
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: download-url
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
34
+
35
+ # OASYS2-OKONA
36
+ Widgets for the program OKONA
@@ -0,0 +1,45 @@
1
+ LICENSE
2
+ MANIFEST.in
3
+ README.md
4
+ setup.py
5
+ OASYS2_OKONA.egg-info/PKG-INFO
6
+ OASYS2_OKONA.egg-info/SOURCES.txt
7
+ OASYS2_OKONA.egg-info/dependency_links.txt
8
+ OASYS2_OKONA.egg-info/entry_points.txt
9
+ OASYS2_OKONA.egg-info/not-zip-safe
10
+ OASYS2_OKONA.egg-info/requires.txt
11
+ OASYS2_OKONA.egg-info/top_level.txt
12
+ orangecontrib/__init__.py
13
+ orangecontrib/okona/__init__.py
14
+ orangecontrib/okona/menu/__init__.py
15
+ orangecontrib/okona/tutorials/__init__.py
16
+ orangecontrib/okona/util/__init__.py
17
+ orangecontrib/okona/util/okona_objects.py
18
+ orangecontrib/okona/util/python_script.py
19
+ orangecontrib/okona/widgets/__init__.py
20
+ orangecontrib/okona/widgets/gui/__init__.py
21
+ orangecontrib/okona/widgets/gui/ow_light_source.py
22
+ orangecontrib/okona/widgets/gui/ow_mirror.py
23
+ orangecontrib/okona/widgets/gui/ow_optical_element.py
24
+ orangecontrib/okona/widgets/optics/__init__.py
25
+ orangecontrib/okona/widgets/optics/ow_detector.py
26
+ orangecontrib/okona/widgets/optics/ow_elliptical_mirror.py
27
+ orangecontrib/okona/widgets/optics/ow_plane_mirror.py
28
+ orangecontrib/okona/widgets/optics/ow_slits.py
29
+ orangecontrib/okona/widgets/optics/icons/detector.png
30
+ orangecontrib/okona/widgets/optics/icons/ellipsoid_mirror.png
31
+ orangecontrib/okona/widgets/optics/icons/optical_elements.png
32
+ orangecontrib/okona/widgets/optics/icons/plane_mirror.png
33
+ orangecontrib/okona/widgets/optics/icons/slits.png
34
+ orangecontrib/okona/widgets/sources/__init__.py
35
+ orangecontrib/okona/widgets/sources/ow_bending_magnet.py
36
+ orangecontrib/okona/widgets/sources/ow_undulator.py
37
+ orangecontrib/okona/widgets/sources/icons/bending_magnet.png
38
+ orangecontrib/okona/widgets/sources/icons/source.png
39
+ orangecontrib/okona/widgets/sources/icons/undulator.png
40
+ orangecontrib/okona/widgets/tools/__init__.py
41
+ orangecontrib/okona/widgets/tools/ow_figure_error_generator.py
42
+ orangecontrib/okona/widgets/tools/ow_microroughness_generator.py
43
+ orangecontrib/okona/widgets/tools/icons/figure_error.png
44
+ orangecontrib/okona/widgets/tools/icons/roughness.png
45
+ orangecontrib/okona/widgets/tools/icons/tools.png
@@ -0,0 +1,13 @@
1
+ [oasys2.addons]
2
+ OKONA = orangecontrib.okona
3
+
4
+ [oasys2.menus]
5
+ okonamenu = orangecontrib.okona.menu
6
+
7
+ [oasys2.tutorials]
8
+ okonatutorial = orangecontrib.okona.tutorials
9
+
10
+ [oasys2.widgets]
11
+ OKONA Optics = orangecontrib.okona.widgets.optics
12
+ OKONA Sources = orangecontrib.okona.widgets.sources
13
+ OKONA Tools = orangecontrib.okona.widgets.tools
@@ -0,0 +1,2 @@
1
+ oasys2>=0.0.42
2
+ wofryokona>=0.0.2
@@ -0,0 +1 @@
1
+ orangecontrib
@@ -0,0 +1,36 @@
1
+ Metadata-Version: 2.4
2
+ Name: OASYS2-OKONA
3
+ Version: 0.0.1
4
+ Summary: OASYS2-OKONA: Oasys 2 widgets for OKONA
5
+ Home-page: https://github.com/oasys-kit/OASYS2-OKONA
6
+ Download-URL: https://github.com/oasys-kit/OASYS2-OKONA
7
+ Author: Lorenzo Raimondi, L. Rebuffi
8
+ Author-email: lrebuffi@anl.gov
9
+ License: BSD3
10
+ Keywords: ray tracing,x-ray optics,oasys2
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: X11 Applications :: Qt
13
+ Classifier: Environment :: Console
14
+ Classifier: Environment :: Plugins
15
+ Classifier: Programming Language :: Python
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Intended Audience :: Science/Research
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: oasys2>=0.0.42
21
+ Requires-Dist: wofryokona>=0.0.2
22
+ Dynamic: author
23
+ Dynamic: author-email
24
+ Dynamic: classifier
25
+ Dynamic: description
26
+ Dynamic: description-content-type
27
+ Dynamic: download-url
28
+ Dynamic: home-page
29
+ Dynamic: keywords
30
+ Dynamic: license
31
+ Dynamic: license-file
32
+ Dynamic: requires-dist
33
+ Dynamic: summary
34
+
35
+ # OASYS2-OKONA
36
+ Widgets for the program OKONA
@@ -0,0 +1,2 @@
1
+ # OASYS2-OKONA
2
+ Widgets for the program OKONA
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
@@ -0,0 +1,65 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding: utf-8 -*-
3
+ # ----------------------------------------------------------------------- #
4
+ # Copyright (c) 2025, UChicago Argonne, LLC. All rights reserved. #
5
+ # #
6
+ # Copyright 2025. UChicago Argonne, LLC. This software was produced #
7
+ # under U.S. Government contract DE-AC02-06CH11357 for Argonne National #
8
+ # Laboratory (ANL), which is operated by UChicago Argonne, LLC for the #
9
+ # U.S. Department of Energy. The U.S. Government has rights to use, #
10
+ # reproduce, and distribute this software. NEITHER THE GOVERNMENT NOR #
11
+ # UChicago Argonne, LLC MAKES ANY WARRANTY, EXPRESS OR IMPLIED, OR #
12
+ # ASSUMES ANY LIABILITY FOR THE USE OF THIS SOFTWARE. If software is #
13
+ # modified to produce derivative works, such modified software should #
14
+ # be clearly marked, so as not to confuse it with the version available #
15
+ # from ANL. #
16
+ # #
17
+ # Additionally, redistribution and use in source and binary forms, with #
18
+ # or without modification, are permitted provided that the following #
19
+ # conditions are met: #
20
+ # #
21
+ # * Redistributions of source code must retain the above copyright #
22
+ # notice, this list of conditions and the following disclaimer. #
23
+ # #
24
+ # * Redistributions in binary form must reproduce the above copyright #
25
+ # notice, this list of conditions and the following disclaimer in #
26
+ # the documentation and/or other materials provided with the #
27
+ # distribution. #
28
+ # #
29
+ # * Neither the name of UChicago Argonne, LLC, Argonne National #
30
+ # Laboratory, ANL, the U.S. Government, nor the names of its #
31
+ # contributors may be used to endorse or promote products derived #
32
+ # from this software without specific prior written permission. #
33
+ # #
34
+ # THIS SOFTWARE IS PROVIDED BY UChicago Argonne, LLC AND CONTRIBUTORS #
35
+ # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT #
36
+ # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS #
37
+ # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL UChicago #
38
+ # Argonne, LLC OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, #
39
+ # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, #
40
+ # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; #
41
+ # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER #
42
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT #
43
+ # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN #
44
+ # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE #
45
+ # POSSIBILITY OF SUCH DAMAGE. #
46
+ # ----------------------------------------------------------------------- #
47
+
48
+ class SurfaceErrorsData:
49
+ def __init__(self,
50
+ figure_error_data_file: str | None = None,
51
+ microroughness_data_file: str | None = None,
52
+ power_spectral_density_data_file: str | None = None,
53
+ ):
54
+ self._figure_error_data_file = figure_error_data_file
55
+ self._microroughness_data_file = microroughness_data_file
56
+ self._power_spectral_density_data_file = power_spectral_density_data_file
57
+
58
+ @property
59
+ def figure_error_data_file(self) -> str | None: return self._figure_error_data_file
60
+
61
+ @property
62
+ def microroughness_data_file(self) -> str | None: return self._microroughness_data_file
63
+
64
+ @property
65
+ def power_spectral_density_data_file(self) -> str | None: return self._power_spectral_density_data_file