pyTEMlib 0.2023.8.0__py2.py3-none-any.whl → 0.2024.2.0__py2.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.

Potentially problematic release.


This version of pyTEMlib might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2019 Gerd Duscher
3
+ Copyright (c) 2024, Gerd
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyTEMlib
3
- Version: 0.2023.8.0
3
+ Version: 0.2024.2.0
4
4
  Summary: pyTEM: TEM Data Quantification library through a model-based approach
5
5
  Home-page: https://pycroscopy.github.io/pyTEMlib/about.html
6
6
  Author: Gerd Duscher
@@ -38,7 +38,7 @@ Requires-Dist: spglib
38
38
  Requires-Dist: scikit-image
39
39
  Requires-Dist: scikit-learn
40
40
  Requires-Dist: pyNSID >=0.0.7
41
- Requires-Dist: sidpy >=0.11.2
41
+ Requires-Dist: sidpy >=0.12.1
42
42
  Requires-Dist: SciFiReaders >=0.0.8
43
43
 
44
44
  pyTEMlib
@@ -0,0 +1,35 @@
1
+ pyTEMlib/__init__.py,sha256=nEN93amIEoZxO7rJgN71ABeCoXrnmaywBbE97l5lPio,178
2
+ pyTEMlib/animation.py,sha256=oPxbTuy8LfdH2mOOgm9Q40ArFAJmXM_58UV97ptcNAY,25187
3
+ pyTEMlib/atom_tools.py,sha256=ViO4ZZZoCZ_Cp2KijiqKKOiQhGOWnye45T0rsiPhf4I,7314
4
+ pyTEMlib/config_dir.py,sha256=4evlo9P2Yht-AnqaLI-WweLjDQcislbAP3I7P7EZsPU,2085
5
+ pyTEMlib/crystal_tools.py,sha256=g4OXyvd5NLw7vaXhjDP3P6VZpVV6eiyuPn8MdgR2amI,61652
6
+ pyTEMlib/diffraction_plot.py,sha256=pM5d3bdBGa8LlPZ5lw8sLT94mlYTXELxPLv-jUP2FWY,27959
7
+ pyTEMlib/dynamic_scattering.py,sha256=O9MxnxfndWJ2VhQRjksKNQ4yY7y-gN_hitRQ4Qox4ns,9472
8
+ pyTEMlib/eds_tools.py,sha256=34YYoix9rhq0aYnZrHVi0A8gQeu9XZ9fGGT0VxPQo8Y,24882
9
+ pyTEMlib/eels_dialog.py,sha256=x5AOe2SjL4R8aR6X92HOWdC9mL0M-jKtSiNfR-SHQr8,32327
10
+ pyTEMlib/eels_dialog_utilities.py,sha256=srkRvRDUWIzN38EWNGRWimsJLK4YXSnGEfL6Dd1V3IY,51778
11
+ pyTEMlib/eels_tools.py,sha256=pzsiMY-1ZXth5ZIrPaRNOs6R3gMAyZr8TVYf-Lxnn5Y,77781
12
+ pyTEMlib/file_tools.py,sha256=RqYPMAkz7pNorvTUhazXk7aQltjOvQPqo_PhA9Iz-Bw,46371
13
+ pyTEMlib/file_tools_qt.py,sha256=tLZACS4JyGH_AOzNR_SGAhjA01y4VJB261opPhGMlm8,7223
14
+ pyTEMlib/graph_tools.py,sha256=iu0Y2hIPU6CkQHQEh-dI1vKnUHnSNXx4-CXs2M-1Sr8,44097
15
+ pyTEMlib/graph_viz.py,sha256=m5PwSn6l2r0bsaLWBDSHc9IGR3_PneG2BrZgnEdi07I,13644
16
+ pyTEMlib/image_dialog.py,sha256=F-ZgKq7UnMtPPd1b9eqb7t8MXDfWN-8hVKwB2Il0x28,6235
17
+ pyTEMlib/image_dlg.py,sha256=n5gradDiYOFGEQ3k_Wlk9RUYYzl4bl_hKLzNVcYteNE,5694
18
+ pyTEMlib/image_tools.py,sha256=IoRBmKsL6o4V9xGAKoSUV0hOJhr0QXIPCbEiAPWLOq0,43231
19
+ pyTEMlib/info_widget.py,sha256=G8MArXYI_xdvRY3cD7-3UxUjczEUWPjlrGJOj2BKU2Y,49903
20
+ pyTEMlib/interactive_image.py,sha256=5PwypcA1OjLAD-fi8bmWWFHuOjdIPVY9Dh59V24WuDA,34
21
+ pyTEMlib/kinematic_scattering.py,sha256=CUdJnclkok7d8qm_jDUF92MVHrmaTeMkKdvxxB6AqvA,43309
22
+ pyTEMlib/microscope.py,sha256=iigUF1UImHEfmL2wqEBBj3aNRgEYouDbIln8VCo4_KM,1545
23
+ pyTEMlib/peak_dialog.py,sha256=-HhgmoscfJMme9N495hDzfniYwuhn7iBzsDwZOOhTd4,48260
24
+ pyTEMlib/peak_dlg.py,sha256=qcjcnhwpGa4jBCeXzwQz9sCyX-tHsLLQ67ToqfKOiQY,11550
25
+ pyTEMlib/probe_tools.py,sha256=8tPQuANClLsGAKnZo6Vo4gNIGKfyDR6WUMO3dXcm_4k,27177
26
+ pyTEMlib/sidpy_tools.py,sha256=0oIx-qMtEmcZmLazQKW19dd-KoxyY3B15aIeMcyHA8E,4878
27
+ pyTEMlib/simulation_tools.py,sha256=RmegD5TpQMU68uASvzZWVplAqs7bM5KkF6bWDWLjyc0,2799
28
+ pyTEMlib/version.py,sha256=0VMCRcKqYUmPVFq0CCqmw64JL4otiQC0CzcUsUWQV1Y,94
29
+ pyTEMlib/xrpa_x_sections.py,sha256=peb2pozcH0T-3zlWITx-5rdyeoP2YhOfBpwsWD1-4T4,1813751
30
+ pyTEMlib-0.2024.2.0.dist-info/LICENSE,sha256=7HdBF6SXIBd38bHOKkQd4DYR1KV-OYm9mwB16fM-984,1062
31
+ pyTEMlib-0.2024.2.0.dist-info/METADATA,sha256=fFKLCe0EnCeRwkFKBHcQvqPl6MjtPRGsb7ygt97l-Co,3280
32
+ pyTEMlib-0.2024.2.0.dist-info/WHEEL,sha256=-G_t0oGuE7UD0DrSpVZnq1hHMBV9DD2XkS5v7XpmTnk,110
33
+ pyTEMlib-0.2024.2.0.dist-info/entry_points.txt,sha256=qiIFPP3ffSz-gxj-TowzbA0Setq5Lo0RJTVtSrqD1IY,44
34
+ pyTEMlib-0.2024.2.0.dist-info/top_level.txt,sha256=rPLVH0UJxrPSPgSoKScTjL1K_X69JFzsYYnDnYTYIlU,9
35
+ pyTEMlib-0.2024.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.41.1)
2
+ Generator: bdist_wheel (0.42.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any
pyTEMlib/eels_dlg.py DELETED
@@ -1,252 +0,0 @@
1
- """
2
- GUI definitions for EEELS_dialog
3
- """
4
-
5
- # -*- coding: utf-8 -*-
6
-
7
- # Form implementation generated from reading ui file 'untitled.ui'
8
- #
9
- # Created by: PyQt5 UI code generator 5.12.3
10
- #
11
- # WARNING! All changes made in this file will be lost!
12
-
13
- Qt_available = True
14
- try:
15
- from PyQt5 import QtCore, QtGui, QtWidgets
16
- except:
17
- Qt_available = False
18
- # print('Qt dialogs are not available')
19
-
20
- if Qt_available:
21
- class UiDialog(object):
22
- """ GUI definitions"""
23
- def __init__(self, dialog):
24
- dialog.setObjectName('Fit Composition Input')
25
- dialog.resize(371, 184)
26
- self.dialog = dialog
27
- valid_float = QtGui.QDoubleValidator()
28
- valid_int = QtGui.QIntValidator()
29
- valid_int.setBottom(0)
30
-
31
- self.layout = QtWidgets.QGridLayout()
32
- self.layout.setVerticalSpacing(2)
33
-
34
- self.separator1 = QtWidgets.QLabel(dialog)
35
- self.separator1.setAutoFillBackground(True)
36
- palette = self.separator1.palette()
37
- palette.setColor(self.separator1.backgroundRole(), QtCore.Qt.blue)
38
- palette.setColor(self.separator1.foregroundRole(), QtCore.Qt.white)
39
- self.separator1.setAlignment(QtCore.Qt.AlignCenter)
40
- self.separator1.setMaximumHeight(50)
41
-
42
- self.separator1.setPalette(palette)
43
- row = 0
44
- ######################################################################
45
- self.separator1.setText("Fit Region")
46
- self.layout.addWidget(self.separator1, row, 0, 1, 4)
47
- ######################################################################
48
-
49
- name = 'fit_start'
50
-
51
- self.label1 = QtWidgets.QLabel('Fit Start:')
52
- self.edit1 = QtWidgets.QLineEdit('0')
53
- self.edit1.setValidator(valid_float)
54
- self.unit1 = QtWidgets.QLabel('eV')
55
- self.edit1.setObjectName(name+'_edit')
56
- self.unit1.setObjectName(name+'_units')
57
-
58
- row += 1
59
- self.layout.addWidget(self.label1, row, 0)
60
- self.layout.addWidget(self.edit1, row, 1)
61
- self.layout.addWidget(self.unit1, row, 2)
62
-
63
- name = 'fit_end'
64
-
65
- self.label2 = QtWidgets.QLabel('Fit End:')
66
- self.edit2 = QtWidgets.QLineEdit('0')
67
- self.edit2.setValidator(valid_float)
68
- self.unit2 = QtWidgets.QLabel('eV')
69
- self.edit2.setObjectName(name + '_edit')
70
- self.unit2.setObjectName(name + '_units')
71
-
72
- row += 1
73
- self.layout.addWidget(self.label2, row, 0)
74
- self.layout.addWidget(self.edit2, row, 1)
75
- self.layout.addWidget(self.unit2, row, 2)
76
-
77
- self.separator2 = QtWidgets.QLabel(dialog)
78
- self.separator2.setAutoFillBackground(True)
79
- self.separator2.setAlignment(QtCore.Qt.AlignCenter)
80
- self.separator2.setMaximumHeight(50)
81
- self.separator2.setPalette(palette)
82
-
83
- row += 1
84
- ######################################################################
85
- self.separator2.setText("Elements")
86
- self.layout.addWidget(self.separator2, row, 0, 1, 4)
87
- ######################################################################
88
-
89
- self.auto_id_button = QtWidgets.QPushButton('Auto ID', dialog)
90
- self.select_button = QtWidgets.QPushButton('Manual ID', dialog)
91
-
92
- self.layout.addWidget(self.auto_id_button, row, 0)
93
- self.layout.addWidget(self.select_button, row, 2)
94
-
95
- row += 1
96
-
97
- name = 'edge'
98
- self.label3 = QtWidgets.QLabel('Edge:')
99
- self.edge_list = ['Edge 1', 'Edge 2', 'Edge 3', 'Edge 4', 'Edge 5', 'Edge 6']
100
- self.list3 = QtWidgets.QComboBox()
101
- self.list3.setEditable(False)
102
- self.list3.addItems(self.edge_list)
103
- self.check3 = QtWidgets.QCheckBox("Regions")
104
-
105
- row += 1
106
- self.layout.addWidget(self.label3, row, 0)
107
- self.layout.addWidget(self.list3, row, 1)
108
- self.layout.addWidget(self.check3, row, 2)
109
-
110
- self.list3.setObjectName(name + '_list')
111
- self.check3.setObjectName(name + '_check')
112
-
113
- name = 'element'
114
-
115
- self.label4 = QtWidgets.QLabel('Z:')
116
- self.edit4 = QtWidgets.QLineEdit('1')
117
- self.unit4 = QtWidgets.QLabel('H')
118
- self.edit4.setObjectName(name + '_edit')
119
- self.unit4.setObjectName(name + '_name')
120
-
121
- row += 1
122
- self.layout.addWidget(self.label4, row, 0)
123
- self.layout.addWidget(self.edit4, row, 1)
124
- self.layout.addWidget(self.unit4, row, 2)
125
-
126
- name = 'symmetry'
127
- self.edge_sym = ['K1', 'L3', 'M5', 'M3', 'M1', 'N1', 'N3', 'N5', 'N7', 'O1', 'O3', 'O5']
128
-
129
- self.label5 = QtWidgets.QLabel('Symmetry:')
130
- self.list5 = QtWidgets.QComboBox()
131
- self.list5.setEditable(False)
132
- self.list5.addItems(self.edge_sym)
133
-
134
- self.x_sec_meth = ['XRPA', 'Hydrog.', 'H-S GOS']
135
- self.select5 = QtWidgets.QComboBox()
136
- self.select5.setEditable(False)
137
- self.select5.addItems(self.x_sec_meth)
138
-
139
- row += 1
140
- self.layout.addWidget(self.label5, row, 0)
141
- self.layout.addWidget(self.list5, row, 1)
142
- self.layout.addWidget(self.select5, row, 2)
143
-
144
- self.list5.setObjectName(name + '_list')
145
- self.select5.setObjectName(name + '_method')
146
-
147
- name = 'onset'
148
-
149
- self.label6 = QtWidgets.QLabel('Onset:')
150
- self.edit6 = QtWidgets.QLineEdit('0')
151
- self.edit6.setValidator(valid_float)
152
- self.unit6 = QtWidgets.QLabel('eV')
153
- self.edit6.setObjectName(name + '_edit')
154
- self.unit6.setObjectName(name + '_units')
155
-
156
- row += 1
157
- self.layout.addWidget(self.label6, row, 0)
158
- self.layout.addWidget(self.edit6, row, 1)
159
- self.layout.addWidget(self.unit6, row, 2)
160
-
161
- name = 'excl_start'
162
-
163
- self.label7 = QtWidgets.QLabel('Excl. Start:')
164
- self.edit7 = QtWidgets.QLineEdit('0')
165
- self.edit7.setValidator(valid_float)
166
- self.unit7 = QtWidgets.QLabel('eV')
167
- self.edit7.setObjectName(name + '_edit')
168
- self.unit7.setObjectName(name + '_units')
169
-
170
- row += 1
171
- self.layout.addWidget(self.label7, row, 0)
172
- self.layout.addWidget(self.edit7, row, 1)
173
- self.layout.addWidget(self.unit7, row, 2)
174
-
175
- name = 'excl_end'
176
-
177
- self.label8 = QtWidgets.QLabel('Excl. End:')
178
- self.edit8 = QtWidgets.QLineEdit('0')
179
- self.edit8.setValidator(valid_float)
180
- self.unit8 = QtWidgets.QLabel('eV')
181
- self.edit8.setObjectName(name + '_edit')
182
- self.unit8.setObjectName(name + '_units')
183
-
184
- row += 1
185
- self.layout.addWidget(self.label8, row, 0)
186
- self.layout.addWidget(self.edit8, row, 1)
187
- self.layout.addWidget(self.unit8, row, 2)
188
-
189
- name = 'multiplier'
190
-
191
- self.label9 = QtWidgets.QLabel('Multiplier:')
192
- self.edit9 = QtWidgets.QLineEdit('0')
193
- self.edit9.setValidator(valid_float)
194
- self.unit9 = QtWidgets.QLabel('a.u.')
195
- self.edit9.setObjectName(name + '_edit')
196
- self.unit9.setObjectName(name + '_units')
197
-
198
- row += 1
199
- self.layout.addWidget(self.label9, row, 0)
200
- self.layout.addWidget(self.edit9, row, 1)
201
- self.layout.addWidget(self.unit9, row, 2)
202
-
203
- self.separator3 = QtWidgets.QLabel(dialog)
204
- self.separator3.setAutoFillBackground(True)
205
- self.separator3.setAlignment(QtCore.Qt.AlignCenter)
206
- self.separator3.setMaximumHeight(50)
207
- self.separator3.setPalette(palette)
208
- ######################################################################
209
- self.separator3.setText("Other Fit Parameters")
210
-
211
- row += 1
212
- self.layout.addWidget(self.separator3, row, 0, 1, 4)
213
- ######################################################################
214
-
215
- self.check10 = QtWidgets.QCheckBox("Conv. LL")
216
- self.show_edges = QtWidgets.QCheckBox("Show Edges")
217
- self.select10 = QtWidgets.QCheckBox("Fit Comp.")
218
-
219
- row += 1
220
- self.layout.addWidget(self.check10, row, 0)
221
- self.layout.addWidget(self.show_edges, row, 1)
222
- self.layout.addWidget(self.select10, row, 2)
223
-
224
- self.check10.setObjectName('conv_ll')
225
- self.select10.setObjectName('fit_comp')
226
-
227
- row += 1
228
- self.check_probability = QtWidgets.QCheckBox("Probab.")
229
- self.check_probability.setObjectName('probability')
230
- self.layout.addWidget(self.check_probability, row, 0)
231
-
232
- row += 1
233
- self.progress = QtWidgets.QProgressBar()
234
- self.progress.setGeometry(0, 0, 300, 25)
235
- self.progress.setMaximum(100)
236
-
237
- self.do_all_button = QtWidgets.QPushButton('Do All', dialog)
238
-
239
- self.do_fit_button = QtWidgets.QPushButton('Fit Composition', dialog)
240
- self.do_fit_button.setCheckable(True)
241
- self.do_fit_button.setDefault(True)
242
-
243
- self.layout.addWidget(self.do_all_button, row, 0)
244
- self.layout.addWidget(self.progress, row, 1)
245
- self.layout.addWidget(self.do_fit_button, row, 2)
246
-
247
- dialog.setLayout(self.layout)
248
- dialog.setWindowTitle('Fit Composition Input')
249
-
250
- # self.buttonBox.accepted.connect(Dialog.accept)
251
- # self.buttonBox.rejected.connect(Dialog.reject)
252
- QtCore.QMetaObject.connectSlotsByName(dialog)