Commit dc98aba
committed
SF: bugfix for avg operation with group mode
The avg operation in group mode does a wavenote and meta data transfer.
This transfer works only if the number of datasets in the output waves
are equal to the number of datasets of the input waves.
(If there would be less input than output waves, there would be no data
for some output waves)
The group mode did transfer always from the first group.
If the first group contained less datasets than the group with the greatest
number of datasets then the transfer failed.
As the result of the group averaging always has the same number of datasets
as the greatest group the wave note and meta data transfer is now done from
the greatest input group.
Since:
272c26b (SF: operation avg add mode to average over groups of data, 2025-11-12)1 parent 6f8f5e7 commit dc98aba
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | 520 | | |
522 | 521 | | |
523 | 522 | | |
| |||
527 | 526 | | |
528 | 527 | | |
529 | 528 | | |
530 | | - | |
| 529 | + | |
531 | 530 | | |
532 | 531 | | |
533 | 532 | | |
534 | 533 | | |
535 | 534 | | |
536 | 535 | | |
537 | 536 | | |
538 | | - | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
539 | 540 | | |
540 | 541 | | |
541 | 542 | | |
| |||
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| 557 | + | |
556 | 558 | | |
557 | 559 | | |
558 | 560 | | |
| |||
0 commit comments