Bugfix remove junk#51
Draft
anuj137 wants to merge 7 commits into
Draft
Conversation
Collaborator
|
Some suggestions already discussed with @anuj137 , so that I don't forget :
|
prayush
reviewed
Dec 20, 2024
Contributor
There was a problem hiding this comment.
Was this added to git by mistake?
Contributor
There was a problem hiding this comment.
Was this added to git by mistake?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request addresses a bug in the draft pull request: #49. The following changes have been made compared to the current
masterbranch (commit hashe431f348c56f93d859630b8c4853e053405f2a3c):WaveformModes.get_td_waveform()via the boolean variableremove_junk. If set toTrue, the junk portion of the data is removed usingreference_timebefore evaluating the modes.Compared to pull request #49, the following key changes have been made:
remove_junk=True. This prevents interpolation in the junk-removed portion of the data.remove_junk_from_modeshas been added to handle the removal of modes, while the functionmodes_with_junk_removedis now only used to check if the junk portion has already been removed.remove_junk_fudge_factor, has been introduced toWaveformModes.get_td_waveform(), with a default value of one. The junk portion of the data is now considered up toremove_junk_fudge_factor * reference_time. This fudge factor allows for the selection of slightly larger or smaller values thanreference_timefor removing the junk.