dgpost 2.2__tar.gz → 2.2.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.
- {dgpost-2.2/src/dgpost.egg-info → dgpost-2.2.1}/PKG-INFO +3 -2
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/extract.py +4 -0
- {dgpost-2.2 → dgpost-2.2.1/src/dgpost.egg-info}/PKG-INFO +3 -2
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_extract.py +12 -0
- {dgpost-2.2 → dgpost-2.2.1}/LICENSE +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/README.md +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/pyproject.toml +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/setup.cfg +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/__init__.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/main.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/__init__.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/catalysis.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/chromatography.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/circuit_utils/__init__.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/circuit_utils/circuit_components.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/circuit_utils/circuit_parser.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/electrochemistry.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/impedance.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/rates.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/reflection.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/transform/table.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/__init__.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/helpers.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/load.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/parse.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/pivot.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/plot.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/save.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost/utils/transform.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost.egg-info/SOURCES.txt +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost.egg-info/dependency_links.txt +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost.egg-info/entry_points.txt +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost.egg-info/requires.txt +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/src/dgpost.egg-info/top_level.txt +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_catalysis_atbal.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_catalysis_conversion.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_catalysis_selectivity.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_catalysis_yield.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_chromatography.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_electrochemistry_charge.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_electrochemistry_current.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_electrochemistry_fe.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_electrochemistry_nernst.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_impedance.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_load.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_main.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_parse.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_pivot.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_plot.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_rates_batchtomolar.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_rates_flowtomolar.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_realworld.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_reflection.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_roundtrip.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_save.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_table_combine_columns.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_table_combine_namespaces.py +0 -0
- {dgpost-2.2 → dgpost-2.2.1}/tests/test_table_set_uncertainty.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dgpost
|
|
3
|
-
Version: 2.2
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: datagram post-processing toolkit
|
|
5
5
|
Author: Ueli Sauter
|
|
6
6
|
Author-email: Peter Kraus <peter.kraus@tu-berlin.de>
|
|
@@ -36,6 +36,7 @@ Provides-Extra: docs
|
|
|
36
36
|
Requires-Dist: sphinx~=7.2; extra == "docs"
|
|
37
37
|
Requires-Dist: sphinx-rtd-theme~=1.3.0; extra == "docs"
|
|
38
38
|
Requires-Dist: autodoc-pydantic~=2.1.0; extra == "docs"
|
|
39
|
+
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
# dgpost: datagram post-processing toolkit
|
|
41
42
|
|
|
@@ -259,6 +259,8 @@ def _(obj: DataTree, columns: list[dict]) -> list[pd.Series]:
|
|
|
259
259
|
if vals.coords.dtypes[coord].kind in {"O", "U"}:
|
|
260
260
|
splits = vals[coord].values
|
|
261
261
|
break
|
|
262
|
+
else:
|
|
263
|
+
splits = [None]
|
|
262
264
|
else:
|
|
263
265
|
coord = None
|
|
264
266
|
splits = [None]
|
|
@@ -276,6 +278,8 @@ def _(obj: DataTree, columns: list[dict]) -> list[pd.Series]:
|
|
|
276
278
|
if sigs is None:
|
|
277
279
|
if coord is None:
|
|
278
280
|
data = vals
|
|
281
|
+
elif split is None:
|
|
282
|
+
data = vals.values
|
|
279
283
|
else:
|
|
280
284
|
data = vals.loc[{coord: split}]
|
|
281
285
|
name.append(split)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dgpost
|
|
3
|
-
Version: 2.2
|
|
3
|
+
Version: 2.2.1
|
|
4
4
|
Summary: datagram post-processing toolkit
|
|
5
5
|
Author: Ueli Sauter
|
|
6
6
|
Author-email: Peter Kraus <peter.kraus@tu-berlin.de>
|
|
@@ -36,6 +36,7 @@ Provides-Extra: docs
|
|
|
36
36
|
Requires-Dist: sphinx~=7.2; extra == "docs"
|
|
37
37
|
Requires-Dist: sphinx-rtd-theme~=1.3.0; extra == "docs"
|
|
38
38
|
Requires-Dist: autodoc-pydantic~=2.1.0; extra == "docs"
|
|
39
|
+
Dynamic: license-file
|
|
39
40
|
|
|
40
41
|
# dgpost: datagram post-processing toolkit
|
|
41
42
|
|
|
@@ -238,6 +238,18 @@ from .utils import compare_dfs
|
|
|
238
238
|
},
|
|
239
239
|
"ref.ca+cv.pkl",
|
|
240
240
|
),
|
|
241
|
+
( # ts23 - extract multidimensional data from netcdf
|
|
242
|
+
"extract.multidim.nc",
|
|
243
|
+
{
|
|
244
|
+
"at": {"steps": ["0"]},
|
|
245
|
+
"columns": [
|
|
246
|
+
{"key": "S11->magnitude", "as": "mag"},
|
|
247
|
+
{"key": "S11->phase_angle", "as": "ang"},
|
|
248
|
+
{"key": "S11->frequency", "as": "freq"},
|
|
249
|
+
],
|
|
250
|
+
},
|
|
251
|
+
"ref.extract.multidim.nc.pkl",
|
|
252
|
+
),
|
|
241
253
|
],
|
|
242
254
|
)
|
|
243
255
|
def test_extract_single(inpath, spec, outpath, datadir):
|
|
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
|
|
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
|