Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

S-parameter Viewer: Some improvements #1133

Open
wants to merge 5 commits into
base: current
Choose a base branch
from

Conversation

andresmmera
Copy link
Contributor

This PR adds the following improvements and fixes to the S-parameter viewer tool:

  • Note-taking feature: When comparing S-parameter traces, I've found it useful to add a notepad widget so I can add my observations. The comments are saved in the .spar file and so they can check them later. Notice that I didn't write this tool, I've just simply took the note-taking Qt example [1]

  • Recent files feature

  • Bug fix: When loading the .spar session file, the width of the traces was 1 regardless of the previous trace setting.

  • Data management improvement: Now the tool saves only S-par data into the .spar files. Before this, all possible traces were saved into the .spar file, even if the user did not display them. This caused a lot of overhead, especially for large s-par data files. Now the tool only saves the raw S-parameter data.

[1] https://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html

A simple code editor example provided by Qt [1] was included in the tool. It is very convenient to have a text pad to include comments on the traces displayed.

The notes are saved into the session file and they are restored when a session file is opened.

[1] https://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html
It was found useful to have a "Recent Files" list with the last 10 sessions, this allows the user to quickly load a session file he/she worked recently.
It was found that when a session file is loaded the width of the traces was 1 regardless the trace setting. 

The pen width was omitted... This commit fixes this problem.
Before this commit, all traces associated to a S-parameter file were saved in the session file even if the user was not displaying them. This causes a heavy overhead specially in large files.

Now, the session file only contains S-parameter data. If the user wants to display additional traces such as K, mu, |delta|, etc., they are computed on demand
@ra3xdh ra3xdh added this to the 25.1.0 milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants