diffpy.utils 3.6.0rc4__py3-none-any.whl → 3.6.1rc1__py3-none-any.whl

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.
@@ -26,7 +26,9 @@ def getSelectionRows(grid):
26
26
  rset.update(grid.GetSelectedRows())
27
27
  for r, c in grid.GetSelectedCells():
28
28
  rset.add(r)
29
- blocks = zip(grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight())
29
+ blocks = zip(
30
+ grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight()
31
+ )
30
32
  for tl, br in blocks:
31
33
  rset.update(range(tl[0], br[0] + 1))
32
34
  rv = sorted(rset)
@@ -42,7 +44,9 @@ def getSelectionColumns(grid):
42
44
  cset.update(grid.GetSelectedCols())
43
45
  for r, c in grid.GetSelectedCells():
44
46
  cset.add(c)
45
- blocks = zip(grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight())
47
+ blocks = zip(
48
+ grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight()
49
+ )
46
50
  for tl, br in blocks:
47
51
  cset.update(range(tl[1], br[1] + 1))
48
52
  rv = sorted(cset)
@@ -64,7 +68,9 @@ def getSelectedCells(grid):
64
68
  rcset.update(zip(cols * [r], allcols))
65
69
  for c in grid.GetSelectedCols():
66
70
  rcset.update(zip(allrows, rows * [c]))
67
- blocks = zip(grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight())
71
+ blocks = zip(
72
+ grid.GetSelectionBlockTopLeft(), grid.GetSelectionBlockBottomRight()
73
+ )
68
74
  for tl, br in blocks:
69
75
  brows = range(tl[0], br[0] + 1)
70
76
  bcols = range(tl[1], br[1] + 1)
@@ -1,9 +1,9 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: diffpy.utils
3
- Version: 3.6.0rc4
4
- Summary: Shared utilities for diffpy packages
5
- Author-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
6
- Maintainer-email: "Simon J.L. Billinge group" <simon.billinge@gmail.com>
3
+ Version: 3.6.1rc1
4
+ Summary: General utilities for analyzing diffraction data
5
+ Author-email: Simon Billinge <sb2896@columbia.edu>
6
+ Maintainer-email: Simon Billinge <sb2896@columbia.edu>
7
7
  Project-URL: Homepage, https://github.com/diffpy/diffpy.utils/
8
8
  Project-URL: Issues, https://github.com/diffpy/diffpy.utils/issues/
9
9
  Keywords: text data parsers,wx grid,diffraction objects
@@ -29,6 +29,7 @@ License-File: AUTHORS.rst
29
29
  Requires-Dist: numpy
30
30
  Requires-Dist: xraydb
31
31
  Requires-Dist: scipy
32
+ Dynamic: license-file
32
33
 
33
34
  |Icon| |title|_
34
35
  ===============
@@ -40,7 +41,7 @@ Requires-Dist: scipy
40
41
  :target: https://diffpy.github.io/diffpy.utils
41
42
  :height: 100px
42
43
 
43
- |PyPi| |Forge| |PythonVersion| |PR|
44
+ |PyPI| |Forge| |PythonVersion| |PR|
44
45
 
45
46
  |CI| |Codecov| |Black| |Tracking|
46
47
 
@@ -58,7 +59,7 @@ Requires-Dist: scipy
58
59
 
59
60
  .. |PR| image:: https://img.shields.io/badge/PR-Welcome-29ab47ff
60
61
 
61
- .. |PyPi| image:: https://img.shields.io/pypi/v/diffpy.utils
62
+ .. |PyPI| image:: https://img.shields.io/pypi/v/diffpy.utils
62
63
  :target: https://pypi.org/project/diffpy.utils/
63
64
 
64
65
  .. |PythonVersion| image:: https://img.shields.io/pypi/pyversions/diffpy.utils
@@ -70,14 +71,16 @@ Requires-Dist: scipy
70
71
  diffpy.utils Package
71
72
  ========================================================================
72
73
 
73
- General purpose shared utilities for the diffpy libraries.
74
+ General utilities for analyzing diffraction data
75
+
76
+ The diffpy.utils package provides a number of functions and classes designed to help
77
+ researchers analyze their diffraction data. It also includes some functionality for
78
+ carrying out PDF analysis. Examples are parsers for reading common format diffraction
79
+ data files, ``DiffractionObjects`` that allow you to do algebra on diffraction patterns,
80
+ tools for better capture and propagation of metadata,
81
+ diffraction-friendly interpolation routines, as well as some other tools used across
82
+ diffpy libraries.
74
83
 
