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

Spar viewer: Fixes and New Features #991

Merged
merged 13 commits into from
Oct 11, 2024

Conversation

andresmmera
Copy link
Contributor

Hi there.

I've been using the tool and found some issues. While I was at it, I added some features:

Fixed issues

  • Fixed several warnings
  • I've noticed that before this PR the marker data was taken from the displayed traces and not from the dataset. This caused the marker data to be clipped when the trace was clipped by the chart limits.
  • Before this PR, the tool considers that everything after the first "." is the file extension. Now the tool can handle files with several "."

New Features

  • Lock button: A button has been added to freeze the axis settings. This is necessary because the tool automatically adjusts the axes when the user adds a new trace. This behavior is correct and makes the tool more dynamic, but it can be annoying when the user is focused on a specific band and wants to add and remove traces.

  • Limit line: Most network analyzers I have worked with have this feature. This is used to check if your measurement meets the gain mask, RL, etc.

  • Save / Open Session: This feature saves the current state of the tool to an XML file. This saves time as the user does not have to enter the limits and marker stuff every time he/she uses the tool.

Here is a screencast:

https://drive.google.com/file/d/1ZdGebMBIh8tHjbdxuHGOIi8Ydwcz4yNz/view?usp=sharing

1) The warning is related to a potential performance issue with Qt containers when used in C++11 range-based for loops

"c++11 range-loop might detach Qt container (QList) [clazy-range-loop-detach]"

2) tmp variable unused in exit() function
This was showing clipped data from the display
A toogle button was added to lock the axes. Sometimes it's annoying to have the axes changing the settings constantly when managing traces
This is settings allows the changes on the graph to be more dynamic
Fixed save() function


Load session feature


Load settings file with drag and drop


Load session feature
5 points per div. It's smooth enough
@tomhajjar
Copy link

Will smith chart and polar plotting be added?

@andresmmera
Copy link
Contributor Author

I would like the tool to be able to plot data on a Smith chart, at least.

I'll try to add that as soon as I can. First I need to find an open source library with a Smith Chart widget, Qt doesn't include that. Otherwise, I'll need to write it from scratch and that'll take more time.

@ra3xdh ra3xdh added this to the 24.4.0 milestone Oct 11, 2024
@ra3xdh ra3xdh added the RF label Oct 11, 2024
@ra3xdh ra3xdh merged commit e347b82 into ra3xdh:current Oct 11, 2024
7 checks passed
@ra3xdh
Copy link
Owner

ra3xdh commented Oct 11, 2024

Thanks! Merged.

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.

3 participants