ebrow 0.7__tar.gz → 0.9__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.
- ebrow-0.9/PKG-INFO +68 -0
- {ebrow-0.7/src/ebrow → ebrow-0.9}/README.md +1 -1
- {ebrow-0.7 → ebrow-0.9}/pyproject.toml +38 -28
- {ebrow-0.7 → ebrow-0.9}/setup.py +36 -21
- {ebrow-0.7 → ebrow-0.9/src/ebrow}/README.md +1 -1
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/afDummy.py +1 -1
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/afFreezeDetect.py +7 -4
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/afHasHead.py +25 -29
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/aslplot.py +6 -10
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/bargraph.py +5 -24
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/basegraph.py +11 -45
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/bg_rmob.py +11 -10
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/datasource.py +182 -102
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/dateintervaldialog.py +1 -1
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/distplot.py +6 -6
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/heatmap.py +13 -45
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/hm_rmob.py +10 -21
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/logprint.py +58 -7
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/main.py +59 -19
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/mainwindow.py +96 -167
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/mapplot.py +11 -29
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/mapplot3d.py +7 -32
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/miplot.py +6 -7
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/pandasmodel.py +22 -21
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/powerplot.py +4 -10
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/prefs.py +62 -48
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/reports.py +25 -9
- ebrow-0.9/src/ebrow/edb/resources/auxfiles/echoes.sqlite3 +0 -0
- ebrow-0.9/src/ebrow/edb/resources/auxfiles/meteor_showers_table.csv +13 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Heavy.otf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Heavy.ttf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Heavy.woff +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Oblique.otf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Oblique.ttf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Oblique.woff +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Regular.otf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Regular.ttf +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/Gauge-Regular.woff +0 -0
- ebrow-0.9/src/ebrow/edb/resources/fonts/LICENCE.txt +93 -0
- ebrow-0.9/src/ebrow/edb/resources/icons/ebrow_logo.gfie +0 -0
- ebrow-0.9/src/ebrow/edb/resources/splash/splash.gfie +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/rtsconfig.py +19 -13
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/screenshots.py +47 -170
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/settings.py +102 -122
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/splash.py +4 -4
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/statplot.py +6 -24
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/stats.py +68 -59
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/thumbnails_browser.py +38 -23
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/ui_afdummy.py +11 -13
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/ui_affreezedetect.py +18 -20
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/ui_afhashead.py +15 -18
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/ui_dateintervaldialog.py +8 -10
- ebrow-0.9/src/ebrow/edb/ui_mainwindow.py +14085 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/utilities.py +72 -20
- ebrow-0.9/src/ebrow.egg-info/PKG-INFO +68 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow.egg-info/SOURCES.txt +14 -1
- ebrow-0.9/src/ebrow.egg-info/requires.txt +28 -0
- ebrow-0.7/PKG-INFO +0 -678
- ebrow-0.7/src/ebrow/edb/ebrow_rc.py +0 -47164
- ebrow-0.7/src/ebrow/edb/ui_mainwindow.py +0 -14166
- ebrow-0.7/src/ebrow.egg-info/PKG-INFO +0 -678
- ebrow-0.7/src/ebrow.egg-info/requires.txt +0 -16
- {ebrow-0.7 → ebrow-0.9}/LICENSE.txt +0 -0
- {ebrow-0.7 → ebrow-0.9}/setup.cfg +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/__init__.py +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/css/reset.css +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/css/rmob.css +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/css/style.css +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/css/table.css +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/Logo GABB.jpeg +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/calendar.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/data.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/events.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/graph.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/index.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/logo.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/radio.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/assets/img/site.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/cividis.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/colorgramme.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/echoes.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/gray.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/inferno.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/magma.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/plasma.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/colormaps/viridis.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/LICENSES +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/application-pdf.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/application-vnd.ms-excel.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/applications-office-5.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/atlantik-2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/cmap2D.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/cmap3D.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/configure-4.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/db.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/db_comit.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/db_update.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/document-export.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/document-open-5.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/document-open-recent-3.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/document-save-as-5.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_icon16.ico +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_icon256.ico +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_icon32.ico +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_icon64.ico +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_logo.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_xpm16.xpm +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/ebrow_xpm32.xpm +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/echoes_logo.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/echoes_logo_trans.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/echoescope_logo.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/edit-delete-4.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/edit-delete-6.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/edit-find-3.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/filter.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/format-text-underline-6.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-down-7.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-first-view.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-last-view.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-next-7.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-next-view.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-previous-7.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-previous-view.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/go-up-7.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/help-2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/help.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/image-x-canon-cr2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/list-add-4.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/mail-filters-apply.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/office-calendar.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/office-chart-area.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/office-chart-bar.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/office-chart-pie.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/preferences-desktop-color.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/process-stop.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/rmob.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/system-log-out-4.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/system-settings-2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/text-csv.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/text-html.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/thumbnail.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/utilities-find-2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/view-list-icons.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/view-object-histogram-linear.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/view-process-all.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/view-refresh.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/icons/zoom-fit-best-2.png +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/splash/LICENSE.txt +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow/edb/resources/splash/splash.jpg +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow.egg-info/dependency_links.txt +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow.egg-info/entry_points.txt +0 -0
- {ebrow-0.7 → ebrow-0.9}/src/ebrow.egg-info/top_level.txt +0 -0
ebrow-0.9/PKG-INFO
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ebrow
|
|
3
|
+
Version: 0.9
|
|
4
|
+
Summary: Echoes Data Browser (Ebrow) is a data navigation and report generation tool for Echoes.
|
|
5
|
+
Home-page: https://www.gabb.it/echoes/
|
|
6
|
+
Author: Bertani Giuseppe Massimo
|
|
7
|
+
Author-email: Giuseppe Massimo Bertani <gm_bertani@yahoo.it>
|
|
8
|
+
License-Expression: GPL-3.0-or-later
|
|
9
|
+
Project-URL: Homepage, https://www.gabb.it/echoes/
|
|
10
|
+
Project-URL: Echoes SF page, https://sourceforge.net/projects/echoes/
|
|
11
|
+
Project-URL: Echoes FB page, https://www.facebook.com/gmbertani
|
|
12
|
+
Keywords: meteor,echoes,SDR,GABB,RMOB
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: End Users/Desktop
|
|
15
|
+
Classifier: Intended Audience :: Education
|
|
16
|
+
Classifier: Intended Audience :: Science/Research
|
|
17
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
18
|
+
Classifier: Programming Language :: Python :: 3
|
|
19
|
+
Requires-Python: >=3.11
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE.txt
|
|
22
|
+
Requires-Dist: numpy>=2.0.0
|
|
23
|
+
Requires-Dist: pandas>=3.0.0
|
|
24
|
+
Requires-Dist: astropy>=8.0.0
|
|
25
|
+
Requires-Dist: scipy>=1.15.0
|
|
26
|
+
Requires-Dist: scikit-image>=0.25.0
|
|
27
|
+
Requires-Dist: opencv-python-headless>=5.0.0.93
|
|
28
|
+
Requires-Dist: matplotlib>=3.10.0
|
|
29
|
+
Requires-Dist: PyQt6>=6.6.0
|
|
30
|
+
Requires-Dist: PyQt6-sip>=13.6.0
|
|
31
|
+
Requires-Dist: astropy-iers-data
|
|
32
|
+
Requires-Dist: beautifulsoup4
|
|
33
|
+
Requires-Dist: certifi
|
|
34
|
+
Requires-Dist: contourpy
|
|
35
|
+
Requires-Dist: fonttools
|
|
36
|
+
Requires-Dist: ImageIO
|
|
37
|
+
Requires-Dist: Jinja2
|
|
38
|
+
Requires-Dist: keyring
|
|
39
|
+
Requires-Dist: kiwisolver
|
|
40
|
+
Requires-Dist: mplcursors
|
|
41
|
+
Requires-Dist: openpyxl
|
|
42
|
+
Requires-Dist: packaging
|
|
43
|
+
Requires-Dist: pillow
|
|
44
|
+
Requires-Dist: psutil
|
|
45
|
+
Requires-Dist: pyerfa
|
|
46
|
+
Requires-Dist: python-dateutil
|
|
47
|
+
Requires-Dist: PyYAML
|
|
48
|
+
Requires-Dist: requests
|
|
49
|
+
Requires-Dist: typing_extensions
|
|
50
|
+
Dynamic: author
|
|
51
|
+
Dynamic: home-page
|
|
52
|
+
Dynamic: license-file
|
|
53
|
+
Dynamic: requires-python
|
|
54
|
+
|
|
55
|
+
# README
|
|
56
|
+
|
|
57
|
+

