Skip to content

Commit

Permalink
Merge pull request #4 from cclauss/patch-1
Browse files Browse the repository at this point in the history
numpy.ones --> np.ones to match with the imports
  • Loading branch information
astorfi authored Sep 15, 2017
2 parents a295340 + e44ae2f commit b31cce9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion speechpy/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def round_half_up(number):
return int(decimal.Decimal(number).quantize(decimal.Decimal('1'), rounding=decimal.ROUND_HALF_UP))


def stack_frames(sig, sampling_frequency, frame_length=0.020, frame_stride=0.020, Filter=lambda x: numpy.ones((x,)),
def stack_frames(sig, sampling_frequency, frame_length=0.020, frame_stride=0.020, Filter=lambda x: np.ones((x,)),
zero_padding=False):
"""Frame a signal into overlapping frames.
Expand Down

0 comments on commit b31cce9

Please sign in to comment.