Releases: vikulin/OGK-Inspector
OGK-Inspector v1.2.2
📦 OGK-Inspector v1.2.2
🚀 New Features
Sequential Modifier Pipeline
Spectrum modifiers (e.g., smoothing, log scale) can now be applied in sequence, enabling layered transformations for advanced analysis workflows.
Dynamic Chart Type Switching
Charts can now dynamically switch between line and bar display modes using a toggle control. This allows users to view spectral data in their preferred format without reloading or regenerating the data.
Full Changelog: 1.2.1...1.2.2
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.2.1
📦 OGK-Inspector v1.2.1
🆕 Features & Improvements
-
Calibration Line Support for Loaded Spectra
- Calibration data is now applied when loading a spectrum from file.
🐛 Fixes
-
Label overlapping prevention fix
- Calibration labels positions are now reset before reapplying to avoid visual overlap on the chart.
Full Changelog: 1.2.0...1.2.1
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.2.0
📦 OGK-Inspector v1.2.0
This release includes new features, important fixes, and improvements for spectrum data handling and validation in the app.
🚀 New Features
- Added support for saving a subset of spectra with custom names from selected indexes.
- Integrated character constraint for spectrum name input: only
a-z,A-Z,0-9, and-allowed. - Simplified dialog launching for spectrum recording with clean conditional logic.
- Included derived spectrum auto-naming based on user input.
🛠 Improvements
- Replaced manual spectrum indexing with
withIndex()for cleaner iteration. - Streamlined Kotlin logic in
onChooseandonChooseMultiple. - Enforced non-empty input fields with real-time validation support via
TextInputLayout. - Improved validation for parallel spectrum recording to prevent duplicate sessions.
🐛 Fixes
- Fixed incorrect mapping of derived spectrum entries when importing from files.
- Resolved potential null assignment issues with
derivedSpectra.
📚 Notes
- Input validation for spectrum names is now restricted to valid characters only.
- UI forms now provide better feedback for required fields and invalid input.
Full Changelog: 1.1.9...1.2.0
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.9
🆕 OGK-Inspector v1.1.9
✨ Improvements
- Added spectrum file dialog to choose a path to save data
Full Changelog: 1.1.8.1...1.1.9
OGK-Inspector v1.1.8.1 hotfix
🔥OGK-Inspector v1.1.8.1 hotfix
✨ Hotfix changes
- Multiple modified spectra hotfix
Full Changelog: 1.1.8...1.1.8.1
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.8
📦 OGK-Inspector v1.1.8 Release Notes
✨ New Features
🚀 Multiple input spectra support for spectrum modifiers
-
Added support for derived spectra generated from one or more input spectra via a flexible modifier chain.
-
Introduced
derivedSpectraas aMutableMap<Int, DerivedSpectrumEntry>, allowing storage and management of multiple post-processed spectra with clear reference to their source data. -
New data structures:
data class DerivedSpectrumEntry( val name: String, val resultSpectrum: List<Double>, val modifiers: MutableList<ModifierInfo> = mutableListOf() ) data class ModifierInfo( val modifierName: String, // e.g., "Subtraction", "Smoothing" val inputIndexes: List<Int> // Indexes into the raw spectrum list )
Full Changelog: 1.1.7...1.1.8
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.7
📦 OGK-Inspector v1.1.7 Release Notes
🚀 New Features
- ✅ Success sound notification now plays when spectrum recording finishes, providing clear audible feedback to the user.
- 🔒 Screen lock prevention added during:
- 📈 Spectrum recording – ensures the device screen stays awake throughout the recording session.
- 🧮 Counter mode – keeps the screen on while live count data is displayed, improving usability during measurements.
Full Changelog: 1.1.6...1.1.7
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.6
📦 OGK-Inspector v1.1.6 Release Notes
✨ Enhancements
- Spectrum Screenshot Enhancements
- Screenshots now correctly capture the spectrum chart with a black background.
- Improved visual consistency for saved images, especially when sharing or analyzing captured spectra.
🧼 Code Improvements
- Refactored
onSave()logic to ensure lifecycle-safe state updates. - Cleaned up screenshot generation logic to include a proper background fill and layering of views.
Full Changelog: 1.1.5...1.1.6
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.5
📦 OGK-Inspector v1.1.5 Release Notes
🛠️ Bug Fix: Filter Persistence and Sequential Application
- Fixed: Filters are no longer reset when the screen rotates. Previously, applied spectrum filters were cleared on configuration changes.
- Improved: Filters are now applied sequentially to the spectrum data, preserving the intended transformation order (e.g., log scale → smoothing).
This improves usability and ensures consistent spectrum display across screen rotations and state restores.
Full Changelog: 1.1.4...1.1.5
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.
OGK-Inspector v1.1.4
📦 OGK-Inspector v1.1.4 Release Notes
✨ Major Features:
-
Internal Log Scale Transformation:
- Added dynamic log10 view support across all spectrum entries.
- Values ≤1 are clamped to 1 before applying log10 to avoid
-inf. "LogScale"tag managed automatically in spectrum'sfilterslist.
-
Savitzky-Golay Filter Revamp:
- Smoothing now modifies only
outputSpectrum, keeping raw counts untouched. "SavitzkyGolay"tag managed automatically infilters.- Dynamic filter dependency: log scale applies on top of smoothing if needed.
- Smoothing now modifies only
-
Unified Output Handling:
- Introduced
outputSpectrum: MutableList<Double>?inEnergySpectrum. - All visual transformations (log scale, smoothing) work only on
outputSpectrum. resetSpectrumData()restoresoutputSpectrumto raw unprocessed data.
- Introduced
-
Flexible Filter System:
- Filters stackable, and dependencies handled correctly.
- Clearing filters fully resets the view to original spectrum.
- Filters are reapplied in correct order when toggling specific filters back on.
🛠 Internal Refactorings:
- Fully eliminated use of
rawSpectrum. - Filters (
filterslist) strictly control the visual representation. - Added
toggleSavitzkyGolayFilter()andtoggleLogScaleFilter()for flexible UI interactions. - Added
applyLogScale()andapplySavitzkyGolayFilter()for selective operations.
🔥 Highlights:
- Raw acquisition remains pristine no matter how many transformations are applied.
- Easy to add future visual transformations (baseline correction, denoising, etc).
- Clean separation of concerns:
spectrum(raw),outputSpectrum(filtered/scaled view).
Full Changelog: 1.1.3...1.1.4
🔧 Thanks for supporting OGK-Inspector! If you find any issues or have suggestions, feel free to open an issue.