|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
Echoes Data Browser (Ebrow) is a data navigation and report generation tool for Echoes v.0.51++.
|
|
62
|
+
|
|
63
|
+
Echoes is a RF spectrograph software for SDR devices designed for meteor scatter and hosted on
|
|
64
|
+
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-2026 Giuseppe Massimo Bertani
|
|
65
|
+
and released under GPL v.3
|
|
66
|
+
|
|
67
|
+
Echoes documentation can be found at: http://www.gabb.it/echoes/
|
|
68
|
+
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Echoes Data Browser (Ebrow) is a data navigation and report generation tool for Echoes v.0.51++.
|
|
8
8
|
|
|
9
9
|
Echoes is a RF spectrograph software for SDR devices designed for meteor scatter and hosted on
|
|
10
|
-
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-
|
|
10
|
+
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-2026 Giuseppe Massimo Bertani
|
|
11
11
|
and released under GPL v.3
|
|
12
12
|
|
|
13
13
|
Echoes documentation can be found at: http://www.gabb.it/echoes/
|
|
@@ -17,11 +17,11 @@ name = "ebrow" # Required
|
|
|
17
17
|
#
|
|
18
18
|
# For a discussion on single-sourcing the version, see
|
|
19
19
|
# https://packaging.python.org/guides/single-sourcing-package-version/
|
|
20
|
-
# !!! GMB WARNING - IT MUST MATCH THE VERSION IN setup.py and
|
|
20
|
+
# !!! GMB WARNING - IT MUST MATCH THE VERSION IN setup.py and mainwindow.py!!!!!!
|
|
21
21
|
# keep spaces around '='
|
|
22
22
|
|
|
23
|
-
version = "0.
|
|
24
|
-
# version = "99.
|
|
23
|
+
version = "0.9" # PyPi
|
|
24
|
+
# version = "99.7.8" # TestPyPi
|
|
25
25
|
|
|
26
26
|
# This is a one-line description or tagline of what your project does. This
|
|
27
27
|
# corresponds to the "Summary" metadata field:
|
|
@@ -42,12 +42,13 @@ readme = "src/ebrow/README.md" # Optional
|
|
|
42
42
|
# 'Programming Language' classifiers above, 'pip install' will check this
|
|
43
43
|
# and refuse to install the project if the version does not match. See
|
|
44
44
|
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
|
|
45
|
-
requires-python = ">=3.
|
|
45
|
+
requires-python = ">=3.11"
|
|
46
46
|
|
|
47
47
|
# This is either text indicating the license for the distribution, or a file
|
|
48
48
|
# that contains the license
|
|
49
49
|
# https://packaging.python.org/en/latest/specifications/core-metadata/#license
|
|
50
|
-
license =
|
|
50
|
+
license = "GPL-3.0-or-later"
|
|
51
|
+
license-files = ["LICENSE*"]
|
|
51
52
|
|
|
52
53
|
# This field adds keywords for your project which will appear on the
|
|
53
54
|
# project page. What does your project relate to?
|
|
@@ -87,9 +88,6 @@ classifiers = [ # Optional
|
|
|
87
88
|
"Intended Audience :: Science/Research",
|
|
88
89
|
"Topic :: Software Development :: Build Tools",
|
|
89
90
|
|
|
90
|
-
# Pick your license as you wish
|
|
91
|
-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
92
|
-
|
|
93
91
|
# Specify the Python versions you support here. In particular, ensure
|
|
94
92
|
# that you indicate you support Python 3. These classifiers are *not*
|
|
95
93
|
# checked by "pip install". See instead "python_requires" below.
|
|
@@ -112,29 +110,40 @@ classifiers = [ # Optional
|
|
|
112
110
|
# "matplotlib~=3.5.3",
|
|
113
111
|
# "numpy~=1.21.6",
|
|
114
112
|
# "pandas~=1.3.5",
|
|
115
|
-
# "
|
|
113
|
+
# "PyQt6~=5.15.7",
|
|
116
114
|
# "setuptools~=41.2.0",
|
|
117
115
|
# "mplcursors~=0.5.1",
|
|
118
116
|
# "python-dateutil~=2.8.2"
|
|
119
117
|
#]
|
|
120
118
|
dependencies = [ # Optional
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
|
|
119
|
+
"numpy>=2.0.0",
|
|
120
|
+
"pandas>=3.0.0",
|
|
121
|
+
"astropy>=8.0.0",
|
|
122
|
+
"scipy>=1.15.0",
|
|
123
|
+
"scikit-image>=0.25.0",
|
|
124
|
+
"opencv-python-headless>=5.0.0.93",
|
|
125
|
+
"matplotlib>=3.10.0",
|
|
126
|
+
"PyQt6>=6.6.0",
|
|
127
|
+
"PyQt6-sip>=13.6.0",
|
|
128
|
+
"astropy-iers-data",
|
|
129
|
+
"beautifulsoup4",
|
|
130
|
+
"certifi",
|
|
131
|
+
"contourpy",
|
|
132
|
+
"fonttools",
|
|
133
|
+
"ImageIO",
|
|
134
|
+
"Jinja2",
|
|
135
|
+
"keyring",
|
|
136
|
+
"kiwisolver",
|
|
137
|
+
"mplcursors",
|
|
138
|
+
"openpyxl",
|
|
139
|
+
"packaging",
|
|
140
|
+
"pillow",
|
|
141
|
+
"psutil",
|
|
142
|
+
"pyerfa",
|
|
143
|
+
"python-dateutil",
|
|
144
|
+
"PyYAML",
|
|
145
|
+
"requests",
|
|
146
|
+
"typing_extensions"
|
|
138
147
|
]
|
|
139
148
|
# List additional groups of dependencies here (e.g. development
|
|
140
149
|
# dependencies). Users will be able to install these using the "extras"
|
|
@@ -159,7 +168,7 @@ dependencies = [ # Optional
|
|
|
159
168
|
# maintainers, and where to support the project financially. The key is
|
|
160
169
|
# what's used to render the link text on PyPI.
|
|
161
170
|
[project.urls] # Optional
|
|
162
|
-
"Homepage" = "
|
|
171
|
+
"Homepage" = "https://www.gabb.it/echoes/"
|
|
163
172
|
"Echoes SF page" = "https://sourceforge.net/projects/echoes/"
|
|
164
173
|
"Echoes FB page" = "https://www.facebook.com/gmbertani"
|
|
165
174
|
|
|
@@ -177,6 +186,7 @@ where = ["src"]
|
|
|
177
186
|
"*" = ["*.png", "*.ico", "*.jpg", "*.xpm", "*.jpeg", "*.css", "LICENSE*"]
|
|
178
187
|
"ebrow" = ["ebrow.qrc", "ebrow_style.qss", "mainwindow.ui"]
|
|
179
188
|
"assets" = ["*.css", "*.png", "*.js"]
|
|
189
|
+
"ebrow.edb" = ["resources/**/*"]
|
|
180
190
|
|
|
181
191
|
#[tool.setuptools]
|
|
182
192
|
# If there are data files included in your packages that need to be
|
|
@@ -190,6 +200,6 @@ where = ["src"]
|
|
|
190
200
|
# These are the assumed default build requirements from pip:
|
|
191
201
|
# https://pip.pypa.io/en/stable/reference/pip/#pep-517-and-518-support
|
|
192
202
|
|
|
193
|
-
requires = ["setuptools>=
|
|
203
|
+
requires = ["setuptools>=77.0"]
|
|
194
204
|
build-backend = "setuptools.build_meta"
|
|
195
205
|
|
{ebrow-0.7 → ebrow-0.9}/setup.py
RENAMED
|
@@ -8,10 +8,10 @@ setuptools.setup(
|
|
|
8
8
|
name="ebrow",
|
|
9
9
|
|
|
10
10
|
# version of the module
|
|
11
|
-
# !!! GMB WARNING - IT MUST MATCH THE VERSION IN pyproject.toml and
|
|
11
|
+
# !!! GMB WARNING - IT MUST MATCH THE VERSION IN pyproject.toml and mainwindow.py !!!!!!
|
|
12
12
|
|
|
13
|
-
version = "0.
|
|
14
|
-
# version = "99.
|
|
13
|
+
version = "0.9", # PyPi
|
|
14
|
+
# version = "99.7.8", # TestPyPi
|
|
15
15
|
|
|
16
16
|
# Name of Author
|
|
17
17
|
author="Bertani Giuseppe Massimo",
|
|
@@ -35,29 +35,44 @@ setuptools.setup(
|
|
|
35
35
|
# then you must add there, in order to download every requirement of package
|
|
36
36
|
|
|
37
37
|
install_requires = [ # Optional
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
38
|
+
"numpy>=2.0.0",
|
|
39
|
+
"pandas>=3.0.0",
|
|
40
|
+
"astropy>=8.0.0",
|
|
41
|
+
"scipy>=1.15.0",
|
|
42
|
+
"scikit-image>=0.25.0",
|
|
43
|
+
"opencv-python-headless>=5.0.0.93",
|
|
44
|
+
"matplotlib>=3.10.0",
|
|
45
|
+
"PyQt6>=6.6.0",
|
|
46
|
+
"PyQt6-sip>=13.6.0",
|
|
47
|
+
"astropy-iers-data",
|
|
48
|
+
"beautifulsoup4",
|
|
49
|
+
"certifi",
|
|
50
|
+
"contourpy",
|
|
51
|
+
"fonttools",
|
|
52
|
+
"ImageIO",
|
|
53
|
+
"Jinja2",
|
|
54
|
+
"keyring",
|
|
55
|
+
"kiwisolver",
|
|
56
|
+
"mplcursors",
|
|
57
|
+
"openpyxl",
|
|
58
|
+
"packaging",
|
|
59
|
+
"pillow",
|
|
60
|
+
"psutil",
|
|
61
|
+
"pyerfa",
|
|
62
|
+
"python-dateutil",
|
|
63
|
+
"PyYAML",
|
|
64
|
+
"requests",
|
|
65
|
+
"typing_extensions"
|
|
53
66
|
],
|
|
54
67
|
|
|
55
|
-
license="
|
|
68
|
+
license="GPL-3.0-or-later",
|
|
69
|
+
|
|
70
|
+
# minimum supported Python version
|
|
71
|
+
python_requires=">=3.11",
|
|
56
72
|
|
|
57
73
|
# classifiers like program is suitable for python3, just leave as it is.
|
|
58
74
|
classifiers=[
|
|
59
75
|
"Programming Language :: Python :: 3",
|
|
60
|
-
"
|
|
61
|
-
"Opebrating System :: OS Independent",
|
|
76
|
+
"Operating System :: OS Independent",
|
|
62
77
|
],
|
|
63
78
|
)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
Echoes Data Browser (Ebrow) is a data navigation and report generation tool for Echoes v.0.51++.
|
|
8
8
|
|
|
9
9
|
Echoes is a RF spectrograph software for SDR devices designed for meteor scatter and hosted on
|
|
10
|
-
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-
|
|
10
|
+
SourceForge (http://www.sourceforge.net/project/echoes), both copyright (C) 2018-2026 Giuseppe Massimo Bertani
|
|
11
11
|
and released under GPL v.3
|
|
12
12
|
|
|
13
13
|
Echoes documentation can be found at: http://www.gabb.it/echoes/
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
import json
|
|
27
27
|
|
|
28
28
|
import pandas as pd
|
|
29
|
-
from
|
|
29
|
+
from PyQt6.QtWidgets import QDialog
|
|
30
30
|
from edb.ui_affreezedetect import Ui_afFreezeDetect
|
|
31
31
|
from edb.logprint import print
|
|
32
32
|
from edb.utilities import splitASCIIdumpFile, splitBinaryDumpFile, timeToSeconds
|
|
@@ -72,17 +72,20 @@ class FreezeDetect(QDialog):
|
|
|
72
72
|
self._settings.writeSetting('afFreezeDetectEnabled', self._enabled)
|
|
73
73
|
self._settings.writeSetting('afFreezeDetectMissedScans', self._missedScans)
|
|
74
74
|
|
|
75
|
-
def _findLargestGap(self, data
|
|
75
|
+
def _findLargestGap(self, data) -> dict:
|
|
76
|
+
# works on a plain list: a pandas Series would be indexed by label,
|
|
77
|
+
# not by position, and break if its index isn't 0..n-1
|
|
78
|
+
data = list(data)
|
|
76
79
|
if len(data) < 2:
|
|
77
80
|
return None
|
|
78
81
|
|
|
79
|
-
|
|
82
|
+
# Compute the intervals between consecutive values
|
|
80
83
|
intervals = [data[i] - data[i - 1] for i in range(1, len(data))]
|
|
81
84
|
|
|
82
85
|
# Compute the average interval
|
|
83
86
|
avgInterval = sum(intervals) / len(intervals)
|
|
84
87
|
|
|
85
|
-
# Find the largest gap that exceeds
|
|
88
|
+
# Find the largest gap that exceeds the average interval by the configured multiplier
|
|
86
89
|
largestGap = None
|
|
87
90
|
maxGapSecs = 0
|
|
88
91
|
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import datetime
|
|
26
26
|
import json
|
|
27
27
|
import numpy as np
|
|
28
|
-
from
|
|
28
|
+
from PyQt6.QtWidgets import QDialog, QApplication
|
|
29
29
|
from edb.ui_afhashead import Ui_afHasHead
|
|
30
30
|
from edb.logprint import print
|
|
31
31
|
from edb.utilities import splitASCIIdumpFile, splitBinaryDumpFile
|
|
@@ -97,11 +97,6 @@ class HasHead(QDialog):
|
|
|
97
97
|
timeList = pd.to_datetime(pivotTable.index, unit='s') # Convert to datetime
|
|
98
98
|
freqList = list(map(float, pivotTable.columns.tolist()))
|
|
99
99
|
|
|
100
|
-
# Normalize the image for power values
|
|
101
|
-
minPower = np.min(image)
|
|
102
|
-
maxPower = np.max(image)
|
|
103
|
-
imageNorm = (image - minPower) / (maxPower - minPower)
|
|
104
|
-
|
|
105
100
|
# Calculate a dynamic threshold based on the user-provided percentile
|
|
106
101
|
powerThreshold = np.percentile(image, percentile)
|
|
107
102
|
|
|
@@ -116,7 +111,7 @@ class HasHead(QDialog):
|
|
|
116
111
|
doppler = 0
|
|
117
112
|
maxArea = -1
|
|
118
113
|
for contour in contours:
|
|
119
|
-
|
|
114
|
+
QApplication.instance().processEvents()
|
|
120
115
|
contour = contour.squeeze().astype(np.float32)
|
|
121
116
|
if contour.ndim == 2 and contour.shape[1] == 2:
|
|
122
117
|
freqIndices = contour[:, 0]
|
|
@@ -138,7 +133,6 @@ class HasHead(QDialog):
|
|
|
138
133
|
extremePoint = None
|
|
139
134
|
extremeFreq = 0.0
|
|
140
135
|
extremeTime = datetime.datetime.now()
|
|
141
|
-
# referenceFreq = 0.0
|
|
142
136
|
maxDistance = -1
|
|
143
137
|
if mainContour is not None:
|
|
144
138
|
# Get coordinates of all points in the main contour
|
|
@@ -154,7 +148,7 @@ class HasHead(QDialog):
|
|
|
154
148
|
|
|
155
149
|
# Find the extreme point with the maximum frequency
|
|
156
150
|
for idx in validIndices:
|
|
157
|
-
|
|
151
|
+
QApplication.instance().processEvents()
|
|
158
152
|
freqIdx = freqIndices[idx]
|
|
159
153
|
timeIdx = timeIndices[idx]
|
|
160
154
|
extremeFreq = freqList[freqIdx]
|
|
@@ -192,33 +186,31 @@ class HasHead(QDialog):
|
|
|
192
186
|
result['extreme_time'] = str(extremeTime)
|
|
193
187
|
result['peak_time'] = str(maxPowerTime)
|
|
194
188
|
result['freq_shift'] = int(doppler)
|
|
195
|
-
|
|
196
|
-
# as result of the hough trasform, this filter must return
|
|
197
|
-
# a JSON string containing the following 5 parameters:
|
|
198
|
-
# freq0,time0 = starting point of the echo head
|
|
199
|
-
# freq1, time1 = ending point of the echo head
|
|
200
|
-
# doppler = frequency shift = (freq0 - freq1)
|
|
201
189
|
return result
|
|
202
190
|
|
|
203
191
|
def evalFilter(self, evId: int, idx: int, df: pd.DataFrame):
|
|
204
|
-
|
|
205
192
|
"""
|
|
206
193
|
Calculates the frequency shift of the head echo from a DATB if present.
|
|
207
194
|
The results must be stored by the caller.
|
|
208
195
|
Returns a dictionary containing the positive and negative shifts
|
|
209
196
|
centered on the carrier.
|
|
210
197
|
A None value means that the calculation was impossible
|
|
211
|
-
due to missing data
|
|
212
|
-
"""
|
|
198
|
+
due to missing data.
|
|
213
199
|
|
|
214
|
-
|
|
200
|
+
idx and df are the caller's row index and dataframe: the corrected
|
|
201
|
+
freq_shift is written there. Local variables use different names
|
|
202
|
+
so the caller's objects are never shadowed.
|
|
203
|
+
"""
|
|
215
204
|
dfMap = None
|
|
216
|
-
|
|
217
|
-
if len(
|
|
205
|
+
evDf = self._parent.dataSource.getADpartialFrame(idFrom=evId, idTo=evId, wantFakes=False)
|
|
206
|
+
if evDf is None or len(evDf) == 0:
|
|
218
207
|
print("this event is fake, ignoring it")
|
|
219
208
|
return None
|
|
220
209
|
|
|
221
|
-
rec =
|
|
210
|
+
rec = evDf.loc[(evDf['event_status'] == 'Fall')].reset_index(drop=True)
|
|
211
|
+
if len(rec) == 0:
|
|
212
|
+
print(f"event#{evId} has no Fall line, ignoring it")
|
|
213
|
+
return None
|
|
222
214
|
rtsRevision = rec.loc[0, 'revision']
|
|
223
215
|
datName, datData, dailyNr, utcDate = self._parent.dataSource.extractDumpData(evId)
|
|
224
216
|
|
|
@@ -229,16 +221,20 @@ class HasHead(QDialog):
|
|
|
229
221
|
dfMap, dfPower = splitASCIIdumpFile(datData)
|
|
230
222
|
|
|
231
223
|
if dfMap is not None:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
224
|
+
cfgDevices = self._parent.dataSource.loadTableConfig('cfg_devices')
|
|
225
|
+
matches = cfgDevices.loc[(cfgDevices['id'] == rtsRevision)].index
|
|
226
|
+
if len(matches) == 0:
|
|
227
|
+
print(f"RTS revision {rtsRevision} not found in cfg_devices, ignoring event#{evId}")
|
|
228
|
+
return None
|
|
229
|
+
cfgIdx = matches[0]
|
|
230
|
+
tune = cfgDevices.loc[cfgIdx, 'tune']
|
|
235
231
|
|
|
236
|
-
|
|
237
|
-
offset =
|
|
232
|
+
cfgWaterfall = self._parent.dataSource.loadTableConfig('cfg_waterfall')
|
|
233
|
+
offset = cfgWaterfall.loc[cfgIdx, 'freq_offset']
|
|
238
234
|
|
|
239
235
|
# dfMap is a table time,freq,S
|
|
240
|
-
resultDict = self._doppler(dfMap, tune+offset, self._percentile, self._timeDelta)
|
|
241
|
-
if 'freq_shift' in resultDict
|
|
236
|
+
resultDict = self._doppler(dfMap, tune + offset, self._percentile, self._timeDelta)
|
|
237
|
+
if resultDict is not None and 'freq_shift' in resultDict:
|
|
242
238
|
# fixes the broken freq_shift calculated by Echoes
|
|
243
239
|
df.loc[idx, 'freq_shift'] = int(resultDict['freq_shift'])
|
|
244
240
|
return resultDict
|
|
@@ -30,13 +30,13 @@ import matplotlib.pyplot as plt
|
|
|
30
30
|
import matplotlib.dates as md
|
|
31
31
|
from mplcursors import cursor
|
|
32
32
|
from matplotlib.ticker import MultipleLocator, MaxNLocator
|
|
33
|
-
from matplotlib.backends.
|
|
33
|
+
from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg
|
|
34
34
|
from scipy.signal import savgol_filter
|
|
35
35
|
from .settings import Settings
|
|
36
36
|
from .basegraph import BaseGraph
|
|
37
37
|
|
|
38
38
|
|
|
39
|
-
mp.use('
|
|
39
|
+
mp.use('qtagg')
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class ASLplot(BaseGraph):
|
|
@@ -62,21 +62,17 @@ class ASLplot(BaseGraph):
|
|
|
62
62
|
if windowSize > y.size:
|
|
63
63
|
windowSize = y.size
|
|
64
64
|
|
|
65
|
-
|
|
66
65
|
polyOrder = 5
|
|
67
66
|
if polyOrder >= y.size:
|
|
68
|
-
polyOrder = y.size-1
|
|
67
|
+
polyOrder = y.size - 1
|
|
69
68
|
print("smoothed through Savitsky-Golay filter (windowSize={}, polyOrder={})".format(windowSize, polyOrder))
|
|
70
69
|
title += "(smoothed)"
|
|
71
70
|
y = savgol_filter(y, windowSize, polyOrder)
|
|
72
71
|
|
|
73
|
-
plt.
|
|
74
|
-
self._fig, ax = plt.subplots(1)
|
|
72
|
+
self._fig, ax = plt.subplots(figsize=(inchWidth, inchHeight))
|
|
75
73
|
xdt = np.asarray(x, dtype='float')
|
|
76
74
|
locator = MaxNLocator(len(x))
|
|
77
75
|
ax.xaxis.set_major_locator(locator)
|
|
78
|
-
#myFmt = md.DateFormatter('%Y-%m-%d')
|
|
79
|
-
#ax.xaxis.set_major_formatter(myFmt)
|
|
80
76
|
|
|
81
77
|
ax.plot(xdt, y, label='Counts')
|
|
82
78
|
self._fig.suptitle(title + '\n')
|
|
@@ -92,7 +88,7 @@ class ASLplot(BaseGraph):
|
|
|
92
88
|
if self._settings.readSettingAsString('cursorEnabled') == 'true':
|
|
93
89
|
cursor(hover=True)
|
|
94
90
|
|
|
95
|
-
self._fig.
|
|
91
|
+
self._fig.tight_layout(pad=5.0)
|
|
96
92
|
self._canvas = FigureCanvasQTAgg(self._fig)
|
|
97
93
|
# avoids showing the original fig window
|
|
98
|
-
plt.close('all')
|
|
94
|
+
plt.close('all')
|
|
@@ -30,13 +30,13 @@ import matplotlib.pyplot as plt
|
|
|
30
30
|
import matplotlib.dates as md
|
|
31
31
|
from datetime import datetime, timedelta
|
|
32
32
|
from matplotlib.ticker import MultipleLocator, MaxNLocator
|
|
33
|
-
from matplotlib.backends.
|
|
33
|
+
from matplotlib.backends.backend_qtagg import FigureCanvasQTAgg
|
|
34
34
|
|
|
35
35
|
from .settings import Settings
|
|
36
36
|
from .basegraph import BaseGraph
|
|
37
37
|
from .logprint import print
|
|
38
38
|
|
|
39
|
-
mp.use('
|
|
39
|
+
mp.use('qtagg')
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
class Bargraph(BaseGraph):
|
|
@@ -47,12 +47,7 @@ class Bargraph(BaseGraph):
|
|
|
47
47
|
x = self._series.index
|
|
48
48
|
y = self._series.values
|
|
49
49
|
|
|
50
|
-
|
|
51
|
-
# backColor = colors['background'].name()
|
|
52
|
-
|
|
53
|
-
plt.figure(figsize=(inchWidth, inchHeight))
|
|
54
|
-
self._fig, ax = plt.subplots(1) #, facecolor=backColor)
|
|
55
|
-
# ax.set_facecolor(backColor)
|
|
50
|
+
self._fig, ax = plt.subplots(figsize=(inchWidth, inchHeight))
|
|
56
51
|
|
|
57
52
|
xdt = np.asarray(x, dtype='datetime64[s]')
|
|
58
53
|
|
|
@@ -79,10 +74,8 @@ class Bargraph(BaseGraph):
|
|
|
79
74
|
if res == '10m':
|
|
80
75
|
if subtractBackground:
|
|
81
76
|
title += "\nafter sporadic background subtraction"
|
|
82
|
-
# bars = ax.bar(xdt, y, width=1 / 144, color=colors['counts'].name(), edgecolor=backColor, align="edge")
|
|
83
77
|
bars = ax.bar(xdt, y, width=1 / 144, align="edge", edgecolor="white")
|
|
84
78
|
locator = MultipleLocator(6 / 144)
|
|
85
|
-
# locator = MaxNLocator(24)
|
|
86
79
|
locator.MAXTICKS = 10000
|
|
87
80
|
ax.xaxis.set_minor_locator(locator)
|
|
88
81
|
myFmt = md.DateFormatter('%Hh')
|
|
@@ -91,9 +84,7 @@ class Bargraph(BaseGraph):
|
|
|
91
84
|
elif res == 'hour':
|
|
92
85
|
if subtractBackground:
|
|
93
86
|
title += "\nafter sporadic background subtraction"
|
|
94
|
-
# bars = ax.bar(xdt, y, width=1 / 24, color=colors['counts'].name(), edgecolor="white", align="edge")
|
|
95
87
|
bars = ax.bar(xdt, y, width=1 / 24, edgecolor="white", align="edge")
|
|
96
|
-
# locator = MaxNLocator(24)
|
|
97
88
|
locator = MultipleLocator(6 / 24)
|
|
98
89
|
ax.xaxis.set_minor_locator(locator)
|
|
99
90
|
myFmt = md.DateFormatter('%Hh')
|
|
@@ -102,32 +93,22 @@ class Bargraph(BaseGraph):
|
|
|
102
93
|
elif res == 'day':
|
|
103
94
|
if subtractBackground:
|
|
104
95
|
title += "\nafter sporadic background subtraction"
|
|
105
|
-
# bars = ax.bar(xdt, y, color=colors['counts'].name(), edgecolor="white", align="edge")
|
|
106
96
|
bars = ax.bar(xdt, y, edgecolor="white", align="edge")
|
|
107
97
|
|
|
108
98
|
ax.set_xlabel('Covered days')
|
|
109
99
|
ax.set_ylabel(yLabel)
|
|
110
100
|
|
|
111
101
|
if showValues and bars is not None:
|
|
112
|
-
# Loop through the bars and add annotations
|
|
113
102
|
for bar in bars:
|
|
114
103
|
height = bar.get_height()
|
|
115
104
|
ax.annotate(f'{height}', xy=(bar.get_x() + bar.get_width() / 2, height), xytext=(0, 3),
|
|
116
105
|
textcoords="offset points", ha='center', va='bottom')
|
|
117
106
|
|
|
118
107
|
if showGrid:
|
|
119
|
-
'''
|
|
120
|
-
ax.grid(color=colors['majorGrids'].name(), linestyle=self._settings.readSettingAsString('majorLineStyle'),
|
|
121
|
-
linewidth=self._settings.readSettingAsString('majorLineWidth'), which='major')
|
|
122
|
-
ax.grid(color=colors['minorGrids'].name(), linestyle=self._settings.readSettingAsString('minorLineStyle'),
|
|
123
|
-
linewidth=self._settings.readSettingAsString('minorLineWidth'), which='minor')
|
|
124
|
-
'''
|
|
125
108
|
ax.grid(which='major')
|
|
126
109
|
ax.grid(which='minor')
|
|
127
110
|
|
|
128
|
-
# ax.set_title(title + '\n', loc='left')
|
|
129
111
|
self._fig.suptitle(title + '\n')
|
|
130
|
-
self._fig.
|
|
112
|
+
self._fig.tight_layout(pad=5.0)
|
|
131
113
|
self._canvas = FigureCanvasQTAgg(self._fig)
|
|
132
|
-
|
|
133
|
-
plt.close('all')
|
|
114
|
+
plt.close('all')
|