forked from M-Labs/artiq
1
0
Fork 0

wavesynth: duration sign

This commit is contained in:
Robert Jördens 2016-02-21 23:27:57 +01:00
parent 1b410abc2c
commit d7f5904d16
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ class CoefficientSource:
coefficients.shape[0])[:, None, None] coefficients.shape[0])[:, None, None]
if cutoff: if cutoff:
coefficients[np.fabs(coefficients) < cutoff] = 0 coefficients[np.fabs(coefficients) < cutoff] = 0
return build_segment(durations, coefficients, target=target, return build_segment(np.fabs(durations), coefficients, target=target,
variable=variable) variable=variable)
def extend_segment(self, segment, *args, **kwargs): def extend_segment(self, segment, *args, **kwargs):