Skip to content

Question on the implementation of calc_waveform_metrics #90

Answered by petersenpeter
oaaij-gnahz asked this question in Q&A
Discussion options

You must be logged in to vote

Hi

Thanks for pointing this out. Indeed it was not necessary - it was a lazy implementation on my part. I am interpolating the waveforms using the same method a few lines below, so I had simply reused the line for the time-axis, which was not necessary. I altered the line to the following:
timeWaveform = timeWaveform(1):mean(diff(timeWaveform))/oversampling:timeWaveform(end);

I pushed the changes to GitHub.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@oaaij-gnahz
Comment options

Answer selected by oaaij-gnahz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants