Skip to content

v2.0-beta

Pre-release
Pre-release

Choose a tag to compare

@ratchanonth60 ratchanonth60 released this 10 Feb 09:06
· 14 commits to version/2.0 since this release

New Features

  • Observation Mode — Full-featured observation data processing, analysis, and visualization with DSSD strip histograms (X1-X8, Y1-Y8) and BGO plots
  • Unified Main Window — Office-style ribbon UI with tabs (Home, Data, Analysis, Config, Observation), replacing the Navigation Rail with a single-window layout
  • Observation Detail View — Popup window with histogram plotting and curve fitting for individual channels
    Excel Export — Observation results exported to Excel via new ExcelHelper service
  • Channel Management — Core channel management with baseline processing and thresholding

Curve Fitting Improvements

  • Unified fitting — Observation view now uses the same MathService as Baseline, ensuring consistent Gaussian/Lorentzian results across both views

  • FWHM, Resolution, R² — Gaussian fit now computes FWHM (
    2.355
    σ
    2.355σ), energy resolution, and R-squared statistics

  • Fit method selection — ComboBox to switch between Gaussian and Lorentzian fitting, with live plot refresh on change

  • Improved initial guess — CalculateWeightedMoments uses half-maximum peak detection instead of a hardcoded ±200 bin window

Graph & UI Enhancements

  • Bar width fix — BarWidth set to actual bin width so histogram bars are visible (not just 1-pixel lines)
  • Bar border color — Border matches fill color instead of default black
  • Configurable graph background — Default changed from black to dark gray; user can customize via Settings
  • Customizable bar colors — DSSD (orange default) and BGO (cyan default) colors changeable in Settings

Project Structure

  • Restructured into Core / Infrastructure / Presentation layers
  • Views organized into Baseline / Observation / Shared folders
  • Status bar with progress indicator