Commit Graph
12 Commits
Author SHA1 Message Date
Kristian Bendiksen d96159fb7c #7750 Histogram Plot: Add logarithmic binning and user-defined bin range
Add BinningMode (Linear/Logarithmic) and OutOfRangeHandling (Exclude/Include in
Boundary Bins) to RigHistogramCalculator, with defaulted constructor arguments so
existing callers are unaffected. All four histogram plot data sources get shared
options for binning mode and an optional user-defined bin range through new PDM
fields on RimHistogramDataSource.

The grid statistics data source computes non-default histograms through a new
non-caching RigStatisticsDataCache::computeHistogram() pass-through, leaving the
cached statistics used by the 3D overlay and the P10/P90/mean annotation lines
untouched.

Selecting logarithmic binning enables logarithmic scale on the plot X axis once,
via a new signal handled by RimHistogramCurve.

Also fix the bin index computation to use uniform bins of width range/nBins,
consistent with calculatePercentil() and the bin edges drawn by the plots. The
previous divisor (nBins - 1) shifted counts by up to one bin width relative to
the drawn bars and slightly biased histogram-based percentile estimates.
2026-08-13 07:19:18 +02:00
Magne Sjaastad 9aa5a3d222 Move number formatting setting to CAF to enable use in UI editors
* Move RiaNumberFormat to cafPdmUiNumberFormat in caf framework
* Add unit test
2026-02-16 11:32:04 +01:00
Magne Sjaastad f8c5cf389f clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Kristian Bendiksen ce6ea17cd2 #8182 Fracture Statistics: improve floating point format 2021-11-01 08:38:43 +01:00
Kristian Bendiksen 36eda01be8 #8121 Fracture: provide statistics per fracture 2021-10-08 08:36:01 +02:00
Kristian Bendiksen ebeaa8088c #8030 Ensemble Fracture Statistics: report area for individual fractures 2021-09-23 09:21:15 +02:00
1312f1d7b5 7962 ensemble fracture stats skip zero width (#7992)
* #7962 Ensemble Fracture Statistics: Add option to exclude zero width fractures

* #7962 Ensemble Fracture Statistics: fix data accessor used in statistics plot.

* #7962 Ensemble Fracture Statistics: Update referring plots.

* Ensemble Fracture Statistics: parameter name

* Fixes by misspell-fixer (#7994)

Co-authored-by: kriben <kriben@users.noreply.github.com>

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kriben <kriben@users.noreply.github.com>
2021-09-13 08:34:03 +00:00
Kristian Bendiksen 117d201703 #7963 Ensemble Fracture Statistics: add progress bar. (#7985)
Also avoid recalculating the statistics for each added file.
2021-09-10 14:54:46 +02:00
Kristian Bendiksen 647f7834f0 #7663 Ensemble Statistics Plot: Add user input for number of histogram bins. 2021-05-18 08:58:40 +02:00
Kristian Bendiksen 7c7f319e41 #7670 Show Ensemble Fracture Statistics as table 2021-05-18 08:17:45 +02:00
Kristian Bendiksen ebea8cfbef #7609 Handle unit conversions for width input. 2021-05-10 14:03:52 +02:00
Kristian Bendiksen 01d88030d4 #7609 Calculate and display Ensemble Fracture Statistics plot. 2021-05-10 14:03:52 +02:00