IntervalAnalyzer¶
petrophys.evaluation.intervals.IntervalAnalyzer
- class IntervalAnalyzer(
- well,
- net_pay_curve='NET_PAY',
- net_reservoir_curve='NET_RES',
- net_rock_curve='NET_ROCK',
Compute petrophysical summaries for depth intervals.
Delegates net-pay math to
calculate_zone_summaryfrompetrophys.evaluation.summariesand adds whole-interval curve averages, dominant lithology, and data coverage.- Parameters:
Examples
>>> from petrophys.evaluation.intervals import IntervalAnalyzer, Formation >>> analyzer = IntervalAnalyzer(well) >>> summary = analyzer.analyze(Formation("Brent Group", 2841, 2958)) >>> print(summary.zone_summary.net_pay)
Methods
Compute summary for a single interval.
Analyze all intervals in a collection.
Print a formatted summary report to stdout.
Export results to CSV.
Convert analysis results to a pandas DataFrame.
- analyze(interval, include_bottom=True)[source]¶
Compute summary for a single interval.
- Parameters:
- Return type:
- analyze_all(tops, clip_to_well=True)[source]¶
Analyze all intervals in a collection.
- Parameters:
tops (FormationTops or list of Interval) – Intervals to analyze
clip_to_well (bool) – If True, clip intervals to well depth range first
- Return type:
- static to_dataframe(summaries)[source]¶
Convert analysis results to a pandas DataFrame.
- Parameters:
summaries (list of IntervalSummary)
- Return type:
pd.DataFrame
- static to_csv(summaries, filepath)[source]¶
Export results to CSV.
- Parameters:
summaries (List[IntervalSummary])
- Return type:
None
- static print_report(summaries)[source]¶
Print a formatted summary report to stdout.
- Parameters:
summaries (List[IntervalSummary])
- Return type:
None