xrayscatteringtools 0.1.0__tar.gz → 0.2.0__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 (48) hide show
  1. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/.gitattributes +2 -2
  2. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/.gitignore +183 -181
  3. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/LICENSE +21 -21
  4. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/PKG-INFO +28 -4
  5. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/README.md +76 -52
  6. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/pyproject.toml +59 -59
  7. xrayscatteringtools-0.2.0/src/xrayscatteringtools/__init__.py +5 -0
  8. xrayscatteringtools-0.2.0/src/xrayscatteringtools/calib/__init__.py +2 -0
  9. xrayscatteringtools-0.2.0/src/xrayscatteringtools/calib/data/Zn_attenuation_length.h5 +0 -0
  10. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/calib/geometry_calibration.py +264 -203
  11. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/calib/scattering_corrections.py +515 -487
  12. xrayscatteringtools-0.2.0/src/xrayscatteringtools/data/Jungfrau.h5 +0 -0
  13. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/epicsArch.py +392 -392
  14. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/io.py +443 -310
  15. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/plotting.py +88 -88
  16. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/__init__.py +7 -0
  17. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/geometries/SF6__CCSD_T_DHK__aug_cc_pV5Z_DK.h5 +0 -0
  18. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/geometries/make_geometry_h5.py +38 -0
  19. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/patterns/SF6__CCSD__aug_cc_pVDZ.h5 +0 -0
  20. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/patterns/SF6__HF__aug_cc_pVDZ.h5 +0 -0
  21. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/patterns/SF6__MP2__aug_cc_pVDZ.h5 +0 -0
  22. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/patterns/convert_ab_initio_to_h5.py +45 -0
  23. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/geometries.py +92 -0
  24. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/geometries.pyi +17 -0
  25. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/theory/iam.py +369 -213
  26. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/patterns.py +95 -0
  27. xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/patterns.pyi +18 -0
  28. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/src/xrayscatteringtools/utils.py +645 -456
  29. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/DMP_D.xyz +24 -24
  30. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/DMP_L1.xyz +24 -24
  31. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/DMP_L2.xyz +24 -24
  32. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/DMP_ground.xyz +24 -24
  33. xrayscatteringtools-0.2.0/tests/azav_test.ipynb +107 -0
  34. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/calib_test.ipynb +156 -127
  35. xrayscatteringtools-0.2.0/tests/geometries_test.ipynb +44 -0
  36. xrayscatteringtools-0.2.0/tests/iam_oriented_test.ipynb +243 -0
  37. {xrayscatteringtools-0.1.0 → xrayscatteringtools-0.2.0}/tests/iam_pattern_test.ipynb +149 -149
  38. xrayscatteringtools-0.2.0/tests/patterns_test.ipynb +173 -0
  39. xrayscatteringtools-0.2.0/tests/sf6_test.xyz +9 -0
  40. xrayscatteringtools-0.1.0/src/xrayscatteringtools/__init__.py +0 -3
  41. xrayscatteringtools-0.1.0/src/xrayscatteringtools/theory/__init__.py +0 -1
  42. xrayscatteringtools-0.1.0/src/xrayscatteringtools/theory/data/sf6.h5 +0 -0
  43. xrayscatteringtools-0.1.0/src/xrayscatteringtools/theory/patterns.py +0 -36
  44. xrayscatteringtools-0.1.0/tests/__init__.py +0 -0
  45. xrayscatteringtools-0.1.0/tests/sf6_ground.xyz +0 -9
  46. {xrayscatteringtools-0.1.0/src/xrayscatteringtools/theory → xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/IAM}/Compton_Factors.npy +0 -0
  47. {xrayscatteringtools-0.1.0/src/xrayscatteringtools/theory → xrayscatteringtools-0.2.0/src/xrayscatteringtools/theory/data/IAM}/Scattering_Factors.npy +0 -0
  48. {xrayscatteringtools-0.1.0/src/xrayscatteringtools/calib → xrayscatteringtools-0.2.0/tests}/__init__.py +0 -0
