Skip to content
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

Change calculation of filter correction coefficients #319

Merged
merged 1 commit into from Nov 1, 2017

Conversation

JoostJM
Copy link
Collaborator

@JoostJM JoostJM commented Oct 23, 2017

Update coefficients to use max(|x|), instead of max(x) (use the absolute values). This prevents invalid calculation, as max(x) can be negative (impossible sqrt in square filter). Furthermore, this defines the range to be scaled to the largest difference from 0, instead of just the maximum value (which can yield very different ranges).

Update coefficients to use `max(|x|)`, instead of `max(x)` (use the absolute values). This prevents invalid calculation, as `max(x)` can be negative (impossible sqrt in square filter). Furthermore, this defines the range to be scaled to the larges difference from 0, instead of just the maximum value (which can yield very different ranges).
@JoostJM JoostJM merged commit 8f283a5 into AIM-Harvard:master Nov 1, 2017
@JoostJM JoostJM deleted the change-filter-coefficients branch February 15, 2018 09:48
@JoostJM JoostJM added this to Filter changes in Feature definitions Feb 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Feature definitions
  
Filter changes
Development

Successfully merging this pull request may close these issues.

None yet

1 participant