{{ message }}
Commit adecc56
authored
Allow setting frequency units for psd plots (#32211)
In psd, allow user to specify the units for the sampling frequency of the analyzed array. psd previously assumed units to be Hz and displayed this on the y-axis label. Users can now specify other units. This change has no effect on the psd calculation.
Update psd documentation, example, type hinting, release notes1 parent af04c71 commit adecc56
6 files changed
Lines changed: 54 additions & 10 deletions
File tree
- doc/release/next_whats_new
- galleries/examples/statistics
- lib/matplotlib
- axes
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8113 | 8113 | | |
8114 | 8114 | | |
8115 | 8115 | | |
8116 | | - | |
| 8116 | + | |
| 8117 | + | |
8117 | 8118 | | |
8118 | 8119 | | |
8119 | 8120 | | |
| |||
8147 | 8148 | | |
8148 | 8149 | | |
8149 | 8150 | | |
| 8151 | + | |
| 8152 | + | |
| 8153 | + | |
| 8154 | + | |
| 8155 | + | |
| 8156 | + | |
8150 | 8157 | | |
8151 | 8158 | | |
8152 | 8159 | | |
| |||
8194 | 8201 | | |
8195 | 8202 | | |
8196 | 8203 | | |
| 8204 | + | |
| 8205 | + | |
8197 | 8206 | | |
8198 | 8207 | | |
8199 | 8208 | | |
8200 | 8209 | | |
8201 | 8210 | | |
8202 | 8211 | | |
8203 | 8212 | | |
8204 | | - | |
| 8213 | + | |
8205 | 8214 | | |
8206 | 8215 | | |
8207 | 8216 | | |
8208 | 8217 | | |
8209 | | - | |
| 8218 | + | |
8210 | 8219 | | |
8211 | 8220 | | |
8212 | 8221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
653 | 653 | | |
654 | 654 | | |
655 | 655 | | |
| 656 | + | |
656 | 657 | | |
657 | 658 | | |
658 | 659 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | | - | |
367 | | - | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
| |||
470 | 470 | | |
471 | 471 | | |
472 | 472 | | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| |||

0 commit comments