Intervals and summaries

Interval analysis, zone and formation summaries, averages and net-to-gross.

Intervals

petrophys.evaluation.intervals

Formation-, zone-, and interval-based evaluation.

Functions

flag_intervals

List the depth intervals where a flag is set.

stacking_pattern

Steps and packages of zone values read from base to top.

analyze_interval

One-shot analysis for a single interval.

Classes

IntervalSummary

Complete petrophysical summary for a single interval.

IntervalAnalyzer

Compute petrophysical summaries for depth intervals.

Constants

MIN_STEP: dict

Also importable from petrophys.evaluation.intervals: IntervalKind, Interval, Formation, Zone, SubZone, ManualInterval, FormationTops, label_depths.

Zone and formation summaries

petrophys.evaluation.summaries

Zone and formation summaries: averages, net-to-gross and formation analysis.

Zones

calculate_zone_summary

Calculate summary for a depth interval.

summarize_zones

Calculate summaries for multiple zones.

ZoneSummary

Summary results for a zone or interval.

Curve statistics

curve_statistics

Summary statistics of the finite samples of a curve.

zone_statistics

Statistics of each curve in each zone, as a long table.

percentile_key

The key of a percentile in curve_statistics(): 10 -> p10, 2.5 -> p2.5.

Zone ranking

best_and_weakest

The best and the weakest of zone values, in a property's better direction.

property_direction

"higher" or "lower" (the better direction of a curve), None when it has none.

Formations

analyze_formations

Run formation-level analysis on a well with computed curves.

run_formation_analysis

End-to-end formation analysis: load LAS, run workflow, analyze by formation.

load_formations_csv

Load bounded formations using the shared validated importer.

FormationSummary

Summary results for a single formation.

FormationAnalysisResult

Complete formation analysis results for a well.

Net to gross

calculate_net_gross

Calculate net-to-gross ratios.

ntg_by_zone

Calculate net-to-gross for multiple zones.

NetGrossResult

Net-to-gross calculation result.

Averages

zone_averages

Calculate averages for curves within a zone.

pay_averages

Calculate averages over net pay intervals only.

weighted_averages

Calculate averages weighted by a curve (e.g. porosity-weighted).

pore_volume_weighted_sw

Pore-volume-weighted water saturation over net pay.

Constants

HIGHER_IS_BETTER: tuple
LOWER_IS_BETTER: tuple = ('SW', 'VCL', 'BVW', 'BAD_HOLE')

Also importable from petrophys.evaluation.summaries: HCPVResult, calculate_hcpv, ooip, ogip, Formation.