Skip to content

Version 4.4.0#419

Merged
salman2135 merged 29 commits intomasterfrom
develop
Feb 19, 2026
Merged

Version 4.4.0#419
salman2135 merged 29 commits intomasterfrom
develop

Conversation

@salman2135
Copy link
Member

No description provided.

SonjaSt and others added 29 commits September 25, 2025 10:55
Changed disconnect wait to be dependent on bleak client
Updated ImpedanceMeasurement to set n_chan from self._calib_param['n_chan'] if calibration parameters are present, ensuring channel count matches calibration data.
Eliminated the calculation of the 'scale' variable and the assignment to 'self.timestamp' in the Trigger class, as they were no longer used.
Remove unused scale calculation in Trigger class
Introduces CalibrationInfoPro32 and related packet ID for handling 32-channel impedance calibration. Updates impedance calculation logic and filter setup in ImpedanceMeasurement to support multi-ADC (32-channel) data. Refactors stream processor to use CalibrationInfoBase for calibration info handling.
Fixes incorrect board ID for 8 ch BLE, changes settings logic to check against FW version
Impedance data rounding precision increased from 0 to 2 decimals in EEG class. Removed unnecessary print statements from calibration info classes to clean up debug output.
Added a specific exception handler for AttributeError in the streaming loop to gracefully handle cases where the stream interface is already disconnected.
Eliminated an unnecessary print statement for 'slope' in CalibrationInfoPro32 to clean up console output.
Updated the condition to check if 'slope' is a list or calibration is not set, ensuring correct setup for 32 channel impedance measurement.
Simplified assignment of the 'calibration' flag in StreamProcessor and updated the condition for impedance calculation in ImpedanceMeasurement to use isinstance for slope. This improves code clarity and robustness.
Refactored SettingsManager to determine channel count based on firmware version or board ID, consolidating logic and improving fallback handling. Updated CalibrationInfoBase to store slope and offset as lists for consistency. Adjusted ImpedanceMeasurement to set adc_count before calibration check and simplified related logic.
Updated the PACKET_ID enum and PACKET_CLASS_DICT to use CALIBINFO__PRO instead of CALIBINFO__PRO_32 for consistency and clarity.
Refactored CalibrationInfo classes to use class attributes for channels and offset multipliers, and unified the _convert method for calibration data parsing. Simplified and optimized the filter setup in ImpedanceMeasurement by introducing a helper function and removing redundant code.
Impedance calibration update for pro devices
…ct-of-BLE-devices-in-Explore-desktop

Handle AttributeError when stream interface is None
…shes-for-old-calibration-packet-in-explore-py-develop-branch

handle calibration parser with fallback
@salman2135 salman2135 changed the title Vr Version 4.4.0 Feb 13, 2026
@salman2135 salman2135 requested a review from SonjaSt February 13, 2026 14:01
@salman2135 salman2135 merged commit 7a7413b into master Feb 19, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants