mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 15:04:11 +00:00
basic working power sweep
This commit is contained in:
parent
7bc18881a5
commit
67489084e9
20 changed files with 598 additions and 303 deletions
|
|
@ -190,7 +190,7 @@ void TraceSmithChart::draw(QPainter &p) {
|
|||
for(int i=1;i<nPoints;i++) {
|
||||
auto last = trace->sample(i-1);
|
||||
auto now = trace->sample(i);
|
||||
if (limitToSpan && (last.x < sweep_fmin || now.x > sweep_fmax)) {
|
||||
if (limitToSpan && (trace->getDataType() == Trace::DataType::Frequency) && (last.x < sweep_fmin || now.x > sweep_fmax)) {
|
||||
continue;
|
||||
}
|
||||
if(isnan(now.y.real())) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue