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.