calibration-statistics-tool 1.0.0__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.
Files changed (41) hide show
  1. calibration_statistics_tool-1.0.0/LICENSE +21 -0
  2. calibration_statistics_tool-1.0.0/PKG-INFO +129 -0
  3. calibration_statistics_tool-1.0.0/README.md +91 -0
  4. calibration_statistics_tool-1.0.0/antenna_patterns/__init__.py +1 -0
  5. calibration_statistics_tool-1.0.0/antenna_patterns/antpat_v5_data_processing.py +1340 -0
  6. calibration_statistics_tool-1.0.0/antenna_patterns/antpat_v5_main_v3.py +537 -0
  7. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/PKG-INFO +129 -0
  8. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/SOURCES.txt +39 -0
  9. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/dependency_links.txt +1 -0
  10. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/entry_points.txt +2 -0
  11. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/requires.txt +17 -0
  12. calibration_statistics_tool-1.0.0/calibration_statistics_tool.egg-info/top_level.txt +6 -0
  13. calibration_statistics_tool-1.0.0/main.py +2701 -0
  14. calibration_statistics_tool-1.0.0/pyproject.toml +71 -0
  15. calibration_statistics_tool-1.0.0/setup.cfg +4 -0
  16. calibration_statistics_tool-1.0.0/shared/__init__.py +1 -0
  17. calibration_statistics_tool-1.0.0/shared/auxiliary.py +117 -0
  18. calibration_statistics_tool-1.0.0/shared/data_processing.py +749 -0
  19. calibration_statistics_tool-1.0.0/shared/load_protocols.py +265 -0
  20. calibration_statistics_tool-1.0.0/shared/loaddata.py +183 -0
  21. calibration_statistics_tool-1.0.0/shared/logconfig.py +149 -0
  22. calibration_statistics_tool-1.0.0/shared/parsePTU2data.py +593 -0
  23. calibration_statistics_tool-1.0.0/shared/parseProtocols.py +1757 -0
  24. calibration_statistics_tool-1.0.0/shared/parseTxAntDiagramData.py +477 -0
  25. calibration_statistics_tool-1.0.0/shared/plotdata.py +1602 -0
  26. calibration_statistics_tool-1.0.0/shared/powerpoint.py +563 -0
  27. calibration_statistics_tool-1.0.0/shared/protocolsTest.py +285 -0
  28. calibration_statistics_tool-1.0.0/shared/safeparse.py +79 -0
  29. calibration_statistics_tool-1.0.0/system_diagrams/AntennaSystemDiagrams.py +1605 -0
  30. calibration_statistics_tool-1.0.0/system_diagrams/__init__.py +1 -0
  31. calibration_statistics_tool-1.0.0/system_diagrams/calcdiagram_functions.py +322 -0
  32. calibration_statistics_tool-1.0.0/tests/test_add_and_parse_ptu2_separately.py +383 -0
  33. calibration_statistics_tool-1.0.0/tx_diagrams/TxAntDiagrams.py +807 -0
  34. calibration_statistics_tool-1.0.0/tx_diagrams/__init__.py +1 -0
  35. calibration_statistics_tool-1.0.0/tx_diagrams/load_TxAntData.py +196 -0
  36. calibration_statistics_tool-1.0.0/tx_diagrams/parseTxAntDiagramData.py +477 -0
  37. calibration_statistics_tool-1.0.0/tx_diagrams/txantdiag_calc.py +74 -0
  38. calibration_statistics_tool-1.0.0/tx_diagrams/txantdiag_data_processing.py +336 -0
  39. calibration_statistics_tool-1.0.0/tx_diagrams/txantdiag_plotdata.py +427 -0
  40. calibration_statistics_tool-1.0.0/ui/__init__.py +1 -0
  41. calibration_statistics_tool-1.0.0/ui/pyside_qtgui.py +4184 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Your Name
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,129 @@
1
+ Metadata-Version: 2.4
2
+ Name: calibration-statistics-tool
3
+ Version: 1.0.0
4
+ Summary: Statistics and antenna pattern analysis tool for radar systems
5
+ License: MIT
6
+ Keywords: radar,antenna,statistics,analysis
7
+ Classifier: Development Status :: 4 - Beta
8
+ Classifier: Intended Audience :: Developers
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.8
13
+ Classifier: Programming Language :: Python :: 3.9
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Scientific/Engineering
19
+ Requires-Python: >=3.8
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: PySide6>=6.0.0
23
+ Requires-Dist: matplotlib>=3.5.0
24
+ Requires-Dist: numpy>=1.21.0
25
+ Requires-Dist: PyYAML>=6.0
26
+ Requires-Dist: python-pptx>=0.6.21
27
+ Requires-Dist: mplcursors>=0.5.0
28
+ Requires-Dist: natsort>=8.0.0
29
+ Requires-Dist: schedule>=1.0.0
30
+ Requires-Dist: python-docx>=1.0.0
31
+ Provides-Extra: dev
32
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
33
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
34
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
35
+ Provides-Extra: docs
36
+ Requires-Dist: sphinx>=5.0.0; extra == "docs"
37
+ Dynamic: license-file
38
+
39
+ # StatisticToolPython
40
+
41
+ A comprehensive statistics and antenna pattern analysis tool for radar systems, built with Python and PySide6.
42
+
43
+ ## Features
44
+
45
+ - **Statistics Analysis**: Process and analyze measurement data with statistical limits
46
+ - **Antenna Pattern Processing**: Handle antenna diagrams and patterns for various radar types
47
+ - **GUI Interface**: User-friendly Qt-based interface for data visualization
48
+ - **Report Generation**: Automated PowerPoint and PDF report creation
49
+ - **Data Processing**: Support for multiple data formats (JSON, YAML, protocol files)
50
+
51
+ ## Requirements
52
+
53
+ - Python 3.8+
54
+ - PySide6 for GUI
55
+ - matplotlib for plotting
56
+ - numpy for numerical operations
57
+ - PyYAML for configuration
58
+ - python-pptx for PowerPoint generation
59
+
60
+ ## Installation
61
+
62
+ 1. Clone the repository:
63
+ ```bash
64
+ git clone <repository-url>
65
+ cd statistictoolpython
66
+ ```
67
+
68
+ 2. Create virtual environment:
69
+ ```bash
70
+ python -m venv .venv
71
+ .venv\Scripts\activate # Windows
72
+ # or
73
+ source .venv/bin/activate # Linux/Mac
74
+ ```
75
+
76
+ 3. Install dependencies:
77
+ ```bash
78
+ pip install -e .
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ Run the main application:
84
+ ```bash
85
+ python main.py
86
+ ```
87
+
88
+ Or use the command-line entry point:
89
+ ```bash
90
+ statistictool
91
+ ```
92
+
93
+ ## Project Structure
94
+
95
+ - `main.py` - Main GUI application
96
+ - `pyside_qtgui.py` - Qt GUI components
97
+ - `statistic.py` - Statistics processing
98
+ - `antpat_v5_main_v3.py` - Antenna pattern analysis
99
+ - `TxAntDiagrams.py` - Transmit antenna diagrams
100
+ - Various data processing modules
101
+
102
+ ## Development
103
+
104
+ Install development dependencies:
105
+ ```bash
106
+ pip install -e ".[dev]"
107
+ ```
108
+
109
+ Run tests:
110
+ ```bash
111
+ pytest
112
+ ```
113
+
114
+ Lint code:
115
+ ```bash
116
+ ruff check .
117
+ ```
118
+
119
+ ## License
120
+
121
+ MIT License - see LICENSE file for details.
122
+
123
+ ## Contributing
124
+
125
+ 1. Fork the repository
126
+ 2. Create a feature branch
127
+ 3. Make your changes
128
+ 4. Add tests if applicable
129
+ 5. Submit a pull request
@@ -0,0 +1,91 @@
1
+ # StatisticToolPython
2
+
3
+ A comprehensive statistics and antenna pattern analysis tool for radar systems, built with Python and PySide6.
4
+
5
+ ## Features
6
+
7
+ - **Statistics Analysis**: Process and analyze measurement data with statistical limits
8
+ - **Antenna Pattern Processing**: Handle antenna diagrams and patterns for various radar types
9
+ - **GUI Interface**: User-friendly Qt-based interface for data visualization
10
+ - **Report Generation**: Automated PowerPoint and PDF report creation
11
+ - **Data Processing**: Support for multiple data formats (JSON, YAML, protocol files)
12
+
13
+ ## Requirements
14
+
15
+ - Python 3.8+
16
+ - PySide6 for GUI
17
+ - matplotlib for plotting
18
+ - numpy for numerical operations
19
+ - PyYAML for configuration
20
+ - python-pptx for PowerPoint generation
21
+
22
+ ## Installation
23
+
24
+ 1. Clone the repository:
25
+ ```bash
26
+ git clone <repository-url>
27
+ cd statistictoolpython
28
+ ```
29
+
30
+ 2. Create virtual environment:
31
+ ```bash
32
+ python -m venv .venv
33
+ .venv\Scripts\activate # Windows
34
+ # or
35
+ source .venv/bin/activate # Linux/Mac
36
+ ```
37
+
38
+ 3. Install dependencies:
39
+ ```bash
40
+ pip install -e .
41
+ ```
42
+
43
+ ## Usage
44
+
45
+ Run the main application:
46
+ ```bash
47
+ python main.py
48
+ ```
49
+
50
+ Or use the command-line entry point:
51
+ ```bash
52
+ statistictool
53
+ ```
54
+
55
+ ## Project Structure
56
+
57
+ - `main.py` - Main GUI application
58
+ - `pyside_qtgui.py` - Qt GUI components
59
+ - `statistic.py` - Statistics processing
60
+ - `antpat_v5_main_v3.py` - Antenna pattern analysis
61
+ - `TxAntDiagrams.py` - Transmit antenna diagrams
62
+ - Various data processing modules
63
+
64
+ ## Development
65
+
66
+ Install development dependencies:
67
+ ```bash
68
+ pip install -e ".[dev]"
69
+ ```
70
+
71
+ Run tests:
72
+ ```bash
73
+ pytest
74
+ ```
75
+
76
+ Lint code:
77
+ ```bash
78
+ ruff check .
79
+ ```
80
+
81
+ ## License
82
+
83
+ MIT License - see LICENSE file for details.
84
+
85
+ ## Contributing
86
+
87
+ 1. Fork the repository
88
+ 2. Create a feature branch
89
+ 3. Make your changes
90
+ 4. Add tests if applicable
91
+ 5. Submit a pull request
@@ -0,0 +1 @@
1
+ # Antenna patterns module