Commit fea0dc0
Added PSD curves export and import to compare several spectrums at the chart (betaflight#845)
* Added graph_imported_curves module for import curves
* Spectrum export/import code refactoring
* Added export/import PSD curves data
* Added drawing of imported PSD curves
* Resolved code issues
* Resolved code issues
* Code style improvement
* Resolved issue wrong frequency definition in exported file
* Code improvement
* The legend is moved to right-up corner
* The exported spectrums .csv file name is log name with _sp, _psd postfix
* Resolved issue of imported curves frequency scaling
* Code refactoring: PLOTTED_BLACKBOX_RATE is replace to MAXIMAL_PLOTTED_FREQUENCY in graph_spectrum_plot.js
* Analyser legend position is added in user settings
* Added check of valid userSetting in _drawLegend method
* Added warning for specrum type what have not spectrum import
* Added newline on EOF in src/graph_imported_curves.js
Co-authored-by: Mark Haslinghuis <[email protected]>
* Changed mouse cursor info for single and multiple PSD curves
* Code style improvement
Co-authored-by: Mark Haslinghuis <[email protected]>
* The mouse position cursor improvement for PSD curves
* Code style improvement
* Code style improvement
Co-authored-by: Mark Haslinghuis <[email protected]>
* Code style improvement
Co-authored-by: Mark Haslinghuis <[email protected]>
* Resolved const issue
---------
Co-authored-by: Mark Haslinghuis <[email protected]>1 parent c56fc8e commit fea0dc0
File tree
8 files changed
+337
-188
lines changed- public/js/webworkers
- src
8 files changed
+337
-188
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2989 | 2989 | | |
2990 | 2990 | | |
2991 | 2991 | | |
| 2992 | + | |
| 2993 | + | |
| 2994 | + | |
| 2995 | + | |
| 2996 | + | |
| 2997 | + | |
| 2998 | + | |
| 2999 | + | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
2992 | 3015 | | |
2993 | 3016 | | |
2994 | 3017 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
354 | | - | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
355 | 357 | | |
356 | 358 | | |
357 | 359 | | |
| |||
416 | 418 | | |
417 | 419 | | |
418 | 420 | | |
419 | | - | |
420 | | - | |
| 421 | + | |
| 422 | + | |
421 | 423 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
451 | 427 | | |
452 | | - | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
453 | 437 | | |
| 438 | + | |
454 | 439 | | |
455 | 440 | | |
456 | 441 | | |
457 | 442 | | |
458 | 443 | | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 444 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
0 commit comments