Commit 384b987
Benjamin Moody
adc (expanded=True): do not rely on n_sig.
When converting physical to digital sample arrays, all the information
we need is contained in self.e_p_signal, self.adc_gain, self.baseline,
and self.fmt.
We don't need to rely on self.n_sig here, and we don't use n_sig in
the expanded=False case, so for consistency, don't use n_sig in the
expanded=True case either.1 parent 235e142 commit 384b987
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
561 | 561 | | |
562 | 562 | | |
563 | 563 | | |
564 | | - | |
| 564 | + | |
565 | 565 | | |
566 | | - | |
| 566 | + | |
567 | 567 | | |
568 | 568 | | |
569 | 569 | | |
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | 586 | | |
587 | 587 | | |
| |||
0 commit comments