syned 1.0.47__py3-none-any.whl → 1.0.49__py3-none-any.whl
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.
- syned/beamline/__init__.py +1 -1
- syned/beamline/beamline.py +155 -155
- syned/beamline/beamline_element.py +76 -76
- syned/beamline/element_coordinates.py +199 -199
- syned/beamline/optical_element.py +47 -47
- syned/beamline/optical_element_with_surface_shape.py +126 -126
- syned/beamline/optical_elements/__init__.py +1 -1
- syned/beamline/optical_elements/absorbers/absorber.py +21 -21
- syned/beamline/optical_elements/absorbers/beam_stopper.py +63 -63
- syned/beamline/optical_elements/absorbers/filter.py +61 -61
- syned/beamline/optical_elements/absorbers/holed_filter.py +67 -67
- syned/beamline/optical_elements/absorbers/slit.py +80 -80
- syned/beamline/optical_elements/crystals/__init__.py +1 -1
- syned/beamline/optical_elements/crystals/crystal.py +70 -70
- syned/beamline/optical_elements/gratings/__init__.py +1 -1
- syned/beamline/optical_elements/gratings/grating.py +279 -279
- syned/beamline/optical_elements/ideal_elements/__init__.py +1 -1
- syned/beamline/optical_elements/ideal_elements/ideal_element.py +15 -15
- syned/beamline/optical_elements/ideal_elements/ideal_fzp.py +183 -183
- syned/beamline/optical_elements/ideal_elements/ideal_lens.py +54 -54
- syned/beamline/optical_elements/ideal_elements/screen.py +15 -15
- syned/beamline/optical_elements/mirrors/__init__.py +1 -1
- syned/beamline/optical_elements/mirrors/mirror.py +39 -39
- syned/beamline/optical_elements/multilayers/__init__.py +46 -46
- syned/beamline/optical_elements/multilayers/multilayer.py +45 -45
- syned/beamline/optical_elements/refractors/__init__.py +1 -1
- syned/beamline/optical_elements/refractors/crl.py +79 -79
- syned/beamline/optical_elements/refractors/interface.py +60 -60
- syned/beamline/optical_elements/refractors/lens.py +105 -105
- syned/beamline/shape.py +2884 -2803
- syned/storage_ring/__init__.py +1 -1
- syned/storage_ring/electron_beam.py +804 -804
- syned/storage_ring/empty_light_source.py +40 -40
- syned/storage_ring/light_source.py +90 -90
- syned/storage_ring/magnetic_structure.py +8 -8
- syned/storage_ring/magnetic_structures/__init__.py +1 -1
- syned/storage_ring/magnetic_structures/bending_magnet.py +329 -329
- syned/storage_ring/magnetic_structures/insertion_device.py +169 -169
- syned/storage_ring/magnetic_structures/undulator.py +413 -413
- syned/storage_ring/magnetic_structures/wiggler.py +27 -27
- syned/syned_object.py +273 -264
- syned/util/__init__.py +21 -21
- syned/util/json_tools.py +196 -198
- syned/widget/widget_decorator.py +66 -66
- {syned-1.0.47.dist-info → syned-1.0.49.dist-info}/METADATA +88 -88
- syned-1.0.49.dist-info/RECORD +52 -0
- {syned-1.0.47.dist-info → syned-1.0.49.dist-info}/WHEEL +1 -1
- {syned-1.0.47.dist-info → syned-1.0.49.dist-info}/licenses/LICENSE +20 -20
- syned/__test/__init__.py +0 -46
- syned/__test/test.py +0 -28
- syned-1.0.47.dist-info/RECORD +0 -54
- {syned-1.0.47.dist-info → syned-1.0.49.dist-info}/top_level.txt +0 -0
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: syned
|
|
3
|
-
Version: 1.0.
|
|
4
|
-
Summary: SYNED (SYNchrotron Elements Dictionary) kernel library
|
|
5
|
-
Home-page: https://github.com/oasys-kit/syned
|
|
6
|
-
Download-URL: https://github.com/oasys-kit/syned
|
|
7
|
-
Author: Manuel Sanchez del Rio, Luca Rebuffi
|
|
8
|
-
Author-email: srio@esrf.eu
|
|
9
|
-
Maintainer: L Rebuffi and M Sanchez del Rio
|
|
10
|
-
Maintainer-email: srio@esrf.eu
|
|
11
|
-
License: GPLv3
|
|
12
|
-
Keywords: dictionary,glossary,synchrotronsimulation
|
|
13
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
-
Classifier: Environment :: Console
|
|
15
|
-
Classifier: Environment :: Plugins
|
|
16
|
-
Classifier: Programming Language :: Python :: 3
|
|
17
|
-
Classifier:
|
|
18
|
-
Classifier: Operating System ::
|
|
19
|
-
Classifier:
|
|
20
|
-
Classifier: Topic ::
|
|
21
|
-
Classifier:
|
|
22
|
-
Classifier: Intended Audience ::
|
|
23
|
-
Classifier: Intended Audience ::
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
Requires-Dist:
|
|
27
|
-
Requires-Dist:
|
|
28
|
-
Requires-Dist:
|
|
29
|
-
Dynamic: author
|
|
30
|
-
Dynamic: author-email
|
|
31
|
-
Dynamic: classifier
|
|
32
|
-
Dynamic: description
|
|
33
|
-
Dynamic: download-url
|
|
34
|
-
Dynamic: home-page
|
|
35
|
-
Dynamic: keywords
|
|
36
|
-
Dynamic: license
|
|
37
|
-
Dynamic: license-file
|
|
38
|
-
Dynamic: maintainer
|
|
39
|
-
Dynamic: maintainer-email
|
|
40
|
-
Dynamic: requires-dist
|
|
41
|
-
Dynamic: summary
|
|
42
|
-
|
|
43
|
-
=====
|
|
44
|
-
syned
|
|
45
|
-
=====
|
|
46
|
-
|
|
47
|
-
About
|
|
48
|
-
-----
|
|
49
|
-
|
|
50
|
-
SYNchrotron Elements Dictionary.
|
|
51
|
-
|
|
52
|
-
A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
|
|
53
|
-
They can be read/write to json files.
|
|
54
|
-
It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
Documentation
|
|
58
|
-
-------------
|
|
59
|
-
https://syned.readthedocs.io/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
Source repository
|
|
63
|
-
-----------------
|
|
64
|
-
https://github.com/oasys-kit/syned
|
|
65
|
-
|
|
66
|
-
Quick-installation
|
|
67
|
-
------------------
|
|
68
|
-
|
|
69
|
-
Syned can be installed with Python 3.x:
|
|
70
|
-
|
|
71
|
-
.. code-block:: console
|
|
72
|
-
|
|
73
|
-
$ python -m pip install syned
|
|
74
|
-
|
|
75
|
-
Graphical user interface
|
|
76
|
-
------------------------
|
|
77
|
-
|
|
78
|
-
A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
|
|
79
|
-
|
|
80
|
-
Reference
|
|
81
|
-
---------
|
|
82
|
-
|
|
83
|
-
Luca Rebuffi, Manuel Sanchez del Rio,
|
|
84
|
-
"Interoperability and complementarity of simulation tools for beamline design in the
|
|
85
|
-
OASYS environment,"
|
|
86
|
-
Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
|
|
87
|
-
https://doi.org/10.1117/12.2274232
|
|
88
|
-
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: syned
|
|
3
|
+
Version: 1.0.49
|
|
4
|
+
Summary: SYNED (SYNchrotron Elements Dictionary) kernel library
|
|
5
|
+
Home-page: https://github.com/oasys-kit/syned
|
|
6
|
+
Download-URL: https://github.com/oasys-kit/syned
|
|
7
|
+
Author: Manuel Sanchez del Rio, Luca Rebuffi
|
|
8
|
+
Author-email: srio@esrf.eu
|
|
9
|
+
Maintainer: L Rebuffi and M Sanchez del Rio
|
|
10
|
+
Maintainer-email: srio@esrf.eu
|
|
11
|
+
License: GPLv3
|
|
12
|
+
Keywords: dictionary,glossary,synchrotronsimulation
|
|
13
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
+
Classifier: Environment :: Console
|
|
15
|
+
Classifier: Environment :: Plugins
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Operating System :: POSIX
|
|
18
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Intended Audience :: Education
|
|
22
|
+
Classifier: Intended Audience :: Science/Research
|
|
23
|
+
Classifier: Intended Audience :: Developers
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: setuptools
|
|
26
|
+
Requires-Dist: numpy
|
|
27
|
+
Requires-Dist: scipy
|
|
28
|
+
Requires-Dist: json-tricks
|
|
29
|
+
Dynamic: author
|
|
30
|
+
Dynamic: author-email
|
|
31
|
+
Dynamic: classifier
|
|
32
|
+
Dynamic: description
|
|
33
|
+
Dynamic: download-url
|
|
34
|
+
Dynamic: home-page
|
|
35
|
+
Dynamic: keywords
|
|
36
|
+
Dynamic: license
|
|
37
|
+
Dynamic: license-file
|
|
38
|
+
Dynamic: maintainer
|
|
39
|
+
Dynamic: maintainer-email
|
|
40
|
+
Dynamic: requires-dist
|
|
41
|
+
Dynamic: summary
|
|
42
|
+
|
|
43
|
+
=====
|
|
44
|
+
syned
|
|
45
|
+
=====
|
|
46
|
+
|
|
47
|
+
About
|
|
48
|
+
-----
|
|
49
|
+
|
|
50
|
+
SYNchrotron Elements Dictionary.
|
|
51
|
+
|
|
52
|
+
A python library to define the components (sources, mirrors, crystals, etc.) of a synchrotron beamline and their positions.
|
|
53
|
+
They can be read/write to json files.
|
|
54
|
+
It is used by OASYS as a common tool to define sources and optical systems that are then exported to the different add-ons.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
Documentation
|
|
58
|
+
-------------
|
|
59
|
+
https://syned.readthedocs.io/
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
Source repository
|
|
63
|
+
-----------------
|
|
64
|
+
https://github.com/oasys-kit/syned
|
|
65
|
+
|
|
66
|
+
Quick-installation
|
|
67
|
+
------------------
|
|
68
|
+
|
|
69
|
+
Syned can be installed with Python 3.x:
|
|
70
|
+
|
|
71
|
+
.. code-block:: console
|
|
72
|
+
|
|
73
|
+
$ python -m pip install syned
|
|
74
|
+
|
|
75
|
+
Graphical user interface
|
|
76
|
+
------------------------
|
|
77
|
+
|
|
78
|
+
A graphical interface is available under Oasys: https://github.com/oasys-kit/OASYS-SYNED
|
|
79
|
+
|
|
80
|
+
Reference
|
|
81
|
+
---------
|
|
82
|
+
|
|
83
|
+
Luca Rebuffi, Manuel Sanchez del Rio,
|
|
84
|
+
"Interoperability and complementarity of simulation tools for beamline design in the
|
|
85
|
+
OASYS environment,"
|
|
86
|
+
Proc. SPIE 10388, Advances in Computational Methods for X-Ray Optics IV, 1038808 (23 August 2017);
|
|
87
|
+
https://doi.org/10.1117/12.2274232
|
|
88
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
syned/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
syned/syned_object.py,sha256=lvuWIDT0r_V2cR8D6JCXWEN3rhWRSsV7ncfPs-P5kqc,8523
|
|
3
|
+
syned/beamline/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
4
|
+
syned/beamline/beamline.py,sha256=TmUy2p5XvR4HNeLxJ-0bamNCcMjyC99N6oXs0OB3qOU,4659
|
|
5
|
+
syned/beamline/beamline_element.py,sha256=wOXeDO9DZgWZfYpqU4eymIZxXLQ0LsQklfueHtR0xbc,2259
|
|
6
|
+
syned/beamline/element_coordinates.py,sha256=kViz-cCsKicZoBNFtMHAEdP6SqpJ8MmGBAnHwYJTPds,5475
|
|
7
|
+
syned/beamline/optical_element.py,sha256=5XkTs7BeHwOHbiav622V6teZoVlt8OjkLRAyJ8cH9Lk,1190
|
|
8
|
+
syned/beamline/optical_element_with_surface_shape.py,sha256=vqhG7MnFrQ7-2Rwxs-0ktBw3pOgV26tvJOJ2d43bITs,4393
|
|
9
|
+
syned/beamline/shape.py,sha256=YDyQnU_EILnwbSrbFDIWho_fiSZGnGLYGp5sw0efqbU,93918
|
|
10
|
+
syned/beamline/optical_elements/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
11
|
+
syned/beamline/optical_elements/absorbers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
+
syned/beamline/optical_elements/absorbers/absorber.py,sha256=3K_Ky-nTbWb-kOs5juf8zOaQgC5i04rMmJpBwHsX_e8,684
|
|
13
|
+
syned/beamline/optical_elements/absorbers/beam_stopper.py,sha256=ef6mRAaGRI7i2D3RCTQmJnH4jBkaA1p5waIiRrMfkWg,2036
|
|
14
|
+
syned/beamline/optical_elements/absorbers/filter.py,sha256=13ooCbkGmCzhUUR0vpMDNN9mVOtyznUVnYBxnYm8rOE,1776
|
|
15
|
+
syned/beamline/optical_elements/absorbers/holed_filter.py,sha256=JvVARwoOy9jmhseAj2f9a4T3I3Dm8xfniS-qdwCk5Zo,2117
|
|
16
|
+
syned/beamline/optical_elements/absorbers/slit.py,sha256=l_vJodOwsp_shLcSl1jwyfqKGrORIJMQplG8ei4yv24,2677
|
|
17
|
+
syned/beamline/optical_elements/crystals/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
18
|
+
syned/beamline/optical_elements/crystals/crystal.py,sha256=d-qkBx2y-3k1xTCCaIv-tBRd6KsHK7NfvzSKrE0I7As,2995
|
|
19
|
+
syned/beamline/optical_elements/gratings/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
20
|
+
syned/beamline/optical_elements/gratings/grating.py,sha256=SUUjji_EqTu9BlzuFnwh_FY8mwsO5r4zhbckNaC5zD0,12290
|
|
21
|
+
syned/beamline/optical_elements/ideal_elements/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
22
|
+
syned/beamline/optical_elements/ideal_elements/ideal_element.py,sha256=-_Ngws4YoZhQVYo-Kx44tIfEf0KvekdWyU8Ye1wTy0E,615
|
|
23
|
+
syned/beamline/optical_elements/ideal_elements/ideal_fzp.py,sha256=kUBAXmQf9zWHzxr3qaqQSG7RqGCEoldyq4FE5VPEYVI,5250
|
|
24
|
+
syned/beamline/optical_elements/ideal_elements/ideal_lens.py,sha256=z1Gs_yV57-sr1-vZ8uYgSHti0MFkoOYQ7zwZAo0NhlA,1708
|
|
25
|
+
syned/beamline/optical_elements/ideal_elements/screen.py,sha256=0eKRM_izBz_CSpIUBhHMyp5FIRoKAyYvetSfS5i6j6k,423
|
|
26
|
+
syned/beamline/optical_elements/mirrors/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
27
|
+
syned/beamline/optical_elements/mirrors/mirror.py,sha256=Lu3w3Dex7Yl5WYPRyfkZyU6AfWEmvyfTdVo8DWRSlZw,1761
|
|
28
|
+
syned/beamline/optical_elements/multilayers/__init__.py,sha256=z7sVHK4XY-306kRURJb-ABD5l8SgY6PalZu_WNattNc,3436
|
|
29
|
+
syned/beamline/optical_elements/multilayers/multilayer.py,sha256=8PyZg6GTPUwT7q2ELCvJHdD4h6d-pU_24Q5PsTbQY8w,2045
|
|
30
|
+
syned/beamline/optical_elements/refractors/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
31
|
+
syned/beamline/optical_elements/refractors/crl.py,sha256=nKQthSz02gqrCuhDbU21oN_eNvT15Ht8NAftBzcqpD0,3108
|
|
32
|
+
syned/beamline/optical_elements/refractors/interface.py,sha256=lTKNX58TvmlUT7HeUT2bQhnNNeXgr_cEpNk3ozfBuJ8,2397
|
|
33
|
+
syned/beamline/optical_elements/refractors/lens.py,sha256=Jqg2u1C5l5FHpgGILsnAwf4hfdABnKZ3EAxTydts7hU,3415
|
|
34
|
+
syned/storage_ring/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
35
|
+
syned/storage_ring/electron_beam.py,sha256=WgPs2s0hL3L4oNRfqPaltLszMN-FxmC4j0uw_MBpV1g,29280
|
|
36
|
+
syned/storage_ring/empty_light_source.py,sha256=6ff5BuNbrVlr5LsDnKrt3HhjPoeMMZk5AURF2C5hDi8,983
|
|
37
|
+
syned/storage_ring/light_source.py,sha256=cuvFE8dHvNK6inX2ZjyTOfzgOOz8nCdhuwIkbtTsiqE,2582
|
|
38
|
+
syned/storage_ring/magnetic_structure.py,sha256=X0JOB6POjmvaYkIIPHXJHqIXY3-rMztfL4iEGK3UJf4,249
|
|
39
|
+
syned/storage_ring/magnetic_structures/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
|
40
|
+
syned/storage_ring/magnetic_structures/bending_magnet.py,sha256=fZrnzEVakDsjlggJaHddzGbdnj3keufEbqe8fKEBScU,10822
|
|
41
|
+
syned/storage_ring/magnetic_structures/insertion_device.py,sha256=2o--b1maYXqzmEr6prYEhmHnvFZWs-d5vhTm8Dj6b5w,4415
|
|
42
|
+
syned/storage_ring/magnetic_structures/undulator.py,sha256=_OSnrfq_CdtQkpaDUQEdBZVrqqSTr_gk90Nfd6lumrI,13910
|
|
43
|
+
syned/storage_ring/magnetic_structures/wiggler.py,sha256=pOt9m_evHv94HDtYfC-RQc3w7lvy1G64lWN9zu1De7E,1080
|
|
44
|
+
syned/util/__init__.py,sha256=-Txh5hCxMxCPqLXB0XD0TH9bq3bMu_3i_iSFcutXCYo,763
|
|
45
|
+
syned/util/json_tools.py,sha256=sJeWNND_MoT8XWZjoFKaMyTOPE3HJVrRHvIcKEixSUE,7778
|
|
46
|
+
syned/widget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
|
+
syned/widget/widget_decorator.py,sha256=Bvq62PKMeBzI57MlW1ujuUrxOip_zQC2tIc1oiuXzHU,1724
|
|
48
|
+
syned-1.0.49.dist-info/licenses/LICENSE,sha256=mQBEs2Yo020WWfqXmIIdElTN27VpktxH5yt0E0w3Tw8,1114
|
|
49
|
+
syned-1.0.49.dist-info/METADATA,sha256=KzIa7lzhgBGK8DAY9X_Q0YzwQS-863yExNGSkhQumZU,2496
|
|
50
|
+
syned-1.0.49.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
51
|
+
syned-1.0.49.dist-info/top_level.txt,sha256=PMrZrTESxk_mUTBz0gyGBlYvM_3BesYCHB1MUgjSlVE,6
|
|
52
|
+
syned-1.0.49.dist-info/RECORD,,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
Copyright (c) 2017-2019 The Oasys Organization
|
|
3
|
-
|
|
4
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
-
this software and associated documentation files (the "Software"), to deal in
|
|
6
|
-
the Software without restriction, including without limitation the rights to
|
|
7
|
-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
-
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
-
subject to the following conditions:
|
|
10
|
-
|
|
11
|
-
The above copyright notice and this permission notice shall be included in all
|
|
12
|
-
copies or substantial portions of the Software.
|
|
13
|
-
|
|
14
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
-
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
Copyright (c) 2017-2019 The Oasys Organization
|
|
3
|
+
|
|
4
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
5
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
6
|
+
the Software without restriction, including without limitation the rights to
|
|
7
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
8
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
9
|
+
subject to the following conditions:
|
|
10
|
+
|
|
11
|
+
The above copyright notice and this permission notice shall be included in all
|
|
12
|
+
copies or substantial portions of the Software.
|
|
13
|
+
|
|
14
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
15
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
16
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
17
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
18
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
19
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
20
|
+
|
syned/__test/__init__.py
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
# ----------------------------------------------------------------------- #
|
syned/__test/test.py
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import traceback
|
|
2
|
-
import warnings
|
|
3
|
-
warnings.simplefilter("always")
|
|
4
|
-
|
|
5
|
-
from syned.storage_ring.electron_beam import ElectronBeam
|
|
6
|
-
|
|
7
|
-
try:
|
|
8
|
-
a = ElectronBeam.initialize_as_pencil_beam(energy_in_GeV=6.0,
|
|
9
|
-
current=0.2,
|
|
10
|
-
energy_spread=0.00095,
|
|
11
|
-
moment_xx =1.0,
|
|
12
|
-
moment_xxp =1.0,
|
|
13
|
-
moment_xpxp =1.0,
|
|
14
|
-
moment_yy =1.0,
|
|
15
|
-
moment_yyp =1.0,
|
|
16
|
-
moment_ypyp =1.0,
|
|
17
|
-
dispersion_x =1.0,
|
|
18
|
-
dispersion_y =1.0,
|
|
19
|
-
dispersionp_x=1.0,
|
|
20
|
-
dispersionp_y=1.0)
|
|
21
|
-
a.set_twiss_horizontal (0, 0, 0)
|
|
22
|
-
a.set_twiss_vertical (0, 1, 1, eta_y=2.0, etap_y=3.0)
|
|
23
|
-
|
|
24
|
-
print(a.info())
|
|
25
|
-
|
|
26
|
-
print(a.get_twiss_no_dispersion_all())
|
|
27
|
-
except:
|
|
28
|
-
traceback.print_exc()
|
syned-1.0.47.dist-info/RECORD
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
syned/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
syned/syned_object.py,sha256=p9nGtvxVZkNx5JlDol3c-1n8qXRxtFc01SjXV8HLyOs,8033
|
|
3
|
-
syned/__test/__init__.py,sha256=OQwx0a5g_fzul1uaL4Lsq60GAnadpFUphcVuDbgjCKE,3390
|
|
4
|
-
syned/__test/test.py,sha256=ID7--g20G8vLj9q817Z8eCIoIEI2O_KVBd01ehivOpc,1172
|
|
5
|
-
syned/beamline/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
6
|
-
syned/beamline/beamline.py,sha256=dOuwOj68613zobq-OisfNyccGNaHtbM1i5kwpAtRVgw,4504
|
|
7
|
-
syned/beamline/beamline_element.py,sha256=48TJQH3bps7txipruFmQy7mk9uWEqqJLwinyjtGUWgc,2183
|
|
8
|
-
syned/beamline/element_coordinates.py,sha256=t92vzY7--vPg5duCrSEeUVpcVTHWPXaP6lqSE99w_Zc,5276
|
|
9
|
-
syned/beamline/optical_element.py,sha256=foJuYNYmPFC9FQ0i1Y_AApc3nW-S0Wid_JMP47xTqRw,1143
|
|
10
|
-
syned/beamline/optical_element_with_surface_shape.py,sha256=uNbTPb2AdwvS3e5SRGdKNX8Gs4kJ0t2q9VjE7qTkOog,4267
|
|
11
|
-
syned/beamline/shape.py,sha256=QAhPKxDhj-ciS6AiijFFNWgtDWfhqehqx2IerN3bRXA,87065
|
|
12
|
-
syned/beamline/optical_elements/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
13
|
-
syned/beamline/optical_elements/absorbers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
|
-
syned/beamline/optical_elements/absorbers/absorber.py,sha256=_8_ynlSVWQv5lzMusL6mYkS56XvHeeN7rd-POR6ChKQ,663
|
|
15
|
-
syned/beamline/optical_elements/absorbers/beam_stopper.py,sha256=pHywuyGAP41oWc3i9MgKaF9Sqgl9-MtRiDAX8zuQoGI,1973
|
|
16
|
-
syned/beamline/optical_elements/absorbers/filter.py,sha256=yEig-uycMKdtxG_11tNAlewNTbv0YIaNMusaldT6JEQ,1715
|
|
17
|
-
syned/beamline/optical_elements/absorbers/holed_filter.py,sha256=y4CcIZ6D2mxTfEx9WtwW5KZNCvM5cUfcIBtbr7U2orM,2050
|
|
18
|
-
syned/beamline/optical_elements/absorbers/slit.py,sha256=eJi23OgDLUdVVFhCnzrE01xuk7WORcXIGB6l_PK0cag,2597
|
|
19
|
-
syned/beamline/optical_elements/crystals/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
20
|
-
syned/beamline/optical_elements/crystals/crystal.py,sha256=Wrjy4ZRn6dBhI19qNOgVN8Jod4yQbU8nSbgtmZL40jw,2925
|
|
21
|
-
syned/beamline/optical_elements/gratings/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
22
|
-
syned/beamline/optical_elements/gratings/grating.py,sha256=sOaidmEgmOAV4R8Jch6JH0ElqoQRQm7Al7HAr_O8IYA,12011
|
|
23
|
-
syned/beamline/optical_elements/ideal_elements/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
24
|
-
syned/beamline/optical_elements/ideal_elements/ideal_element.py,sha256=qmOt67kOSNdAJCZWcf6KIKGNtukTl9WcbQl6PnCrPzs,600
|
|
25
|
-
syned/beamline/optical_elements/ideal_elements/ideal_fzp.py,sha256=wkqxe7sviI1DYomRYxeaC5W0YYOQBFJaqe64q2BlO8M,5067
|
|
26
|
-
syned/beamline/optical_elements/ideal_elements/ideal_lens.py,sha256=X2zHfPbUGOn_LWaz-A-2EpOrog7gCTJ8wu10ZoJPRvY,1654
|
|
27
|
-
syned/beamline/optical_elements/ideal_elements/screen.py,sha256=NpVJZsA-u-T5OgUWxTYebHdoNJb0oKh2ENRhv8WpJ_A,408
|
|
28
|
-
syned/beamline/optical_elements/mirrors/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
29
|
-
syned/beamline/optical_elements/mirrors/mirror.py,sha256=RAFUzYlj09rPMPvFVlZnMTeQMogMO1aHRvCJIddiFqg,1722
|
|
30
|
-
syned/beamline/optical_elements/multilayers/__init__.py,sha256=OQwx0a5g_fzul1uaL4Lsq60GAnadpFUphcVuDbgjCKE,3390
|
|
31
|
-
syned/beamline/optical_elements/multilayers/multilayer.py,sha256=AweNp22N1Jfthd7-1KDBhBtlRqqmRGi1qu7Yed0f-pM,2000
|
|
32
|
-
syned/beamline/optical_elements/refractors/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
33
|
-
syned/beamline/optical_elements/refractors/crl.py,sha256=gew_bUP8OOwjYwxUOh73vj9wctE23RQNzXYxsZA_zg0,3029
|
|
34
|
-
syned/beamline/optical_elements/refractors/interface.py,sha256=T_ZXkN3YO8fjFE9I4jN9fMHOp0qmlFotldklUW8mvCQ,2337
|
|
35
|
-
syned/beamline/optical_elements/refractors/lens.py,sha256=xQUiYl3t3JwrZnNkTFDsnq5-FejaNPvCri_qlwCWSA8,3310
|
|
36
|
-
syned/storage_ring/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
37
|
-
syned/storage_ring/electron_beam.py,sha256=O0_tuulZcpT6_Sf4upMbbeJOVHyewxdqvs6uHlQ8JP4,28476
|
|
38
|
-
syned/storage_ring/empty_light_source.py,sha256=W1YHH4HMzpMwELJ4TljL4xf0OXHcsNHgHyLYGSFMeZw,943
|
|
39
|
-
syned/storage_ring/light_source.py,sha256=F-Alw_K3CxZ91N8d8KXwufDok4Z5vB6fjYvgdV4Whx0,2492
|
|
40
|
-
syned/storage_ring/magnetic_structure.py,sha256=M9CsF799HEuL8oOyGyGtuFAUh1_7hXfsUoLZmtSL6t0,241
|
|
41
|
-
syned/storage_ring/magnetic_structures/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
42
|
-
syned/storage_ring/magnetic_structures/bending_magnet.py,sha256=krg5iW1KtTmPXbx75eyHGGByBrMNssxp3jgH1JrAKRU,10493
|
|
43
|
-
syned/storage_ring/magnetic_structures/insertion_device.py,sha256=XhXN7pX3L0xQly5SpEEi6_nCQ2vDcxFp_KQJZCbwpfE,4246
|
|
44
|
-
syned/storage_ring/magnetic_structures/undulator.py,sha256=NkcoaRcCNJMasXUdiA_NZldLLsNynntb-12FUssxzes,13497
|
|
45
|
-
syned/storage_ring/magnetic_structures/wiggler.py,sha256=2RtcKSzhLDksWLSk3D97yk_q3C-ZFr60_GJGBCzwnmQ,1053
|
|
46
|
-
syned/util/__init__.py,sha256=JmVXq2RSaCjSlvdVrXYfPhCVwJhZjvFjUqBYE8oIni8,742
|
|
47
|
-
syned/util/json_tools.py,sha256=vC0dQHUJnz3m1PUFK-oawHs7l-IP5WYNbVKv_gOjfNk,7615
|
|
48
|
-
syned/widget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
49
|
-
syned/widget/widget_decorator.py,sha256=hfjwWmK9HZe7MtwIOAHT7rUgMYN6VmHqHB2zfVVRY4E,1658
|
|
50
|
-
syned-1.0.47.dist-info/licenses/LICENSE,sha256=C5iV2YY_hn_fGUPOveNdbY6tczl4oZCgfy5E8UdLQjk,1094
|
|
51
|
-
syned-1.0.47.dist-info/METADATA,sha256=YZtfbepQlzDC7-uqK7UlIrLiicJV0CY-8uaD1sC1-3Q,2468
|
|
52
|
-
syned-1.0.47.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
53
|
-
syned-1.0.47.dist-info/top_level.txt,sha256=PMrZrTESxk_mUTBz0gyGBlYvM_3BesYCHB1MUgjSlVE,6
|
|
54
|
-
syned-1.0.47.dist-info/RECORD,,
|
|
File without changes
|