Added stdfinite, a standard deviation equivilant to meanfinite#980
Closed
jagoosw wants to merge 1 commit into
Closed
Added stdfinite, a standard deviation equivilant to meanfinite#980jagoosw wants to merge 1 commit into
jagoosw wants to merge 1 commit into
Conversation
I can't seem to find anything that has similar functionality to meanfinite but for standard deviations and so have written up what I've been using here. stdfinite calculated the standard deviation of values in an array along given dimensions and ignores any NaN values.
Codecov Report
@@ Coverage Diff @@
## master #980 +/- ##
==========================================
+ Coverage 86.55% 86.82% +0.26%
==========================================
Files 9 9
Lines 1086 1108 +22
==========================================
+ Hits 940 962 +22
Misses 146 146
Continue to review full report at Codecov.
|
Member
|
Make sense! These functions are moving to ImageBase, see JuliaImages/ImageBase.jl#13. Could I ask you to reopen this there? Also, can we consider:
|
Author
|
Absolutely, sorry I didn't check that issue when I was looking for where to put it. I'll change over to that imitate the new implementations then reopen over there! |
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.
I can't seem to find anything that has similar functionality to meanfinite but for standard deviations and so have written up what I've been using here. It calculated the standard deviation of values in an array along given dimensions and ignores any NaN values.
I have included some basic tests and it is passing the others.
Thanks!