D24041: # Enter a commit message. # # Changes: # # kstars/fitsviewer/fitshistogram.cpp
Hy Murveit
noreply at phabricator.kde.org
Wed Sep 18 08:31:48 BST 2019
murveit created this revision.
murveit added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.
REVISION SUMMARY
Improve the accuracy of the median calculation in fitshistogram.cpp
Previously, the median calculation used a histogram algorithm to find a range that contained the
median value, and chose the median as the center of that range. With this revision, the frequencies
of all samples in the range are calculated, and the exact median can be computed (subject to some
downsampling of the data).
REPOSITORY
R321 KStars
BRANCH
improve-median (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D24041
AFFECTED FILES
kstars/fitsviewer/fitshistogram.cpp
To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20190918/9421abfb/attachment.html>
More information about the kde-edu
mailing list