Commit 317c427
Benjamin Moody
plot_annotation: accept non-smooth signal data as input.
When plotting signals, in addition to allowing the signal argument to
be a one-dimensional or two-dimensional array, allow it to be a list
of one-dimensional arrays (so that each channel can have a different
length.)
If signal is a 1D or 2D array, convert it to a list of arrays using
_expand_channels. This allows the later logic to be simplified.1 parent da3bce5 commit 317c427
1 file changed
+10
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
443 | | - | |
| 442 | + | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
444 | 448 | | |
445 | 449 | | |
446 | 450 | | |
| |||
469 | 473 | | |
470 | 474 | | |
471 | 475 | | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
472 | 479 | | |
473 | 480 | | |
474 | 481 | | |
| |||
508 | 515 | | |
509 | 516 | | |
510 | 517 | | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
| 518 | + | |
515 | 519 | | |
516 | 520 | | |
517 | 521 | | |
| |||
0 commit comments