Skip to content

Releases: riverstill/quicklook-plugin-snpviewer

v1.0.0

Choose a tag to compare

@riverstill riverstill released this 08 Sep 05:47

首个正式版。空格预览 Touchstone S 参数文件(.s1p–.snp、.ts)的频响曲线。

First stable release. Space-to-preview Touchstone S-parameter files (.s1p-.snp, .ts) as frequency-response charts.

内容 Contents

  • OxyPlot 参数曲线:Y 轴 dB / 幅值 / 实部 / 虚部 / 相位(°),X 轴线性 / 对数;图例按端口数排成矩阵,可点击显示/隐藏
    OxyPlot traces: Y dB / magnitude / real / imaginary / phase (°), X linear / log; port-count legend matrix, click to toggle
  • 跟随 Windows 深浅色 + 系统语言(中文/英文)
    Follows Windows light/dark mode + system language (zh/en)
  • Touchstone v1.1 / v2.x 解析:RI / MA / DB,跨行数据归并,[Noise] 块
    Touchstone v1.1 / v2.x parsing incl. wrapped rows and [Noise] blocks
  • 大文件保护:绘图抽稀、警告封顶
    Large-file guardrails: plot decimation, warning caps

安装 Install

下载下方 .qlplugin,选中按空格安装。
Download the .qlplugin below, select it and press Space to install.

Full Changelog: v0.2.0...v1.0.0

v0.2.0

Choose a tag to compare

@riverstill riverstill released this 07 Sep 15:13

What's changed since v0.1.0

UI

  • Removed the top filename box (name already in the QuickLook window title); file summary moved to the plot subtitle, parser warnings to a slim amber bar (only when non-empty, capped at 4)
  • Added a legend (OxyPlot 2.x needs an explicit legend entry)
  • Axis options (Y: dB/magnitude/real/imaginary/phase, X: linear/log) restyled as flat segmented tabs
  • Follows Windows app mode: light/dark theme adapts the plot, grid, tabs, legend and tracker tooltip
  • Readable hover tooltip (the stock pale-yellow box with inherited near-white text was white-on-yellow in dark mode)

Parser / robustness

  • Fixed wrapped multi-line data (4-port+ files spanning several physical lines) — value-only lines were being misread as new points / negative frequencies (regression-tested from a real s4p file)
  • Warning cap (100 in parser, 4 shown in UI) so pathological files can't bloat the UI
  • Plot decimation to <=4000 points/series so huge files don't freeze OxyPlot

Bug fixes

  • Fixed 'Failed to preview': WPF freezes SolidColorBrush once used by the render layer; theme switching now replaces the ResourceDictionary entry instead of mutating the frozen brush (Multi-commit hunt, root cause in the exception log)
  • Panel init hardened so theme/BAML failures can't kill the preview

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@riverstill riverstill released this 03 Sep 11:42

Initial release.

Press Space on Touchstone S-parameter files (.s1p-.snp, .ts) to preview frequency-response charts (OxyPlot) plus a data table.

Install: quit QuickLook, unzip the .qlplugin into %AppData%\pooi.moe\QuickLook\QuickLook.Plugin\QuickLook.Plugin.SnpViewer, restart QuickLook. (Spacebar-install via the .qlplugin file itself is also supported.)

Requires QuickLook 4.x (Installer build) on Windows.