@@ -1,2 +1,2 @@
1
- # Auto detect text files and perform LF normalization
2
- * text=auto
1
+ # Auto detect text files and perform LF normalization
2
+ * text=auto
@@ -1,181 +1,183 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # UV
98
- # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- #uv.lock
102
-
103
- # poetry
104
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
- # This is especially recommended for binary packages to ensure reproducibility, and is more
106
- # commonly ignored for libraries.
107
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
- #poetry.lock
109
-
110
- # pdm
111
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
- #pdm.lock
113
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
- # in version control.
115
- # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
- .pdm.toml
117
- .pdm-python
118
- .pdm-build/
119
-
120
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
- __pypackages__/
122
-
123
- # Celery stuff
124
- celerybeat-schedule
125
- celerybeat.pid
126
-
127
- # SageMath parsed files
128
- *.sage.py
129
-
130
- # Environments
131
- .env
132
- .venv
133
- env/
134
- venv/
135
- ENV/
136
- env.bak/
137
- venv.bak/
138
-
139
- # Spyder project settings
140
- .spyderproject
141
- .spyproject
142
-
143
- # Rope project settings
144
- .ropeproject
145
-
146
- # mkdocs documentation
147
- /site
148
-
149
- # mypy
150
- .mypy_cache/
151
- .dmypy.json
152
- dmypy.json
153
-
154
- # Pyre type checker
155
- .pyre/
156
-
157
- # pytype static type analyzer
158
- .pytype/
159
-
160
- # Cython debug symbols
161
- cython_debug/
162
-
163
- # PyCharm
164
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
- # and can be added to the global gitignore or merged into this file. For a more nuclear
167
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
- #.idea/
169
-
170
- # Ruff stuff:
171
- .ruff_cache/
172
-
173
- # PyPI configuration file
174
- .pypirc
175
-
176
- # Cursor
177
- # Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
178
- # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
179
- # refer to https://docs.cursor.com/context/ignore-files
180
- .cursorignore
181
- .cursorindexingignore
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ share/python-wheels/
24
+ *.egg-info/
25
+ .installed.cfg
26
+ *.egg
27
+ MANIFEST
28
+
29
+ # PyInstaller
30
+ # Usually these files are written by a python script from a template
31
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
+ *.manifest
33
+ *.spec
34
+
35
+ # Installer logs
36
+ pip-log.txt
37
+ pip-delete-this-directory.txt
38
+
39
+ # Unit test / coverage reports
40
+ htmlcov/
41
+ .tox/
42
+ .nox/
43
+ .coverage
44
+ .coverage.*
45
+ .cache
46
+ nosetests.xml
47
+ coverage.xml
48
+ *.cover
49
+ *.py,cover
50
+ .hypothesis/
51
+ .pytest_cache/
52
+ cover/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ .pybuilder/
76
+ target/
77
+
78
+ # Jupyter Notebook
79
+ .ipynb_checkpoints
80
+
81
+ # IPython
82
+ profile_default/
83
+ ipython_config.py
84
+
85
+ # pyenv
86
+ # For a library or package, you might want to ignore these files since the code is
87
+ # intended to run in multiple environments; otherwise, check them in:
88
+ # .python-version
89
+
90
+ # pipenv
91
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
+ # install all needed dependencies.
95
+ #Pipfile.lock
96
+
97
+ # UV
98
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
100
+ # commonly ignored for libraries.
101
+ #uv.lock
102
+
103
+ # poetry
104
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
106
+ # commonly ignored for libraries.
107
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
+ #poetry.lock
109
+
110
+ # pdm
111
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
+ #pdm.lock
113
+ # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
+ # in version control.
115
+ # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
+ .pdm.toml
117
+ .pdm-python
118
+ .pdm-build/
119
+
120
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
+ __pypackages__/
122
+
123
+ # Celery stuff
124
+ celerybeat-schedule
125
+ celerybeat.pid
126
+
127
+ # SageMath parsed files
128
+ *.sage.py
129
+
130
+ # Environments
131
+ .env
132
+ .venv
133
+ env/
134
+ venv/
135
+ ENV/
136
+ env.bak/
137
+ venv.bak/
138
+
139
+ # Spyder project settings
140
+ .spyderproject
141
+ .spyproject
142
+
143
+ # Rope project settings
144
+ .ropeproject
145
+
146
+ # mkdocs documentation
147
+ /site
148
+
149
+ # mypy
150
+ .mypy_cache/
151
+ .dmypy.json
152
+ dmypy.json
153
+
154
+ # Pyre type checker
155
+ .pyre/
156
+
157
+ # pytype static type analyzer
158
+ .pytype/
159
+
160
+ # Cython debug symbols
161
+ cython_debug/
162
+
163
+ # PyCharm
164
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
167
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
+ #.idea/
169
+
170
+ # Ruff stuff:
171
+ .ruff_cache/
172
+
173
+ # PyPI configuration file
174
+ .pypirc
175
+
176
+ # Cursor
177
+ # Cursor is an AI-powered code editor.`.cursorignore` specifies files/directories to
178
+ # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
179
+ # refer to https://docs.cursor.com/context/ignore-files
180
+ .cursorignore
181
+ .cursorindexingignore
182
+
183
+ .DS_store
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 David Romano
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2025 David Romano
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xrayscatteringtools
3
- Version: 0.1.0
3
+ Version: 0.2.0
4
4
  Summary: A library for gas phase analysis at the CXI endstation
