-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix remove junk #51
base: master
Are you sure you want to change the base?
Conversation
Some suggestions already discussed with @anuj137 , so that I don't forget :
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anuj137 please convert this from draft to ready, if you want to get it merged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added to git by mistake?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was this added to git by mistake?
This pull request addresses a bug in the draft pull request: #49. The following changes have been made compared to the current
master
branch (commit hashe431f348c56f93d859630b8c4853e053405f2a3c
):WaveformModes.get_td_waveform()
via the boolean variableremove_junk
. If set toTrue
, the junk portion of the data is removed usingreference_time
before 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_modes
has been added to handle the removal of modes, while the functionmodes_with_junk_removed
is 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_time
for removing the junk.