Advanced Laboratory Software for Quantum Measurement Devices
QuantumMeter Pro is a comprehensive laboratory software solution designed to interface with and control quantum measurement devices. It enables national laboratories and universities to standardize their electrical measurements without multiplying devices.
- π Features
- π¬ Technical Specifications
- π Audit Report
- π οΈ Installation
- π― Usage
- π Project Structure
- π§ Configuration
- π€ Contributing
- π License
- π Support
- Current Measurement: Nanoampere precision (1 nA base)
- Voltage Measurement: Microvolt precision (ΞΌV)
- Resistance Calculation: Automatic calculation in megohms (MΞ©)
- Temperature Monitoring: Controlled environment tracking
- Quantum Precision: 0.01 ppm accuracy
- 4 Real-time Charts: Current, Voltage, Resistance, Temperature
- Interactive Dashboard: Web-based interface with Chart.js
- Desktop Application: PyQt6-based GUI with Matplotlib
- Responsive Design: Works on desktop, tablet, and mobile
- Statistical Analysis: Mean, standard deviation, min/max values
- Anomaly Detection: 3-sigma rule for outlier identification
- Quality Assessment: Overall measurement quality score
- Error Correction: Automatic experimental error detection
- Export Formats: CSV, Excel, SQL
- Import Capabilities: Load existing measurement data
- Sample Data: Pre-loaded demonstration datasets
- Data Retention: Configurable storage policies
- Real-time Updates: Live data streaming
- Device Control: Connect/disconnect devices
- Measurement Control: Start/stop measurements
- API Endpoints: RESTful API for integration
- Current: 1 nA base with 0.01% precision
- Voltage: 1 V base with 1 ΞΌV precision
- Resistance: Calculated from V/I ratio
- Temperature: 23Β°C Β± 0.1Β°C controlled
- Quantum Resistance Bridges: High-precision resistance measurement
- Nanoampere Meters: Ultra-low current measurement
- Voltage Standards: Calibrated voltage sources
- Temperature Controllers: Environmental monitoring
- CSV: Comma-separated values with timestamps
- Excel: Multi-sheet format with charts
- SQL: Database export for analysis
- JSON: API data exchange format
A comprehensive security and code quality audit has been performed on QuantumMeter Pro. The audit reveals both strengths and areas for improvement.
- Code Quality: 177 linting issues identified
- Security: 13 dependency vulnerabilities detected
- Type Safety: 45 type annotation errors
- Formatting: 3 files require reformatting
- Application Code: β No high-severity security issues
- Dependencies:
β οΈ 13 vulnerabilities in third-party packages - Critical Issues: 5 high-severity vulnerabilities requiring immediate attention
-
Update Vulnerable Dependencies:
pip install --upgrade werkzeug>=3.0.6 pip install --upgrade jinja2>=3.1.5 pip install --upgrade flask>=3.1.1
-
Fix Code Style Issues:
black . isort .
-
Add Type Annotations:
- Add return type annotations to all functions
- Add type hints for variables
- Fix mypy configuration
- Remove Unused Imports
- Fix Line Length Issues
- Add Comprehensive Tests
- Implement Security Headers
- Code Documentation
- Performance Optimization
- Error Handling Enhancement
For a complete analysis including:
- Detailed vulnerability breakdown
- Code quality metrics
- Remediation timeline
- Security recommendations
- Python 3.8 or higher
- pip package manager
-
Clone the repository
git clone https://github.com/michaelgermini/quantum-meter-pro.git cd quantum-meter-pro -
Install dependencies
pip install -r requirements.txt
-
Run the desktop application
python main.py
-
Install dependencies
pip install -r requirements.txt
-
Run the web dashboard
python src/web/app.py
-
Access the web interface
- Open
http://localhost:8080in your web browser
- Open
-
Install Streamlit dependencies
pip install -r requirements-streamlit.txt
-
Run Streamlit application
streamlit run streamlit_app.py
-
Access Streamlit interface
- Open
http://localhost:8501in your web browser
- Open
For development, install additional dependencies:
pip install -r requirements-dev.txt-
Launch the application
python main.py
-
Start measurements
- Click "Start Measurement" to begin data collection
- Real-time charts will update automatically
- View AI analysis in the dedicated tab
-
Export data
- Click "Export Data" to save measurements
- Choose format: CSV, Excel, or SQL
- Data includes timestamps and all measurement values
-
Access the dashboard
- Open
http://localhost:8080 - View real-time measurement charts
- Monitor device status
- Open
-
Control devices
- Connect/disconnect measurement devices
- Start/stop measurements remotely
- Configure sampling rates
-
Data management
- Load sample data for demonstration
- Import CSV files with existing measurements
- Export current dataset
-
AI Analysis
- View statistical analysis of measurements
- Check for anomalies and quality scores
- Monitor measurement stability
Live web dashboard at http://localhost:8080 showing real-time data visualization, control panels, and measurement charts
QuantumMeter Pro/
βββ main.py # Desktop application entry point
βββ requirements.txt # Python dependencies
βββ requirements-dev.txt # Development dependencies
βββ README.md # This file
βββ LICENSE # MIT License
βββ CHANGELOG.md # Version history
βββ CONTRIBUTING.md # Contribution guidelines
βββ .gitignore # Git ignore rules
βββ setup.py # Package setup
βββ pyproject.toml # Modern Python project config
βββ config/
β βββ devices.yaml # Device configuration
βββ data/
β βββ sample_quantum_data.csv # Sample measurement data
βββ src/
β βββ web/
β βββ app.py # Flask web application
β βββ templates/
β βββ dashboard.html # Web dashboard template
βββ .github/
β βββ workflows/
β β βββ ci.yml # CI/CD pipeline
β βββ ISSUE_TEMPLATE/
β β βββ bug_report.md # Bug report template
β β βββ feature_request.md # Feature request template
β βββ PULL_REQUEST_TEMPLATE.md # PR template
βββ docs/ # Documentation (future)
The application supports multiple quantum measurement devices:
devices:
quantum_device_001:
name: "Primary Quantum Meter"
type: "quantum_resistance_bridge"
connection:
type: "serial"
port: "COM3"
baudrate: 115200
measurement_ranges:
current: [1e-12, 1e-9, 1e-6, 1e-3]
voltage: [1e-3, 1e-0, 1e3]
sampling_rates: [1, 10, 100, 1000]- Data Retention: Configure how long to keep measurement data
- Auto Backup: Automatic data backup settings
- Export Formats: Supported export file types
- AI Analysis: Enable/disable AI features
We welcome contributions to QuantumMeter Pro! Please follow these steps:
- Fork the repository
- Create a feature branch
git checkout -b feature/your-feature-name
- Make your changes
- Add tests (if applicable)
- Commit your changes
git commit -m "Add: your feature description" - Push to your branch
git push origin feature/your-feature-name
- Create a Pull Request
- Follow PEP 8 style guidelines
- Add type hints to all functions
- Write comprehensive docstrings
- Include tests for new functionality
- Update documentation as needed
For detailed contribution guidelines, see CONTRIBUTING.md.
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: GitHub Issues
- Documentation: Wiki
- Email: michael@germini.info
- GitHub: michaelgermini
- Author: Michael Germini
- Initial release
- Desktop application with PyQt6
- Web dashboard with Flask
- Real-time data visualization
- AI analysis module
- Data import/export capabilities
For detailed version history, see CHANGELOG.md.
Made with β€οΈ for the scientific community
QuantumMeter Pro - Advancing Quantum Measurement Technology