5
5
  Project-URL: Homepage, https://github.com/Weber-Group/xrayscatteringtools
6
6
  Project-URL: Issues, https://github.com/Weber-Group/xrayscatteringtools/issues
@@ -29,15 +29,22 @@ Description-Content-Type: text/markdown
29
29
 
30
30
  ## A python library for the analysis of data from the CXI endstation at the LCLS.
31
31
 
32
+ ### `calib` submodule pertains to the geometry calibration routine
33
+
34
+ ### `theory` submodule pertains to stored ab initio patterns, iam, or geometries.
35
+ ### `utils` has a bunch of useful functions in it
36
+ ### `xrayscatteringtools.io` has anything pertaning to loading or writing data (`combineRuns` is in here)
37
+ ### `plotting` has anything to do with plotting.
38
+
32
39
  ### List of all methods:
33
- All methods have full docstrings in the NumPy docstring standard.
34
- Proper namespaces have yet to be defined. Some of these functions can remain internal, and the more useful ones can be defined at the surface level.
40
+ All methods should have full docstrings in the NumPy docstring standard.
35
41
  * calib
36
42
  * geometry_calibration
37
43
  - run_geometry_calibration()
38
44
  - model()
39
45
  - thompson_correction()
40
46
  - geometry_correction()
47
+ - geometry_correction_units()
41
48
  * scattering_corrections
42
49
  - correction_factor()
43
50
  - Si_correction()
@@ -49,6 +56,7 @@ Proper namespaces have yet to be defined. Some of these functions can remain int
49
56
  - Al_attenuation_length()
50
57
  - Be_attenuation_length()
51
58
  - KaptonHN_attenuation_length()
59
+ - Zn_attenuation_length()
52
60
  - J4M_efficiency()
53
61
  * theory
54
62
  * iam
@@ -56,24 +64,40 @@ Proper namespaces have yet to be defined. Some of these functions can remain int
56
64
  - iam_inelastic_pattern()
57
65
  - iam_total_pattern()
58
66
  - iam_compton_spectrum()
67
+ - iam_elastic_pattern_oriented()
68
+ - iam_inelastic_pattern_oriented()
69
+ - iam_total_pattern_oriented()
59
70
  * patterns
60
- - sf6()
71
+ - SF6__CCSD__aug_cc_pVDZ
72
+ - SF6__HF__aug_cc_pVDZ
73
+ - SF6__MP2__aug_cc_pVDZ
74
+ * geometries
75
+ - SF6__CCSD_T_DHK__aug_cc_pV5Z_DK
61
76
  * io
62
77
  - combineRuns()
63
78
  - get_tree()
64
79
  - is_leaf()
65
80
  - get_leaves()
81
+ - get_data_paths()
66
82
  - runNumToString()
67
83
  - read_xyz()
84
+ - write_xyz()
85
+ - read_mol()
68
86
  * plotting
69
87
  - plot_jungfrau()
70
88
  - compute_pixel_edges()
71
89
  * utils
72
90
  - enable_underscore_cleanup()
73
91
  - azimuthalBinning()
92
+ - au2invAngstroms()
93
+ - invAngstroms2au()
74
94
  - keV2Angstroms()
75
95
  - Angstroms2keV()
76
96
  - q2theta()
77
97
  - theta2q()
78
98
  - element_symbol_to_number()
79
99
  - element_number_to_symbol()
