pyemaps 2.7.0__tar.gz → 2.8.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.
- {pyemaps-2.7.0/pyemaps.egg-info → pyemaps-2.8.0}/PKG-INFO +7 -2
- {pyemaps-2.7.0 → pyemaps-2.8.0}/README.md +5 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/__init__.py +3 -0
- pyemaps-2.8.0/__version__.py +1 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/adf.ipynb +62 -65
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/al_ediom.ipynb +38 -38
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/al_orientmap.ipynb +65 -71
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/powder.ipynb +33 -33
- pyemaps-2.8.0/notebooks/probe.ipynb +1042 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_bloch.ipynb +54 -54
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_constructor.ipynb +34 -34
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_csf.ipynb +49 -49
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_dif.ipynb +66 -66
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_lacbed.ipynb +46 -46
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_scm.ipynb +53 -53
- {pyemaps-2.7.0 → pyemaps-2.8.0}/notebooks/si_stereo.ipynb +34 -34
- pyemaps-2.8.0/probe.py +1122 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0/pyemaps.egg-info}/PKG-INFO +7 -2
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyemaps.egg-info/SOURCES.txt +8 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyemaps.egg-info/requires.txt +1 -1
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/adf.py +12 -4
- pyemaps-2.8.0/samples/crystal_imaging.py +106 -0
- pyemaps-2.8.0/samples/ctf.py +100 -0
- pyemaps-2.8.0/samples/hrem.py +85 -0
- pyemaps-2.8.0/samples/ronchigram.py +83 -0
- pyemaps-2.8.0/samples/stem_probe.py +130 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/setup.py +3 -2
- {pyemaps-2.7.0 → pyemaps-2.8.0}/stackimg.py +22 -5
- pyemaps-2.7.0/__version__.py +0 -1
- {pyemaps-2.7.0 → pyemaps-2.8.0}/COPYING +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/MANIFEST.in +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/__config__.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/__main__.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Aluminium.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/AluminiumOxide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Aluminium_FCC.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/BariumTitanate_180k.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/BariumTitanate_270k.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/BariumTitanate_Tetra.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/BiMnO3.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Boron_Tetra.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/CadmiumSelenide_Hex.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/CadmiumSulfide_Cubic.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/CadmiumSulfide_Hex.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Chromium_BCC.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/CoSb3_Skutterudite.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/CopperOxide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Copper_FCC.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Cu2O_Cuprite.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Diamond.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/ErbiumPyrogermanate.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/FePd_Tetra.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/FeS2_Pyrite.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/GalliumAntimonide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/GalliumArsenide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/GalliumNitride.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Germanium.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Gold_FCC.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/IndiumArsenide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/LaMnO3.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/LeadZirconateTitanate.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Li2MnO3.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/NaFeO2.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Nb3Sn.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Pentacene.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/SiAlONa.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Silicon.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/StrontiumTitanate.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/TelluriumDioxide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/TinDioxide_RT.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/TitaniumDioxide_Anatase.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/TitaniumDioxide_Rutile.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/TungstenDiselenide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/VanadiumDioxide_RT.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/ZincOxide.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/Zinc_HCP.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/ZirconiumNitride.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cdata/limno2.xtl +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/cifreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/crystals.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/ddiffs.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/__init__.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/bloch_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/csf_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/dif_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/dpgen_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/mxtal_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/powder_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/diffract/stereo_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/display.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/dmreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/emcontrols.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/emdreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/errors.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/expimage.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/fileutils.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/kdiffs.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/license-exception.txt +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/license.txt +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/mibreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/mrcreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/orientmap.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/picreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyemaps.egg-info/dependency_links.txt +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyemaps.egg-info/entry_points.txt +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyemaps.egg-info/top_level.txt +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/pyproject.toml +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/readerbase.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/al.img +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/al_dpgen.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/al_ediom.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/al_orientmap.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/convert_image.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/dm_diff.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/mask.im3 +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/powder.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/raw.img +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_bloch.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_constructor.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_csf.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_dif.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_lacbed.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_pyemaps.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_scm.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/samples/si_stereo.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/scattering/__init__.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/scattering/sct_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/setup.cfg +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/spg/__init__.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/spg/spg_dec.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/tiffreader.py +0 -0
- {pyemaps-2.7.0 → pyemaps-2.8.0}/xtal.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyemaps
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
4
4
|
Summary: A Python Package for Transmission Electron Diffraction Simulations and Crystallographic Computing
|
|
5
5
|
Home-page: https://github.com/emlab-solutions/pyemaps
|
|
6
6
|
Author: EMLab Solutions, Inc.
|
|
@@ -24,7 +24,7 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
License-File: license-exception.txt
|
|
25
25
|
License-File: license.txt
|
|
26
26
|
License-File: COPYING
|
|
27
|
-
Requires-Dist: emaps>=2.
|
|
27
|
+
Requires-Dist: emaps>=2.5.0
|
|
28
28
|
Requires-Dist: numpy>=2.0
|
|
29
29
|
Requires-Dist: matplotlib>=3.8.4
|
|
30
30
|
Provides-Extra: emd
|
|
@@ -70,6 +70,11 @@ The base features are free, under the GNU General Public License v3.0:
|
|
|
70
70
|
- Convergent beam electron diffraction, including large-angle CBED
|
|
71
71
|
- The electron scattering matrix
|
|
72
72
|
- Electron dispersion (the eigenvalues of the Bloch wave solution)
|
|
73
|
+
- **Electron lenses with aberrations**, corrected or not
|
|
74
|
+
- Ronchigrams
|
|
75
|
+
- STEM probes and their size
|
|
76
|
+
- Contrast transfer functions, with their coherence envelopes
|
|
77
|
+
- HREM images of thin samples
|
|
73
78
|
|
|
74
79
|
The extended 4D-STEM features need a license:
|
|
75
80
|
|
|
@@ -31,6 +31,11 @@ The base features are free, under the GNU General Public License v3.0:
|
|
|
31
31
|
- Convergent beam electron diffraction, including large-angle CBED
|
|
32
32
|
- The electron scattering matrix
|
|
33
33
|
- Electron dispersion (the eigenvalues of the Bloch wave solution)
|
|
34
|
+
- **Electron lenses with aberrations**, corrected or not
|
|
35
|
+
- Ronchigrams
|
|
36
|
+
- STEM probes and their size
|
|
37
|
+
- Contrast transfer functions, with their coherence envelopes
|
|
38
|
+
- HREM images of thin samples
|
|
34
39
|
|
|
35
40
|
The extended 4D-STEM features need a license:
|
|
36
41
|
|
|
@@ -173,6 +173,9 @@ from .expimage import read_image, write_im3, image_readers, image_datasets, Expe
|
|
|
173
173
|
#--------------Orientation maps (made by StackImage.mapOrientation; loading needs no license)----
|
|
174
174
|
from .orientmap import OrientationMap, OM_INDEXED, OM_FEW_PEAKS, OM_FAILED, OM_NOT_RUN
|
|
175
175
|
|
|
176
|
+
#--------------Electron probes, Ronchigrams and CTF (emaps' probe module; free)----------------
|
|
177
|
+
from .probe import Probe
|
|
178
|
+
|
|
176
179
|
if PKG_TYPE != TYPE_FREE:
|
|
177
180
|
#------------------Diffraction Database Generator - paid package only---------------------------
|
|
178
181
|
try:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.8.0"
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"id": "4c5b4764",
|
|
54
54
|
"metadata": {
|
|
55
55
|
"execution": {
|
|
56
|
-
"iopub.execute_input": "2026-11-
|
|
57
|
-
"iopub.status.busy": "2026-11-
|
|
58
|
-
"iopub.status.idle": "2026-11-
|
|
59
|
-
"shell.execute_reply": "2026-11-
|
|
56
|
+
"iopub.execute_input": "2026-11-25T01:19:45.972103Z",
|
|
57
|
+
"iopub.status.busy": "2026-11-25T01:19:45.971025Z",
|
|
58
|
+
"iopub.status.idle": "2026-11-25T01:19:47.567808Z",
|
|
59
|
+
"shell.execute_reply": "2026-11-25T01:19:47.566801Z"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"outputs": [
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"name": "stdout",
|
|
65
65
|
"output_type": "stream",
|
|
66
66
|
"text": [
|
|
67
|
-
"pyEMAPS 2.
|
|
67
|
+
"pyEMAPS 2.7.0\n",
|
|
68
68
|
"License: active\n"
|
|
69
69
|
]
|
|
70
70
|
}
|
|
@@ -113,10 +113,10 @@
|
|
|
113
113
|
"id": "a3e298db",
|
|
114
114
|
"metadata": {
|
|
115
115
|
"execution": {
|
|
116
|
-
"iopub.execute_input": "2026-11-
|
|
117
|
-
"iopub.status.busy": "2026-11-
|
|
118
|
-
"iopub.status.idle": "2026-11-
|
|
119
|
-
"shell.execute_reply": "2026-11-
|
|
116
|
+
"iopub.execute_input": "2026-11-25T01:19:47.571320Z",
|
|
117
|
+
"iopub.status.busy": "2026-11-25T01:19:47.570313Z",
|
|
118
|
+
"iopub.status.idle": "2026-11-25T01:19:49.075836Z",
|
|
119
|
+
"shell.execute_reply": "2026-11-25T01:19:49.073318Z"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
122
|
"outputs": [
|
|
@@ -160,14 +160,12 @@
|
|
|
160
160
|
"source": [
|
|
161
161
|
"## Step 3: Look at the diffraction patterns\n",
|
|
162
162
|
"\n",
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
163
|
+
"`pyemaps.read_image` reads diffraction patterns from a file into a NumPy array, one pattern per\n",
|
|
164
|
+
"scan position. It reads TIFF, DigitalMicrograph, EMD, MRC, Merlin and other files, as well as\n",
|
|
165
|
+
"pyEMAPS' own `.im3` format used here.\n",
|
|
166
166
|
"\n",
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"`StackImage.loadImage()` misreads 16-bit files like this one, which is another reason to read\n",
|
|
170
|
-
"the patterns with NumPy here.)"
|
|
167
|
+
"An `.im3` file records the pattern size and the number of patterns, but not the scan's shape, so\n",
|
|
168
|
+
"`scan_shape` gives it: 30 rows of 30 positions. The whole scan, 472 MB, is read into memory."
|
|
171
169
|
]
|
|
172
170
|
},
|
|
173
171
|
{
|
|
@@ -176,10 +174,10 @@
|
|
|
176
174
|
"id": "eb3bfbfa",
|
|
177
175
|
"metadata": {
|
|
178
176
|
"execution": {
|
|
179
|
-
"iopub.execute_input": "2026-11-
|
|
180
|
-
"iopub.status.busy": "2026-11-
|
|
181
|
-
"iopub.status.idle": "2026-11-
|
|
182
|
-
"shell.execute_reply": "2026-11-
|
|
177
|
+
"iopub.execute_input": "2026-11-25T01:19:49.081365Z",
|
|
178
|
+
"iopub.status.busy": "2026-11-25T01:19:49.080355Z",
|
|
179
|
+
"iopub.status.idle": "2026-11-25T01:19:50.224026Z",
|
|
180
|
+
"shell.execute_reply": "2026-11-25T01:19:50.220256Z"
|
|
183
181
|
}
|
|
184
182
|
},
|
|
185
183
|
"outputs": [
|
|
@@ -187,21 +185,20 @@
|
|
|
187
185
|
"name": "stdout",
|
|
188
186
|
"output_type": "stream",
|
|
189
187
|
"text": [
|
|
190
|
-
"900
|
|
191
|
-
"
|
|
188
|
+
"ExperimentalImage('adftest900.im3': 900 pattern(s) of 512 x 512, scan (30, 30), int16, read by pyEMAPS)\n",
|
|
189
|
+
"900 patterns of 512 x 512 pixels, int16; scan: 30 rows of 30 positions\n"
|
|
192
190
|
]
|
|
193
191
|
}
|
|
194
192
|
],
|
|
195
193
|
"source": [
|
|
196
|
-
"
|
|
197
|
-
"print(
|
|
198
|
-
"
|
|
199
|
-
"\n",
|
|
200
|
-
"
|
|
201
|
-
"
|
|
202
|
-
"\n",
|
|
203
|
-
"
|
|
204
|
-
"print(f'Scan: {nstacks // SCAN} rows of {SCAN} positions')"
|
|
194
|
+
"scan = pyemaps.read_image(IMAGE_FILE, scan_shape=(30, 30)) # (rows, columns) of the scan\n",
|
|
195
|
+
"print(scan)\n",
|
|
196
|
+
"\n",
|
|
197
|
+
"patterns = scan.data # one pattern per scan position, in scan order\n",
|
|
198
|
+
"nstacks, height, width = patterns.shape\n",
|
|
199
|
+
"SCAN = scan.scan_shape[1] # scan positions per row\n",
|
|
200
|
+
"print(f'{nstacks} patterns of {width} x {height} pixels, {patterns.dtype}; '\n",
|
|
201
|
+
" f'scan: {scan.scan_shape[0]} rows of {SCAN} positions')"
|
|
205
202
|
]
|
|
206
203
|
},
|
|
207
204
|
{
|
|
@@ -219,10 +216,10 @@
|
|
|
219
216
|
"id": "e4915e84",
|
|
220
217
|
"metadata": {
|
|
221
218
|
"execution": {
|
|
222
|
-
"iopub.execute_input": "2026-11-
|
|
223
|
-
"iopub.status.busy": "2026-11-
|
|
224
|
-
"iopub.status.idle": "2026-11-
|
|
225
|
-
"shell.execute_reply": "2026-11-
|
|
219
|
+
"iopub.execute_input": "2026-11-25T01:19:50.227546Z",
|
|
220
|
+
"iopub.status.busy": "2026-11-25T01:19:50.227546Z",
|
|
221
|
+
"iopub.status.idle": "2026-11-25T01:19:51.588384Z",
|
|
222
|
+
"shell.execute_reply": "2026-11-25T01:19:51.587377Z"
|
|
226
223
|
}
|
|
227
224
|
},
|
|
228
225
|
"outputs": [
|
|
@@ -281,10 +278,10 @@
|
|
|
281
278
|
"id": "a39bb41a",
|
|
282
279
|
"metadata": {
|
|
283
280
|
"execution": {
|
|
284
|
-
"iopub.execute_input": "2026-11-
|
|
285
|
-
"iopub.status.busy": "2026-11-
|
|
286
|
-
"iopub.status.idle": "2026-11-
|
|
287
|
-
"shell.execute_reply": "2026-11-
|
|
281
|
+
"iopub.execute_input": "2026-11-25T01:19:51.596881Z",
|
|
282
|
+
"iopub.status.busy": "2026-11-25T01:19:51.596881Z",
|
|
283
|
+
"iopub.status.idle": "2026-11-25T01:19:51.639632Z",
|
|
284
|
+
"shell.execute_reply": "2026-11-25T01:19:51.637623Z"
|
|
288
285
|
}
|
|
289
286
|
},
|
|
290
287
|
"outputs": [
|
|
@@ -345,10 +342,10 @@
|
|
|
345
342
|
"id": "e4e86718",
|
|
346
343
|
"metadata": {
|
|
347
344
|
"execution": {
|
|
348
|
-
"iopub.execute_input": "2026-11-
|
|
349
|
-
"iopub.status.busy": "2026-11-
|
|
350
|
-
"iopub.status.idle": "2026-11-
|
|
351
|
-
"shell.execute_reply": "2026-11-
|
|
345
|
+
"iopub.execute_input": "2026-11-25T01:19:51.651215Z",
|
|
346
|
+
"iopub.status.busy": "2026-11-25T01:19:51.649221Z",
|
|
347
|
+
"iopub.status.idle": "2026-11-25T01:19:54.333328Z",
|
|
348
|
+
"shell.execute_reply": "2026-11-25T01:19:54.329774Z"
|
|
352
349
|
}
|
|
353
350
|
},
|
|
354
351
|
"outputs": [
|
|
@@ -397,10 +394,10 @@
|
|
|
397
394
|
"id": "b450cfa7",
|
|
398
395
|
"metadata": {
|
|
399
396
|
"execution": {
|
|
400
|
-
"iopub.execute_input": "2026-11-
|
|
401
|
-
"iopub.status.busy": "2026-11-
|
|
402
|
-
"iopub.status.idle": "2026-11-
|
|
403
|
-
"shell.execute_reply": "2026-11-
|
|
397
|
+
"iopub.execute_input": "2026-11-25T01:19:54.341880Z",
|
|
398
|
+
"iopub.status.busy": "2026-11-25T01:19:54.340370Z",
|
|
399
|
+
"iopub.status.idle": "2026-11-25T01:19:55.407891Z",
|
|
400
|
+
"shell.execute_reply": "2026-11-25T01:19:55.407891Z"
|
|
404
401
|
}
|
|
405
402
|
},
|
|
406
403
|
"outputs": [
|
|
@@ -471,10 +468,10 @@
|
|
|
471
468
|
"id": "a8027cab",
|
|
472
469
|
"metadata": {
|
|
473
470
|
"execution": {
|
|
474
|
-
"iopub.execute_input": "2026-11-
|
|
475
|
-
"iopub.status.busy": "2026-11-
|
|
476
|
-
"iopub.status.idle": "2026-11-
|
|
477
|
-
"shell.execute_reply": "2026-11-
|
|
471
|
+
"iopub.execute_input": "2026-11-25T01:19:55.413363Z",
|
|
472
|
+
"iopub.status.busy": "2026-11-25T01:19:55.412148Z",
|
|
473
|
+
"iopub.status.idle": "2026-11-25T01:19:55.770679Z",
|
|
474
|
+
"shell.execute_reply": "2026-11-25T01:19:55.769122Z"
|
|
478
475
|
}
|
|
479
476
|
},
|
|
480
477
|
"outputs": [
|
|
@@ -520,10 +517,10 @@
|
|
|
520
517
|
"id": "1714a70a",
|
|
521
518
|
"metadata": {
|
|
522
519
|
"execution": {
|
|
523
|
-
"iopub.execute_input": "2026-11-
|
|
524
|
-
"iopub.status.busy": "2026-11-
|
|
525
|
-
"iopub.status.idle": "2026-11-
|
|
526
|
-
"shell.execute_reply": "2026-11-
|
|
520
|
+
"iopub.execute_input": "2026-11-25T01:19:55.775710Z",
|
|
521
|
+
"iopub.status.busy": "2026-11-25T01:19:55.775710Z",
|
|
522
|
+
"iopub.status.idle": "2026-11-25T01:19:56.987688Z",
|
|
523
|
+
"shell.execute_reply": "2026-11-25T01:19:56.985673Z"
|
|
527
524
|
}
|
|
528
525
|
},
|
|
529
526
|
"outputs": [
|
|
@@ -540,7 +537,7 @@
|
|
|
540
537
|
],
|
|
541
538
|
"source": [
|
|
542
539
|
"MASK_FILE = os.path.join(SAMPLES, 'mask.im3')\n",
|
|
543
|
-
"mask =
|
|
540
|
+
"mask = pyemaps.read_image(MASK_FILE).data[0] # one pattern-sized float32 image\n",
|
|
544
541
|
"\n",
|
|
545
542
|
"ret, data = StackImage(IMAGE_FILE, ndtype=EM_INT).generateMaskedImage(MASK_FILE, SCAN)\n",
|
|
546
543
|
"masked = np.array(data, dtype=float).reshape(-1, SCAN)\n",
|
|
@@ -584,10 +581,10 @@
|
|
|
584
581
|
"id": "e5a3d64f",
|
|
585
582
|
"metadata": {
|
|
586
583
|
"execution": {
|
|
587
|
-
"iopub.execute_input": "2026-11-
|
|
588
|
-
"iopub.status.busy": "2026-11-
|
|
589
|
-
"iopub.status.idle": "2026-11-
|
|
590
|
-
"shell.execute_reply": "2026-11-
|
|
584
|
+
"iopub.execute_input": "2026-11-25T01:19:56.996235Z",
|
|
585
|
+
"iopub.status.busy": "2026-11-25T01:19:56.995237Z",
|
|
586
|
+
"iopub.status.idle": "2026-11-25T01:19:58.316724Z",
|
|
587
|
+
"shell.execute_reply": "2026-11-25T01:19:58.316201Z"
|
|
591
588
|
}
|
|
592
589
|
},
|
|
593
590
|
"outputs": [
|
|
@@ -595,7 +592,7 @@
|
|
|
595
592
|
"name": "stdout",
|
|
596
593
|
"output_type": "stream",
|
|
597
594
|
"text": [
|
|
598
|
-
"The numpy image was successfully converted to pyEMAPS image format and saved as C:\\pyemaps_data\\sh_converted\\
|
|
595
|
+
"The numpy image was successfully converted to pyEMAPS image format and saved as C:\\pyemaps_data\\sh_converted\\numpy_image_20261125_121957.im3\n"
|
|
599
596
|
]
|
|
600
597
|
},
|
|
601
598
|
{
|
|
@@ -647,10 +644,10 @@
|
|
|
647
644
|
"id": "7a93969a",
|
|
648
645
|
"metadata": {
|
|
649
646
|
"execution": {
|
|
650
|
-
"iopub.execute_input": "2026-11-
|
|
651
|
-
"iopub.status.busy": "2026-11-
|
|
652
|
-
"iopub.status.idle": "2026-11-
|
|
653
|
-
"shell.execute_reply": "2026-11-
|
|
647
|
+
"iopub.execute_input": "2026-11-25T01:19:58.321301Z",
|
|
648
|
+
"iopub.status.busy": "2026-11-25T01:19:58.320300Z",
|
|
649
|
+
"iopub.status.idle": "2026-11-25T01:19:58.530847Z",
|
|
650
|
+
"shell.execute_reply": "2026-11-25T01:19:58.530847Z"
|
|
654
651
|
}
|
|
655
652
|
},
|
|
656
653
|
"outputs": [
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"id": "f55ec76c",
|
|
54
54
|
"metadata": {
|
|
55
55
|
"execution": {
|
|
56
|
-
"iopub.execute_input": "2026-11-
|
|
57
|
-
"iopub.status.busy": "2026-11-
|
|
58
|
-
"iopub.status.idle": "2026-11-
|
|
59
|
-
"shell.execute_reply": "2026-11-
|
|
56
|
+
"iopub.execute_input": "2026-11-25T00:56:28.127504Z",
|
|
57
|
+
"iopub.status.busy": "2026-11-25T00:56:28.127504Z",
|
|
58
|
+
"iopub.status.idle": "2026-11-25T00:56:29.604031Z",
|
|
59
|
+
"shell.execute_reply": "2026-11-25T00:56:29.602515Z"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
"outputs": [
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"name": "stdout",
|
|
65
65
|
"output_type": "stream",
|
|
66
66
|
"text": [
|
|
67
|
-
"pyEMAPS 2.
|
|
67
|
+
"pyEMAPS 2.7.0\n",
|
|
68
68
|
"License: active\n"
|
|
69
69
|
]
|
|
70
70
|
}
|
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
"id": "c835654c",
|
|
109
109
|
"metadata": {
|
|
110
110
|
"execution": {
|
|
111
|
-
"iopub.execute_input": "2026-11-
|
|
112
|
-
"iopub.status.busy": "2026-11-
|
|
113
|
-
"iopub.status.idle": "2026-11-
|
|
114
|
-
"shell.execute_reply": "2026-11-
|
|
111
|
+
"iopub.execute_input": "2026-11-25T00:56:29.614111Z",
|
|
112
|
+
"iopub.status.busy": "2026-11-25T00:56:29.610581Z",
|
|
113
|
+
"iopub.status.idle": "2026-11-25T00:56:29.634508Z",
|
|
114
|
+
"shell.execute_reply": "2026-11-25T00:56:29.633495Z"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
"outputs": [
|
|
@@ -160,10 +160,10 @@
|
|
|
160
160
|
"id": "9ed1754b",
|
|
161
161
|
"metadata": {
|
|
162
162
|
"execution": {
|
|
163
|
-
"iopub.execute_input": "2026-11-
|
|
164
|
-
"iopub.status.busy": "2026-11-
|
|
165
|
-
"iopub.status.idle": "2026-11-
|
|
166
|
-
"shell.execute_reply": "2026-11-
|
|
163
|
+
"iopub.execute_input": "2026-11-25T00:56:29.637503Z",
|
|
164
|
+
"iopub.status.busy": "2026-11-25T00:56:29.636503Z",
|
|
165
|
+
"iopub.status.idle": "2026-11-25T00:56:31.561729Z",
|
|
166
|
+
"shell.execute_reply": "2026-11-25T00:56:31.561226Z"
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
"outputs": [
|
|
@@ -174,7 +174,7 @@
|
|
|
174
174
|
"*******************************************************************************\n",
|
|
175
175
|
"* The diffraction pattern database for Aluminium has been generated successfully\n",
|
|
176
176
|
"* and saved in:\n",
|
|
177
|
-
"* C:\\pyemaps_data\\dpdb\\Aluminium-
|
|
177
|
+
"* C:\\pyemaps_data\\dpdb\\Aluminium-20261125115629.bin\n",
|
|
178
178
|
"*******************************************************************************\n"
|
|
179
179
|
]
|
|
180
180
|
}
|
|
@@ -201,10 +201,10 @@
|
|
|
201
201
|
"id": "54be04a8",
|
|
202
202
|
"metadata": {
|
|
203
203
|
"execution": {
|
|
204
|
-
"iopub.execute_input": "2026-11-
|
|
205
|
-
"iopub.status.busy": "2026-11-
|
|
206
|
-
"iopub.status.idle": "2026-11-
|
|
207
|
-
"shell.execute_reply": "2026-11-
|
|
204
|
+
"iopub.execute_input": "2026-11-25T00:56:31.566740Z",
|
|
205
|
+
"iopub.status.busy": "2026-11-25T00:56:31.565743Z",
|
|
206
|
+
"iopub.status.idle": "2026-11-25T00:56:31.770686Z",
|
|
207
|
+
"shell.execute_reply": "2026-11-25T00:56:31.769067Z"
|
|
208
208
|
}
|
|
209
209
|
},
|
|
210
210
|
"outputs": [
|
|
@@ -278,10 +278,10 @@
|
|
|
278
278
|
"id": "7044e9cb",
|
|
279
279
|
"metadata": {
|
|
280
280
|
"execution": {
|
|
281
|
-
"iopub.execute_input": "2026-11-
|
|
282
|
-
"iopub.status.busy": "2026-11-
|
|
283
|
-
"iopub.status.idle": "2026-11-
|
|
284
|
-
"shell.execute_reply": "2026-11-
|
|
281
|
+
"iopub.execute_input": "2026-11-25T00:56:31.773693Z",
|
|
282
|
+
"iopub.status.busy": "2026-11-25T00:56:31.773693Z",
|
|
283
|
+
"iopub.status.idle": "2026-11-25T00:56:32.550854Z",
|
|
284
|
+
"shell.execute_reply": "2026-11-25T00:56:32.548104Z"
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
"outputs": [
|
|
@@ -392,10 +392,10 @@
|
|
|
392
392
|
"id": "27c73f24",
|
|
393
393
|
"metadata": {
|
|
394
394
|
"execution": {
|
|
395
|
-
"iopub.execute_input": "2026-11-
|
|
396
|
-
"iopub.status.busy": "2026-11-
|
|
397
|
-
"iopub.status.idle": "2026-11-
|
|
398
|
-
"shell.execute_reply": "2026-11-
|
|
395
|
+
"iopub.execute_input": "2026-11-25T00:56:32.558077Z",
|
|
396
|
+
"iopub.status.busy": "2026-11-25T00:56:32.556038Z",
|
|
397
|
+
"iopub.status.idle": "2026-11-25T00:56:32.570744Z",
|
|
398
|
+
"shell.execute_reply": "2026-11-25T00:56:32.569232Z"
|
|
399
399
|
}
|
|
400
400
|
},
|
|
401
401
|
"outputs": [
|
|
@@ -473,10 +473,10 @@
|
|
|
473
473
|
"id": "42b8108c",
|
|
474
474
|
"metadata": {
|
|
475
475
|
"execution": {
|
|
476
|
-
"iopub.execute_input": "2026-11-
|
|
477
|
-
"iopub.status.busy": "2026-11-
|
|
478
|
-
"iopub.status.idle": "2026-11-
|
|
479
|
-
"shell.execute_reply": "2026-11-
|
|
476
|
+
"iopub.execute_input": "2026-11-25T00:56:32.573745Z",
|
|
477
|
+
"iopub.status.busy": "2026-11-25T00:56:32.573745Z",
|
|
478
|
+
"iopub.status.idle": "2026-11-25T00:56:32.591801Z",
|
|
479
|
+
"shell.execute_reply": "2026-11-25T00:56:32.590577Z"
|
|
480
480
|
}
|
|
481
481
|
},
|
|
482
482
|
"outputs": [
|
|
@@ -531,10 +531,10 @@
|
|
|
531
531
|
"id": "358a4d30",
|
|
532
532
|
"metadata": {
|
|
533
533
|
"execution": {
|
|
534
|
-
"iopub.execute_input": "2026-11-
|
|
535
|
-
"iopub.status.busy": "2026-11-
|
|
536
|
-
"iopub.status.idle": "2026-11-
|
|
537
|
-
"shell.execute_reply": "2026-11-
|
|
534
|
+
"iopub.execute_input": "2026-11-25T00:56:32.594308Z",
|
|
535
|
+
"iopub.status.busy": "2026-11-25T00:56:32.594308Z",
|
|
536
|
+
"iopub.status.idle": "2026-11-25T00:56:32.600781Z",
|
|
537
|
+
"shell.execute_reply": "2026-11-25T00:56:32.599775Z"
|
|
538
538
|
}
|
|
539
539
|
},
|
|
540
540
|
"outputs": [
|
|
@@ -580,10 +580,10 @@
|
|
|
580
580
|
"id": "4722c6bb",
|
|
581
581
|
"metadata": {
|
|
582
582
|
"execution": {
|
|
583
|
-
"iopub.execute_input": "2026-11-
|
|
584
|
-
"iopub.status.busy": "2026-11-
|
|
585
|
-
"iopub.status.idle": "2026-11-
|
|
586
|
-
"shell.execute_reply": "2026-11-
|
|
583
|
+
"iopub.execute_input": "2026-11-25T00:56:32.604788Z",
|
|
584
|
+
"iopub.status.busy": "2026-11-25T00:56:32.603783Z",
|
|
585
|
+
"iopub.status.idle": "2026-11-25T00:56:32.882051Z",
|
|
586
|
+
"shell.execute_reply": "2026-11-25T00:56:32.880540Z"
|
|
587
587
|
}
|
|
588
588
|
},
|
|
589
589
|
"outputs": [
|