pyTEMlib 0.2024.8.4__tar.gz → 0.2025.2.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.

Potentially problematic release.


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

Files changed (46) hide show
  1. {pytemlib-0.2024.8.4/pyTEMlib.egg-info → pytemlib-0.2025.2.1}/PKG-INFO +13 -4
  2. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/animation.py +1 -1
  3. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/atom_tools.py +2 -1
  4. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/core_loss_widget.py +337 -272
  5. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/eels_dialog.py +15 -10
  6. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/eels_tools.py +452 -125
  7. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/file_tools.py +314 -30
  8. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/image_tools.py +91 -15
  9. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/info_widget.py +211 -58
  10. pytemlib-0.2025.2.1/pyTEMlib/info_widget3.py +1120 -0
  11. pytemlib-0.2025.2.1/pyTEMlib/low_loss_widget.py +479 -0
  12. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/peak_dialog.py +141 -59
  13. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/probe_tools.py +65 -8
  14. pytemlib-0.2025.2.1/pyTEMlib/version.py +6 -0
  15. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1/pyTEMlib.egg-info}/PKG-INFO +13 -4
  16. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib.egg-info/SOURCES.txt +1 -0
  17. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib.egg-info/requires.txt +0 -1
  18. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/setup.cfg +0 -3
  19. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/setup.py +2 -2
  20. pytemlib-0.2024.8.4/pyTEMlib/low_loss_widget.py +0 -176
  21. pytemlib-0.2024.8.4/pyTEMlib/version.py +0 -6
  22. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/LICENSE +0 -0
  23. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/MANIFEST.in +0 -0
  24. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/README.rst +0 -0
  25. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/__init__.py +0 -0
  26. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/config_dir.py +0 -0
  27. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/crystal_tools.py +0 -0
  28. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/diffraction_plot.py +0 -0
  29. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/dynamic_scattering.py +0 -0
  30. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/eds_tools.py +0 -0
  31. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/eels_dialog_utilities.py +0 -0
  32. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/file_tools_qt.py +0 -0
  33. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/graph_tools.py +0 -0
  34. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/graph_viz.py +0 -0
  35. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/image_dialog.py +0 -0
  36. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/image_dlg.py +0 -0
  37. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/interactive_image.py +0 -0
  38. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/kinematic_scattering.py +0 -0
  39. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/microscope.py +0 -0
  40. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/peak_dlg.py +0 -0
  41. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/sidpy_tools.py +0 -0
  42. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/simulation_tools.py +0 -0
  43. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib/xrpa_x_sections.py +0 -0
  44. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib.egg-info/dependency_links.txt +0 -0
  45. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib.egg-info/entry_points.txt +0 -0
  46. {pytemlib-0.2024.8.4 → pytemlib-0.2025.2.1}/pyTEMlib.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pyTEMlib
3
- Version: 0.2024.8.4
3
+ Version: 0.2025.2.1
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
@@ -18,10 +18,10 @@ Classifier: Natural Language :: English
18
18
  Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Cython
20
20
  Classifier: Programming Language :: Python :: 3
21
- Classifier: Programming Language :: Python :: 3.8
22
21
  Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
25
  Classifier: Programming Language :: Python :: Implementation :: CPython
26
26
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
27
27
  License-File: LICENSE
@@ -35,13 +35,22 @@ Requires-Dist: pandas
35
35
  Requires-Dist: requests
36
36
  Requires-Dist: lxml
37
37
  Requires-Dist: ipympl
38
- Requires-Dist: build
39
38
  Requires-Dist: spglib
40
39
  Requires-Dist: scikit-image
41
40
  Requires-Dist: scikit-learn
42
41
  Requires-Dist: pyNSID>=0.0.7
43
42
  Requires-Dist: sidpy>=0.12.1
44
43
  Requires-Dist: SciFiReaders>=0.0.8
44
+ Dynamic: author
45
+ Dynamic: author-email
46
+ Dynamic: classifier
47
+ Dynamic: description
48
+ Dynamic: home-page
49
+ Dynamic: keywords
50
+ Dynamic: license
51
+ Dynamic: platform
52
+ Dynamic: requires-dist
53
+ Dynamic: summary
45
54
 
46
55
  pyTEMlib
47
56
  ========
@@ -386,7 +386,7 @@ def deficient_kikuchi_line(s_g=0., color_b='black'):
386
386
  plt.gca().add_patch(deviation_angle)
387
387
 
388
388
  plt.gca().set_aspect('equal')
389
- plt.gca().set_xlabel('angle (1/$\AA$)')
389
+ plt.gca().set_xlabel(r'angle (1/$\AA$)')
390
390
  plt.gca().set_ylim(-.1, k_0[1] * 2.2)
391
391
  plt.gca().set_xlim(-.2, 1.03)
392
392
 
@@ -7,6 +7,7 @@ Author: Gerd Duscher
7
7
 
8
8
  part of pyTEMlib
9
9
 
10
+
10
11
  a pycroscopy package
11
12
  """
12
13
 
@@ -53,7 +54,7 @@ def find_atoms(image, atom_size=0.1, threshold=0.):
53
54
  if not isinstance(threshold, float):
54
55
  raise TypeError('threshold parameter has to be a float number')
55
56
 
56
- scale_x = ft.get_slope(image.dim_0)
57
+ scale_x = np.unique(np.gradient(image.dim_0.values))[0]
57
58
  im = np.array(image-image.min())
58
59
  im = im/im.max()
59
60
  if threshold <= 0.: