Skip to content

Add an upsample_repeat function that uses numpy.repeat to upsample

Duncan Macleod requested to merge github/fork/asouthgate/dev-upsample-repeat into main

Created by: asouthgate

This should address https://github.com/gwpy/gwpy/issues/1673

In the absence of a reference for the correct name for this method of upsampling, I have named it after the repeat function in numpy.

I also have given it a separate interface instead of modifying TimeSeries.resample.

Merge request reports