75
- The diffpy.utils package provides functions for extracting array data from
76
- variously formatted text files, an interpolation function based on the
77
- Whittaker-Shannon formula that can be used to resample a PDF or other profile
78
- function over a new grid, `DiffractionObject` for conveniently manipulating
79
- diffraction data, and some wx GUI utilities used by the PDFgui
80
- program.
81
84
 
82
85
  Citation
83
86
  --------
@@ -166,9 +169,14 @@ trying to commit again.
166
169
 
167
170
  Improvements and fixes are always appreciated.
168
171
 
169
- Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE_OF_CONDUCT.rst>`_.
172
+ Before contributing, please read our `Code of Conduct <https://github.com/diffpy/diffpy.utils/blob/main/CODE-OF-CONDUCT.rst>`_.
170
173
 
171
174
  Contact
172
175
  -------
173
176
 
174
- For more information on diffpy.utils please visit the project `web-page <https://diffpy.github.io/>`_ or email Prof. Simon Billinge at sb2896@columbia.edu.
177
+ For more information on diffpy.utils please visit the project `web-page <https://diffpy.github.io/>`_ or email Simon Billinge at sb2896@columbia.edu.
178
+
179
+ Acknowledgements
180
+ ----------------
181
+
182
+ ``diffpy.utils`` is built and maintained with `scikit-package <https://scikit-package.github.io/scikit-package/>`_.
@@ -0,0 +1,21 @@
1
+ diffpy/__init__.py,sha256=PLQx_UmkmhCTu5bPeYdp9nQBx-OJGP0s4Pz-lLQhKsU,926
2
+ diffpy/utils/__init__.py,sha256=CtxZ5VpVDjhWlvoGLIEjkBGtXn1Pnb4lrdhpIfzmYYc,704
3
+ diffpy/utils/diffraction_objects.py,sha256=Qj3ka5DE-XswAo1jI3FhRYwyFrfCOWvkhBhrcBdrgj8,23294
4
+ diffpy/utils/resampler.py,sha256=7M5VfH9Wddpy4j3SzSiCp1txUQwLPfwC1GcdYLdjyzE,5948
5
+ diffpy/utils/tools.py,sha256=rAxjUrcnkQReT6uSu2X7GzqqLiEsaNArKkr-cfdkCTA,15161
6
+ diffpy/utils/transforms.py,sha256=FW8vJB8Ft8TM4_vwRPMwTLZBiTxgZnLn9sbW8Nz0Ef4,6145
7
+ diffpy/utils/validators.py,sha256=JOtQBXbmke4ShMrBKy3-Ia1rc_0qrDBJ6gf66-9ukgA,901
8
+ diffpy/utils/version.py,sha256=b4ZYUji9mSEb7KDhiqdJoM17rJ9mQ9IJA21joYoCvtE,825
9
+ diffpy/utils/parsers/__init__.py,sha256=nfOvZXjWN0nx4Yqt6BYspqdXjTeBLJcsm5X2-3SMhb4,612
10
+ diffpy/utils/parsers/custom_exceptions.py,sha256=aWFm1AJA_3dprNeBxb_SfQ7Mw2s3ENdzxxCy3QiZM5c,1737
11
+ diffpy/utils/parsers/loaddata.py,sha256=YQ7bAMHx0sGuE123BYNpg8npfruNEd4P8ZBma7Jmr48,13257
12
+ diffpy/utils/parsers/serialization.py,sha256=6huTN8R4zkF2V30DeQxs-knHn7ZwotKaVN5kaEM-h9c,6851
13
+ diffpy/utils/wx/__init__.py,sha256=dyVlLVVqqn3pBhCTyWr3zvvIcmQjqzUCOjWAaZ2lkX4,586
14
+ diffpy/utils/wx/gridutils.py,sha256=940h1kN5yClQwLrWLhQ6QlBvf7hVHBLqOfaDJ2QZZoc,5158
15
+ diffpy_utils-3.6.1rc1.dist-info/licenses/AUTHORS.rst,sha256=vSJE4eFlrvgzwe0UiB5nnuqWVi7HO1aTzavOgqH1ngE,181
16
+ diffpy_utils-3.6.1rc1.dist-info/licenses/LICENSE.rst,sha256=Fic68qk6_MHLTR4fTua4ufK3iZH7ioQJ0x9STJAjkyk,6011
17
+ diffpy_utils-3.6.1rc1.dist-info/licenses/LICENSE_DANSE.txt,sha256=mPt7YHs0xQgff18u_MPvAFqHRTTF0x9ecqubGy6Fxjs,2160
18
+ diffpy_utils-3.6.1rc1.dist-info/METADATA,sha256=f_OJxDgSo9k87Txtxq0zHHj4gL4iNg9K4-i89vJGaVw,7563
19
+ diffpy_utils-3.6.1rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
20
+ diffpy_utils-3.6.1rc1.dist-info/top_level.txt,sha256=34qLZyi9mxikpHepVDTMHrrNbe8VoOuz3ShYeiWA7KA,7
21
+ diffpy_utils-3.6.1rc1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,21 +0,0 @@
1
- diffpy/__init__.py,sha256=PLQx_UmkmhCTu5bPeYdp9nQBx-OJGP0s4Pz-lLQhKsU,926
2
- diffpy/utils/__init__.py,sha256=kI_cDXp3KPVxViASICDaARnjQQWkngn1qpdqizxXXdA,700
3
- diffpy/utils/diffraction_objects.py,sha256=ex2u_jI_85hIRFfj-UHqHetEbJON8q0aefPR2v2OKks,22323
4
- diffpy/utils/resampler.py,sha256=2GH0tcIauv6tuc0WHi8HGPEsB9UBtcrd1UF1hVf5dQo,5874
5
- diffpy/utils/tools.py,sha256=2K9vwPIrJGfS--EA8M9J3oDBar5e7m-pRVDsY2EpfQc,14606
6
- diffpy/utils/transforms.py,sha256=ubpVDXKG172bIBWBuYLEpny_dUmnYvtDI1U6EWPC-DI,6094
7
- diffpy/utils/validators.py,sha256=GxJlKmt3GjwuF3UZDeTpanuQcbTpFSIejwMpvTmGdqc,897
8
- diffpy/utils/version.py,sha256=jWqULCROBeENcph55cKIeMJ9nHFNBo2s_gdH6fKwwnw,821
9
- diffpy/utils/parsers/__init__.py,sha256=nfOvZXjWN0nx4Yqt6BYspqdXjTeBLJcsm5X2-3SMhb4,612
10
- diffpy/utils/parsers/custom_exceptions.py,sha256=bouYrFfxcTDqH6uC2u-97EkoHo9FNLi629M_kvBcUt0,1705
11
- diffpy/utils/parsers/loaddata.py,sha256=3in-OIz3fXa9Sny9dvEUH5mQ9VOwxkEPwlqfC20dh1o,12847
12
- diffpy/utils/parsers/serialization.py,sha256=euhi_hotaM2C3MjLqAgMSlKspveEtzDPuH7Ac4FueL0,6611
13
- diffpy/utils/wx/__init__.py,sha256=dyVlLVVqqn3pBhCTyWr3zvvIcmQjqzUCOjWAaZ2lkX4,586
14
- diffpy/utils/wx/gridutils.py,sha256=V05pEsFbzqF80cbTxyso4YedfQDIYi9KrUaEViG6R0w,5116
15
- diffpy.utils-3.6.0rc4.dist-info/AUTHORS.rst,sha256=vSJE4eFlrvgzwe0UiB5nnuqWVi7HO1aTzavOgqH1ngE,181
16
- diffpy.utils-3.6.0rc4.dist-info/LICENSE.rst,sha256=Fic68qk6_MHLTR4fTua4ufK3iZH7ioQJ0x9STJAjkyk,6011
17
- diffpy.utils-3.6.0rc4.dist-info/LICENSE_DANSE.txt,sha256=mPt7YHs0xQgff18u_MPvAFqHRTTF0x9ecqubGy6Fxjs,2160
18
- diffpy.utils-3.6.0rc4.dist-info/METADATA,sha256=bXUUXBA0iIBaPIkBgmn-PewR9WGVZ_A0MzMC1gLTodk,7297
19
- diffpy.utils-3.6.0rc4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
20
- diffpy.utils-3.6.0rc4.dist-info/top_level.txt,sha256=34qLZyi9mxikpHepVDTMHrrNbe8VoOuz3ShYeiWA7KA,7
21
- diffpy.utils-3.6.0rc4.dist-info/RECORD,,