Skip to content

Releases: vikulin/OGK-Inspector

OGK-Inspector v1.2.2

30 May 20:05

Choose a tag to compare

📦 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.

modifiers

result


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

21 May 08:31

Choose a tag to compare

📦 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

19 May 11:41

Choose a tag to compare

📦 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 onChoose and onChooseMultiple.
  • 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

17 May 17:36

Choose a tag to compare

🆕 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

04 May 12:27

Choose a tag to compare

🔥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

04 May 11:25
8fb4e4d

Choose a tag to compare

📦 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 derivedSpectra as a MutableMap<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
    )
    
  • NPESv3 - multiple input spectra support by @vikulin in #2


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

02 May 07:52

Choose a tag to compare

📦 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

01 May 18:40

Choose a tag to compare

📦 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

29 Apr 09:23

Choose a tag to compare

📦 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

28 Apr 18:51

Choose a tag to compare

📦 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's filters list.
  • Savitzky-Golay Filter Revamp:

    • Smoothing now modifies only outputSpectrum, keeping raw counts untouched.
    • "SavitzkyGolay" tag managed automatically in filters.
    • Dynamic filter dependency: log scale applies on top of smoothing if needed.
  • Unified Output Handling:

    • Introduced outputSpectrum: MutableList<Double>? in EnergySpectrum.
    • All visual transformations (log scale, smoothing) work only on outputSpectrum.
    • resetSpectrumData() restores outputSpectrum to raw unprocessed data.
  • 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 (filters list) strictly control the visual representation.
  • Added toggleSavitzkyGolayFilter() and toggleLogScaleFilter() for flexible UI interactions.
  • Added applyLogScale() and applySavitzkyGolayFilter() 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.