weighted_averages¶
petrophys.evaluation.summaries.weighted_averages
- weighted_averages(
- well,
- curves,
- weight_curve='PHIE',
- top_depth=None,
- bottom_depth=None,
- net_pay_curve='NET_PAY',
Calculate averages weighted by a curve (e.g. porosity-weighted).
Each sample is weighted by
weight_curvealone, not by its thickness. Whennet_pay_curveis named and is not on the well, a warning is given and every average is NaN.- Parameters:
- Returns:
Dictionary of weighted averages
- Return type: