diffpy.mpdf 1.0.4.1__tar.gz → 1.0.4.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.
Files changed (36) hide show
  1. {diffpy_mpdf-1.0.4.1/diffpy.mpdf.egg-info → diffpy_mpdf-1.0.4.2}/PKG-INFO +6 -1
  2. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/README.md +5 -0
  3. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/__init__.py +1 -2
  4. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/version.py +3 -3
  5. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/visualize3D.py +3 -3
  6. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2/diffpy.mpdf.egg-info}/PKG-INFO +6 -1
  7. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/pyproject.toml +1 -1
  8. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/AUTHORS.txt +0 -0
  9. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/LICENSE.txt +0 -0
  10. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/MANIFEST.in +0 -0
  11. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/__init__.py +0 -0
  12. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/gitarchive.cfg +0 -0
  13. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/magstructure.py +0 -0
  14. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/magutils.py +0 -0
  15. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mciftools.py +0 -0
  16. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdf3Dcalculator.py +0 -0
  17. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdfcalculator.py +0 -0
  18. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdftransformer.py +0 -0
  19. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/simpleparser.py +0 -0
  20. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/MnO_cubic.cif +0 -0
  21. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/__init__.py +0 -0
  22. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/run.py +0 -0
  23. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testbasicmpdf.py +0 -0
  24. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata/MnO_cubic.cif +0 -0
  25. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata/testdata.fgr +0 -0
  26. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata.fgr +0 -0
  27. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testformfactor.py +0 -0
  28. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testgetdiffdata.py +0 -0
  29. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testmpdffromcif.py +0 -0
  30. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testmpdffromselfcreated.py +0 -0
  31. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testspinsatoms.py +0 -0
  32. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/version.cfg +0 -0
  33. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/SOURCES.txt +0 -0
  34. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/dependency_links.txt +0 -0
  35. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/top_level.txt +0 -0
  36. {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diffpy.mpdf
3
- Version: 1.0.4.1
3
+ Version: 1.0.4.2
4
4
  Summary: Tools for magnetic PDF analysis.
5
5
  Author-email: Benjamin Frandsen <benfrandsen@byu.edu>
6
6
  License: Copyright 2022 BENJAMIN ALLEN FRANDSEN
@@ -68,6 +68,11 @@ Alternatively, you can install from source by installing diffpy.structure and di
68
68
 
69
69
  >>> pip install .
70
70
 
71
+ #### Step 3 (recommended): Install jupyter notebook and interactive plotting tools
72
+ To use the jupyter notebook tutorials mentioned below, install the notebook and ipympl packages as follows:
73
+
74
+ >>> pip install notebook ipympl
75
+
71
76
  ## Documentation and Helpful Examples
72
77
  Complete documentation is available at [https://frandsengroup.github.io/diffpy.mpdf/index.html](https://frandsengroup.github.io/diffpy.mpdf/index.html).
73
78
 
@@ -33,6 +33,11 @@ Alternatively, you can install from source by installing diffpy.structure and di
33
33
 
34
34
  >>> pip install .
35
35
 
36
+ #### Step 3 (recommended): Install jupyter notebook and interactive plotting tools
37
+ To use the jupyter notebook tutorials mentioned below, install the notebook and ipympl packages as follows:
38
+
39
+ >>> pip install notebook ipympl
40
+
36
41
  ## Documentation and Helpful Examples
37
42
  Complete documentation is available at [https://frandsengroup.github.io/diffpy.mpdf/index.html](https://frandsengroup.github.io/diffpy.mpdf/index.html).
38
43
 
@@ -13,5 +13,4 @@
13
13
  #
14
14
  ##############################################################################
15
15
 
16
- __import__('pkg_resources').declare_namespace(__name__)
17
-
16
+ __path__ = __import__('pkgutil').extend_path(__path__, __name__)
@@ -16,8 +16,7 @@
16
16
 
17
17
  """Definition of __version__, __date__, __gitsha__.
18
18
  """
19
-
20
- from pkg_resources import resource_filename
19
+ import os
21
20
  try:
22
21
  from configparser import RawConfigParser
23
22
  except:
@@ -25,7 +24,8 @@ except:
25
24
 
26
25
  # obtain version information from the version.cfg file
27
26
  cp = RawConfigParser(dict(version='', date='', commit='', timestamp=0))
28
- if not cp.read(resource_filename(__name__, 'version.cfg')):
27
+ _version_cfg = os.path.join(os.path.dirname(__file__), 'version.cfg')
28
+ if not cp.read(_version_cfg):
29
29
  from warnings import warn
30
30
  warn('Package metadata not found, execute "./setup.py egg_info".')
31
31
 
@@ -180,15 +180,15 @@ class Visualizer:
180
180
  if self.sliceAvailable:
181
181
  fig = plt.figure()
182
182
  ax = fig.add_subplot(111)
183
- ax.set_xlabel(r'$\mathdefault{\AA}$')
184
- ax.set_ylabel(r'$\mathdefault{\AA}$')
183
+ ax.set_xlabel(r"$\mathdefault{\AA}$")
184
+ ax.set_ylabel(r"$\mathdefault{\AA}$")
185
185
  amin, amax = min(self._a), max(self._a)
186
186
  bmin, bmax = min(self._b), max(self._b)
187
187
  im = ax.imshow(self.dataslice,
188
188
  extent=[amin, amax, bmin, bmax],
189
189
  cmap=cmap)
190
190
  colorbar(im)
191
- plt.tight_layout()
191
+ #plt.tight_layout()
192
192
  plt.show()
193
193
 
194
194
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: diffpy.mpdf
3
- Version: 1.0.4.1
3
+ Version: 1.0.4.2
4
4
  Summary: Tools for magnetic PDF analysis.
5
5
  Author-email: Benjamin Frandsen <benfrandsen@byu.edu>
6
6
  License: Copyright 2022 BENJAMIN ALLEN FRANDSEN
@@ -68,6 +68,11 @@ Alternatively, you can install from source by installing diffpy.structure and di
68
68
 
69
69
  >>> pip install .
70
70
 
71
+ #### Step 3 (recommended): Install jupyter notebook and interactive plotting tools
72
+ To use the jupyter notebook tutorials mentioned below, install the notebook and ipympl packages as follows:
73
+
74
+ >>> pip install notebook ipympl
75
+
71
76
  ## Documentation and Helpful Examples
72
77
  Complete documentation is available at [https://frandsengroup.github.io/diffpy.mpdf/index.html](https://frandsengroup.github.io/diffpy.mpdf/index.html).
73
78
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "diffpy.mpdf"
3
- version = "1.0.4.1"
3
+ version = "1.0.4.2"
4
4
  authors = [
5
5
  { name="Benjamin Frandsen", email="benfrandsen@byu.edu" },
6
6
  ]
File without changes
File without changes
File without changes
File without changes