NLeSC/rsemg

padding on Python poly5reader arrays

Closed this issue · 2 comments

The poly5reader from our TMSiSDK versino leaves padding (a trail of zeros) on the end of the array until it hits a certain size. Only the samples until the 'Number of samples' are legit. We need a function to get rid of these.

converter function written with test, needs review . Function = rsemg.converter_functions.poly5unpad

Done, and next release of TMSiSDK contains a patch