pvplot 1.3.2__tar.gz → 1.3.3__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.
- {pvplot-1.3.2 → pvplot-1.3.3}/PKG-INFO +1 -1
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/pvplot.py +5 -5
- {pvplot-1.3.2 → pvplot-1.3.3}/pyproject.toml +1 -1
- {pvplot-1.3.2 → pvplot-1.3.3}/LICENSE +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/README.md +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/cad_epics/__init__.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/cad_epics/epics.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/config/peakSimulator_pvp.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/config.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/config_proposal.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/__init__.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/__main__.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/helptxt.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/pvplot_tmp.py +0 -0
- {pvplot-1.3.2 → pvplot-1.3.3}/pvplot/pvplot_todo_disable_plot.py +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
"""Plotting package for EPICS PVs, ADO and LITE parameters.
|
|
3
3
|
"""
|
|
4
|
-
__version__ = 'v1.3.
|
|
4
|
+
__version__ = 'v1.3.3 2024-08-21'# Statistics shows full name of parameter
|
|
5
5
|
#TODO: if backend times out the gui is not responsive
|
|
6
6
|
#TODO: move Add Dataset to Dataset options
|
|
7
7
|
#TODO: add dataset arithmetics
|
|
8
|
-
#TODO: Use
|
|
8
|
+
#TODO: Use rich text in statistics, make it as table or use pprint
|
|
9
9
|
|
|
10
10
|
import sys, os, time, datetime
|
|
11
11
|
timer = time.perf_counter
|
|
@@ -481,7 +481,7 @@ class Dataset():
|
|
|
481
481
|
|
|
482
482
|
def get_statistics(self):
|
|
483
483
|
ileft,iright = self._visibleRange()
|
|
484
|
-
parname = self.adoPars[0][0]
|
|
484
|
+
parname = self.adoPars[0][0]
|
|
485
485
|
r = {parname:{}}
|
|
486
486
|
rp = r[parname]
|
|
487
487
|
rp['xrange'] = (ileft,iright)
|
|
@@ -1098,8 +1098,8 @@ class PVPlot():
|
|
|
1098
1098
|
s = dataset.get_statistics()
|
|
1099
1099
|
if len(s) != 0:
|
|
1100
1100
|
statistics.update(s)
|
|
1101
|
-
txt = ('Parameter
|
|
1102
|
-
'
|
|
1101
|
+
txt = ('Parameter\t\tRange \tMean \tSTD \tPeak2Peak\n'
|
|
1102
|
+
'---------\t\t------\t------\t------\t---------\n')
|
|
1103
1103
|
for key,v in statistics.items():
|
|
1104
1104
|
txt += f'{key}:\t{v["xrange"]}\t{v["mean"]:.6g}\t{v["std"]:.6g}\t{v["p2p"]:.6g}\n'
|
|
1105
1105
|
return txt
|
|
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
|