-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding the basic functionality of FilledHistogram class (#221)
* Adding the basic functionality of FilledHistogram class * Now only one Histogram class that treats the histogram as filled depending on the specification of the 'bin_edges' input. * correct bin_edges bug for divide * Reduced line sizes and remove unused input for helper function * removed some code duplication by merging functions * bug fix * made filled argument a optional parameter to pass unit tests... * added a basic test for filled histogram * added test case for sumW2 in filled hists * reformatting to fit lines * fixed a sumW2 bug and test bug * fixed formatting with pre-commit * add changelog line * added warning upon defining sum_squared_weights but no bin_edges --------- Co-authored-by: thmaurin <[email protected]> Co-authored-by: Sam VS <[email protected]>
- Loading branch information
1 parent
1369431
commit 46adb1e
Showing
6 changed files
with
142 additions
and
35 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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