100
+ - translate_molecule()
101
+ - rotate_molecule()
102
+ - J4M()
103
+ -
@@ -1,52 +1,76 @@
1
- # xrayscatteringtools
2
-
3
- ## A python library for the analysis of data from the CXI endstation at the LCLS.
4
-
5
- ### List of all methods:
6
- All methods have full docstrings in the NumPy docstring standard.
7
- Proper namespaces have yet to be defined. Some of these functions can remain internal, and the more useful ones can be defined at the surface level.
8
- * calib
9
- * geometry_calibration
10
- - run_geometry_calibration()
11
- - model()
12
- - thompson_correction()
13
- - geometry_correction()
14
- * scattering_corrections
15
- - correction_factor()
16
- - Si_correction()
17
- - KaptonHN_correction()
18
- - Al_correction()
19
- - Be_correction()
20
- - cell_correction()
21
- - Si_attenuation_length()
22
- - Al_attenuation_length()
23
- - Be_attenuation_length()
24
- - KaptonHN_attenuation_length()
25
- - J4M_efficiency()
26
- * theory
27
- * iam
28
- - iam_elastic_pattern()
29
- - iam_inelastic_pattern()
30
- - iam_total_pattern()
31
- - iam_compton_spectrum()
32
- * patterns
33
- - sf6()
34
- * io
35
- - combineRuns()
36
- - get_tree()
37
- - is_leaf()
38
- - get_leaves()
39
- - runNumToString()
40
- - read_xyz()
41
- * plotting
42
- - plot_jungfrau()
43
- - compute_pixel_edges()
44
- * utils
45
- - enable_underscore_cleanup()
46
- - azimuthalBinning()
47
- - keV2Angstroms()
48
- - Angstroms2keV()
49
- - q2theta()
50
- - theta2q()
51
- - element_symbol_to_number()
52
- - element_number_to_symbol()
1
+ # xrayscatteringtools
2
+
3
+ ## A python library for the analysis of data from the CXI endstation at the LCLS.
4
+
5
+ ### `calib` submodule pertains to the geometry calibration routine
6
+
7
+ ### `theory` submodule pertains to stored ab initio patterns, iam, or geometries.
8
+ ### `utils` has a bunch of useful functions in it
9
+ ### `xrayscatteringtools.io` has anything pertaning to loading or writing data (`combineRuns` is in here)
10
+ ### `plotting` has anything to do with plotting.
11
+
12
+ ### List of all methods:
13
+ All methods should have full docstrings in the NumPy docstring standard.
14
+ * calib
15
+ * geometry_calibration
16
+ - run_geometry_calibration()
17
+ - model()
18
+ - thompson_correction()
19
+ - geometry_correction()
20
+ - geometry_correction_units()
21
+ * scattering_corrections
22
+ - correction_factor()
23
+ - Si_correction()
24
+ - KaptonHN_correction()
25
+ - Al_correction()
26
+ - Be_correction()
27
+ - cell_correction()
28
+ - Si_attenuation_length()
29
+ - Al_attenuation_length()
30
+ - Be_attenuation_length()
31
+ - KaptonHN_attenuation_length()
32
+ - Zn_attenuation_length()
33
+ - J4M_efficiency()
34
+ * theory
35
+ * iam
36
+ - iam_elastic_pattern()
37
+ - iam_inelastic_pattern()
38
+ - iam_total_pattern()
39
+ - iam_compton_spectrum()
40
+ - iam_elastic_pattern_oriented()
41
+ - iam_inelastic_pattern_oriented()
42
+ - iam_total_pattern_oriented()
43
+ * patterns
44
+ - SF6__CCSD__aug_cc_pVDZ
45
+ - SF6__HF__aug_cc_pVDZ
46
+ - SF6__MP2__aug_cc_pVDZ
47
+ * geometries
48
+ - SF6__CCSD_T_DHK__aug_cc_pV5Z_DK
49
+ * io
50
+ - combineRuns()
51
+ - get_tree()
52
+ - is_leaf()
53
+ - get_leaves()
54
+ - get_data_paths()
55
+ - runNumToString()
56
+ - read_xyz()
57
+ - write_xyz()
58
+ - read_mol()
59
+ * plotting
60
+ - plot_jungfrau()
61
+ - compute_pixel_edges()
62
+ * utils
63
+ - enable_underscore_cleanup()
64
+ - azimuthalBinning()
65
+ - au2invAngstroms()
66
+ - invAngstroms2au()
67
+ - keV2Angstroms()
68
+ - Angstroms2keV()
69
+ - q2theta()
70
+ - theta2q()
71
+ - element_symbol_to_number()
72
+ - element_number_to_symbol()
73
+ - translate_molecule()
74
+ - rotate_molecule()
75
+ - J4M()
76
+ -