mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-04 22:17:31 +00:00
Additional YAxisType: Unwrapped phase
This commit is contained in:
parent
4ba02a810f
commit
4d959598b5
7 changed files with 48 additions and 6 deletions
|
|
@ -66,7 +66,7 @@ namespace Util {
|
|||
return brightness > 0.6 ? Qt::black : Qt::white;
|
||||
}
|
||||
|
||||
void unwrapPhase(std::vector<double> &phase);
|
||||
void unwrapPhase(std::vector<double> &phase, unsigned int start_index = 0);
|
||||
|
||||
// input values are Y coordinates, assumes evenly spaced linear X values from 0 to input.size() - 1
|
||||
void linearRegression(const std::vector<double> &input, double &B_0, double &B_1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue