pyTEMlib 0.2024.9.0__tar.gz → 0.2025.2.2__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.9.0/pyTEMlib.egg-info → pytemlib-0.2025.2.2}/PKG-INFO +12 -2
  2. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/animation.py +1 -1
  3. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/atom_tools.py +2 -1
  4. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/core_loss_widget.py +337 -272
  5. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/eels_dialog.py +15 -10
  6. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/eels_tools.py +452 -125
  7. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/file_tools.py +319 -30
  8. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/image_tools.py +91 -15
  9. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/info_widget.py +211 -58
  10. pytemlib-0.2025.2.2/pyTEMlib/info_widget3.py +1120 -0
  11. pytemlib-0.2025.2.2/pyTEMlib/low_loss_widget.py +479 -0
  12. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/peak_dialog.py +141 -59
  13. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/probe_tools.py +65 -8
  14. pytemlib-0.2025.2.2/pyTEMlib/version.py +6 -0
  15. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2/pyTEMlib.egg-info}/PKG-INFO +12 -2
  16. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib.egg-info/SOURCES.txt +1 -0
  17. pytemlib-0.2024.9.0/pyTEMlib/low_loss_widget.py +0 -176
  18. pytemlib-0.2024.9.0/pyTEMlib/version.py +0 -6
  19. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/LICENSE +0 -0
  20. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/MANIFEST.in +0 -0
  21. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/README.rst +0 -0
  22. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/__init__.py +0 -0
  23. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/config_dir.py +0 -0
  24. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/crystal_tools.py +0 -0
  25. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/diffraction_plot.py +0 -0
  26. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/dynamic_scattering.py +0 -0
  27. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/eds_tools.py +0 -0
  28. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/eels_dialog_utilities.py +0 -0
  29. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/file_tools_qt.py +0 -0
  30. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/graph_tools.py +0 -0
  31. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/graph_viz.py +0 -0
  32. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/image_dialog.py +0 -0
  33. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/image_dlg.py +0 -0
  34. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/interactive_image.py +0 -0
  35. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/kinematic_scattering.py +0 -0
  36. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/microscope.py +0 -0
  37. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/peak_dlg.py +0 -0
  38. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/sidpy_tools.py +0 -0
  39. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/simulation_tools.py +0 -0
  40. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib/xrpa_x_sections.py +0 -0
  41. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib.egg-info/dependency_links.txt +0 -0
  42. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib.egg-info/entry_points.txt +0 -0
  43. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib.egg-info/requires.txt +0 -0
  44. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/pyTEMlib.egg-info/top_level.txt +0 -0
  45. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/setup.cfg +0 -0
  46. {pytemlib-0.2024.9.0 → pytemlib-0.2025.2.2}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: pyTEMlib
3
- Version: 0.2024.9.0
3
+ Version: 0.2025.2.2
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
@@ -41,6 +41,16 @@ Requires-Dist: scikit-learn
41
41
  Requires-Dist: pyNSID>=0.0.7
42
42
  Requires-Dist: sidpy>=0.12.1
43
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
44
54
 
45
55
  pyTEMlib
46
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.: