We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, only positive lags are supported in RV calculation:
phys2denoise/phys2denoise/metrics/chest_belt.py
Line 155 in cfced3b
However, apply_lags() supports negative lags just fine.
apply_lags()
I require this for an analysis, and there is no real cost. In fact, as it is implemented, it could be confusing for users.
I think it's pretty straightforward to fix:
delays = [int(lag * samplerate) for lag in lags]
The text was updated successfully, but these errors were encountered:
We can express the breaking change in the release description, if that's what worries you, but otherwise I would drop that abs() too!
abs()
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Detailed Description
Currently, only positive lags are supported in RV calculation:
phys2denoise/phys2denoise/metrics/chest_belt.py
Line 155 in cfced3b
However,
apply_lags()
supports negative lags just fine.Context / Motivation
I require this for an analysis, and there is no real cost. In fact, as it is implemented, it could be confusing for users.
Possible Implementation
I think it's pretty straightforward to fix:
The text was updated successfully, but these errors were encountered: