batplot 1.8.1__tar.gz → 1.8.7__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.
- {batplot-1.8.1 → batplot-1.8.7}/LICENSE +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/MANIFEST.in +0 -0
- {batplot-1.8.1/batplot.egg-info → batplot-1.8.7}/PKG-INFO +4 -9
- {batplot-1.8.1 → batplot-1.8.7}/README.md +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/USER_MANUAL.md +21 -0
- batplot-1.8.7/batplot/__init__.py +5 -0
- batplot-1.8.7/batplot/args.py +643 -0
- batplot-1.8.7/batplot/batch.py +1211 -0
- batplot-1.8.7/batplot/batplot.py +3901 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/cif.py +0 -0
- batplot-1.8.7/batplot/cli.py +163 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/color_utils.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/config.py +0 -0
- batplot-1.8.7/batplot/converters.py +252 -0
- batplot-1.8.7/batplot/cpc_interactive.py +4589 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/data/USER_MANUAL.md +49 -0
- batplot-1.8.7/batplot/electrochem_interactive.py +4576 -0
- batplot-1.8.7/batplot/interactive.py +5586 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/manual.py +0 -0
- batplot-1.8.7/batplot/modes.py +800 -0
- batplot-1.8.7/batplot/operando.py +625 -0
- batplot-1.8.7/batplot/operando_ec_interactive.py +5861 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/plotting.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/readers.py +0 -0
- batplot-1.8.7/batplot/session.py +3201 -0
- batplot-1.8.7/batplot/style.py +1637 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/ui.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot/utils.py +0 -0
- batplot-1.8.7/batplot/version_check.py +253 -0
- {batplot-1.8.1 → batplot-1.8.7/batplot.egg-info}/PKG-INFO +4 -9
- {batplot-1.8.1 → batplot-1.8.7}/batplot.egg-info/SOURCES.txt +24 -1
- batplot-1.8.7/batplot.egg-info/requires.txt +4 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot.egg-info/top_level.txt +1 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/__init__.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/args.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/batch.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/batplot.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/cif.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/cli.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/color_utils.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/config.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/converters.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/cpc_interactive.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/electrochem_interactive.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/interactive.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/modes.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/operando.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/operando_ec_interactive.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/plotting.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/readers.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/session.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/style.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/ui.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/utils.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot_backup_20251121_223043/version_check.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/__init__.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/args.py +2 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/batch.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/batplot.py +0 -0
- batplot-1.8.7/batplot_backup_20251221_101150/cif.py +823 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/cli.py +0 -0
- batplot-1.8.7/batplot_backup_20251221_101150/color_utils.py +547 -0
- batplot-1.8.7/batplot_backup_20251221_101150/config.py +198 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/converters.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/cpc_interactive.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/electrochem_interactive.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/interactive.py +0 -0
- batplot-1.8.7/batplot_backup_20251221_101150/manual.py +323 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/modes.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/operando.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/operando_ec_interactive.py +0 -0
- batplot-1.8.7/batplot_backup_20251221_101150/plotting.py +228 -0
- batplot-1.8.7/batplot_backup_20251221_101150/readers.py +2607 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/session.py +0 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/style.py +0 -0
- batplot-1.8.7/batplot_backup_20251221_101150/ui.py +790 -0
- batplot-1.8.7/batplot_backup_20251221_101150/utils.py +1046 -0
- {batplot-1.8.1/batplot → batplot-1.8.7/batplot_backup_20251221_101150}/version_check.py +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/pyproject.toml +4 -9
- {batplot-1.8.1 → batplot-1.8.7}/setup.py +0 -0
- batplot-1.8.1/batplot.egg-info/requires.txt +0 -4
- {batplot-1.8.1 → batplot-1.8.7}/batplot.egg-info/dependency_links.txt +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/batplot.egg-info/entry_points.txt +0 -0
- {batplot-1.8.1 → batplot-1.8.7}/setup.cfg +0 -0
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: batplot
|
|
3
|
-
Version: 1.8.
|
|
3
|
+
Version: 1.8.7
|
|
4
4
|
Summary: Interactive plotting tool for material science (1D plot) and electrochemistry (GC, CV, dQ/dV, CPC, operando) with batch processing
|
|
5
5
|
Author-email: Tian Dai <tianda@uio.no>
|
|
6
6
|
License: MIT License
|
|
@@ -31,20 +31,15 @@ Project-URL: Issues, https://github.com/TianDai1729/batplot/issues
|
|
|
31
31
|
Classifier: Programming Language :: Python
|
|
32
32
|
Classifier: Programming Language :: Python :: 3
|
|
33
33
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
34
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
35
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
36
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
37
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
38
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
39
34
|
Classifier: Programming Language :: Python :: 3.13
|
|
40
35
|
Classifier: Operating System :: OS Independent
|
|
41
36
|
Classifier: Intended Audience :: Science/Research
|
|
42
37
|
Classifier: Topic :: Scientific/Engineering :: Visualization
|
|
43
|
-
Requires-Python:
|
|
38
|
+
Requires-Python: <3.14,>=3.13
|
|
44
39
|
Description-Content-Type: text/markdown
|
|
45
40
|
License-File: LICENSE
|
|
46
|
-
Requires-Dist: numpy
|
|
47
|
-
Requires-Dist: matplotlib
|
|
41
|
+
Requires-Dist: numpy==2.3.4
|
|
42
|
+
Requires-Dist: matplotlib==3.10.7
|
|
48
43
|
Requires-Dist: rich>=10.0.0
|
|
49
44
|
Requires-Dist: openpyxl>=3.0.0
|
|
50
45
|
Dynamic: license-file
|
|
File without changes
|
|
@@ -131,8 +131,29 @@ batplot file1.xy file2.xye style.bps --out output.svg
|
|
|
131
131
|
|
|
132
132
|
batplot file1.xy file2.xye ./Style/style.bps --out output.svg
|
|
133
133
|
# Normal mode: apply style from relative path to multiple files
|
|
134
|
+
|
|
135
|
+
batplot file1.xy file2.xy --1d --stack --i
|
|
136
|
+
# Plot the first derivative (dy/dx) of file1 and file2 with interactive menu
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### Derivative Plotting
|
|
140
|
+
|
|
141
|
+
The `--1d` and `--2d` flags (both equivalent) allow you to plot the first derivative (dy/dx) of your datasets. This is useful for identifying peaks, inflection points, and analyzing the rate of change in your data.
|
|
142
|
+
|
|
143
|
+
**Examples:**
|
|
144
|
+
```bash
|
|
145
|
+
batplot file1.xy file2.xy --1d --stack --i
|
|
146
|
+
# Plot 1st derivatives of file1 and file2, stacked with interactive menu
|
|
147
|
+
|
|
148
|
+
batplot allfiles --1d --interactive
|
|
149
|
+
# Plot 1st derivatives of all XY files with interactive menu
|
|
150
|
+
|
|
151
|
+
batplot file1.xy --1d --xrange 10 80
|
|
152
|
+
# Plot 1st derivative with custom X-axis range
|
|
134
153
|
```
|
|
135
154
|
|
|
155
|
+
**Note:** The derivative is calculated using numpy's gradient function, which automatically handles non-uniform spacing in your X-axis data. The derivative calculation is applied after data loading and axis conversion, but before any transformations (EXAFS k-weighting, normalization, etc.).
|
|
156
|
+
|
|
136
157
|
### Wavelength Specification
|
|
137
158
|
|
|
138
159
|
Batplot supports flexible wavelength specification for XRD data conversion and CIF tick calculation. You can specify wavelengths globally using `--wl` or per-file using colon syntax.
|