mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Make P10/P90 calculation style more explicit
This commit is contained in:
committed by
GitHub
parent
0bfa6ae2d1
commit
1e83254e9e
@@ -145,7 +145,12 @@ void RimEnsembleWellLogStatistics::calculate( const std::vector<RimWellLogFile*>
|
||||
valuesAtDepth.push_back( curveValues[depthIdx] );
|
||||
}
|
||||
double p10, p50, p90, mean;
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth, &p10, &p50, &p90, &mean );
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth,
|
||||
&p10,
|
||||
&p50,
|
||||
&p90,
|
||||
&mean,
|
||||
RigStatisticsMath::PercentileStyle::SWITCHED );
|
||||
|
||||
m_measuredDepths.push_back( allDepths[depthIdx] );
|
||||
m_p10Data.push_back( p10 );
|
||||
@@ -216,7 +221,12 @@ void RimEnsembleWellLogStatistics::calculateByKLayer( const std::vector<RimWellL
|
||||
{
|
||||
std::vector<double> valuesAtDepth = topValues[kIndex];
|
||||
double p10, p50, p90, mean;
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth, &p10, &p50, &p90, &mean );
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth,
|
||||
&p10,
|
||||
&p50,
|
||||
&p90,
|
||||
&mean,
|
||||
RigStatisticsMath::PercentileStyle::SWITCHED );
|
||||
m_measuredDepths.push_back( offsets->getTopDepth( kIndex ) );
|
||||
m_p10Data.push_back( p10 );
|
||||
m_p50Data.push_back( p50 );
|
||||
@@ -230,7 +240,12 @@ void RimEnsembleWellLogStatistics::calculateByKLayer( const std::vector<RimWellL
|
||||
{
|
||||
std::vector<double> valuesAtDepth = bottomValues[kIndex];
|
||||
double p10, p50, p90, mean;
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth, &p10, &p50, &p90, &mean );
|
||||
RigStatisticsMath::calculateStatisticsCurves( valuesAtDepth,
|
||||
&p10,
|
||||
&p50,
|
||||
&p90,
|
||||
&mean,
|
||||
RigStatisticsMath::PercentileStyle::SWITCHED );
|
||||
m_measuredDepths.push_back( offsets->getBottomDepth( kIndex ) );
|
||||
m_p10Data.push_back( p10 );
|
||||
m_p50Data.push_back( p50 );
|
||||
|
||||
Reference in New Issue
Block a user