picometer 0.5.0__tar.gz → 0.5.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.
- {picometer-0.5.0 → picometer-0.5.1}/PKG-INFO +5 -4
- {picometer-0.5.0 → picometer-0.5.1}/README.md +1 -2
- picometer-0.5.1/picometer/__init__.py +8 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/atom.py +3 -1
- {picometer-0.5.0 → picometer-0.5.1}/pyproject.toml +1 -1
- picometer-0.5.0/picometer/__init__.py +0 -4
- {picometer-0.5.0 → picometer-0.5.1}/LICENSE +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/__main__.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/instructions.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/logging.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/models.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/process.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/settings.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/settings.yaml +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/shapes.py +0 -0
- {picometer-0.5.0 → picometer-0.5.1}/picometer/utility.py +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: picometer
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Precisely define and calculate measurements across multiple crystal structures
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Author: Daniel Tchoń
|
|
7
8
|
Requires-Python: >=3.10
|
|
8
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
@@ -11,6 +12,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
11
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
14
|
Classifier: Programming Language :: Python :: 3.13
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
14
16
|
Requires-Dist: hikari-toolkit (>=0.2.3)
|
|
15
17
|
Requires-Dist: numpy (>=2)
|
|
16
18
|
Requires-Dist: pandas (>=2)
|
|
@@ -141,8 +143,7 @@ The following instructions are currently supported by picometer:
|
|
|
141
143
|
- fit `plane` to the currect atom / centroid selection;
|
|
142
144
|
- **Evaluation instructions**
|
|
143
145
|
- write out fractional `coordinates` of currently selected centroids or atoms.
|
|
144
|
-
- write out `displacement` parameters of currently selected centroids or atoms
|
|
145
|
-
(note: currently does not correctly handle symmetry transformations).
|
|
146
|
+
- write out `displacement` parameters of currently selected centroids or atoms.
|
|
146
147
|
- measure `distance` between 2 selected objects; if the selection includes
|
|
147
148
|
groups of atoms, measure closes distance to the group of atoms.
|
|
148
149
|
- measure `angle` between 2–3 selected objects: planes, lines, or (ordered) atoms.
|
|
@@ -121,8 +121,7 @@ The following instructions are currently supported by picometer:
|
|
|
121
121
|
- fit `plane` to the currect atom / centroid selection;
|
|
122
122
|
- **Evaluation instructions**
|
|
123
123
|
- write out fractional `coordinates` of currently selected centroids or atoms.
|
|
124
|
-
- write out `displacement` parameters of currently selected centroids or atoms
|
|
125
|
-
(note: currently does not correctly handle symmetry transformations).
|
|
124
|
+
- write out `displacement` parameters of currently selected centroids or atoms.
|
|
126
125
|
- measure `distance` between 2 selected objects; if the selection includes
|
|
127
126
|
groups of atoms, measure closes distance to the group of atoms.
|
|
128
127
|
- measure `angle` between 2–3 selected objects: planes, lines, or (ordered) atoms.
|
|
@@ -176,7 +176,9 @@ class AtomSet(Shape):
|
|
|
176
176
|
uij = self.fract_uij # shape: (n_atoms, 3, 3)
|
|
177
177
|
mask = ~np.isnan(uij).all(axis=(1, 2)) # atoms with defined Uij
|
|
178
178
|
if np.any(mask):
|
|
179
|
-
|
|
179
|
+
abc_r = [self.base.a_r, self.base.b_r, self.base.c_r]
|
|
180
|
+
k = np.diag([1 / a for a in abc_r]) @ symm_op.tf @ np.diag(abc_r)
|
|
181
|
+
uij_rot = k @ uij[mask] @ k.T
|
|
180
182
|
data.loc[mask, 'U11'] = uij_rot[:, 0, 0]
|
|
181
183
|
data.loc[mask, 'U22'] = uij_rot[:, 1, 1]
|
|
182
184
|
data.loc[mask, 'U33'] = uij_rot[:, 2, 2]
|
|
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
|