-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix numpy warnings and minor update to ScaleVarianceTask.
* Avoid numpy warnings by filtering out invalid values before the calculation. * Prevent correction factor from being nan. * Minor docstring update to emphasize that task.run modifies inputs in-place. * Add computeScaleFactors() to get both scaling factors without input modification.
- Loading branch information
Gabor Kovacs
committed
Feb 27, 2021
1 parent
5afaedd
commit da8b221
Showing
1 changed file
with
67 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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