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.
- {diffpy_mpdf-1.0.4.1/diffpy.mpdf.egg-info → diffpy_mpdf-1.0.4.2}/PKG-INFO +6 -1
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/README.md +5 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/__init__.py +1 -2
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/version.py +3 -3
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/visualize3D.py +3 -3
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2/diffpy.mpdf.egg-info}/PKG-INFO +6 -1
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/pyproject.toml +1 -1
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/AUTHORS.txt +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/LICENSE.txt +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/MANIFEST.in +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/__init__.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/gitarchive.cfg +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/magstructure.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/magutils.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mciftools.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdf3Dcalculator.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdfcalculator.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/mpdftransformer.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/simpleparser.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/MnO_cubic.cif +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/__init__.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/run.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testbasicmpdf.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata/MnO_cubic.cif +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata/testdata.fgr +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testdata.fgr +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testformfactor.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testgetdiffdata.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testmpdffromcif.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testmpdffromselfcreated.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/tests/testspinsatoms.py +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy/mpdf/version.cfg +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/SOURCES.txt +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/dependency_links.txt +0 -0
- {diffpy_mpdf-1.0.4.1 → diffpy_mpdf-1.0.4.2}/diffpy.mpdf.egg-info/top_level.txt +0 -0
- {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.
|
|
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
|
|
|
@@ -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
|
-
|
|
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
|
|
184
|
-
ax.set_ylabel(r
|
|
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.
|
|
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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|