API Reference

Most work needs only import petrophys as pp: pp.read, pp.interpret and pp.plot. Every public module is listed below, grouped by what it does.

Wells, curves, intervals and core data, readers and writers for LAS, DLIS, CSV and Excel, and the bundled sample wells.

Well Curve read_las read_formations

Standardize mnemonics and units, screen value ranges and bad hole, normalize curves across wells and impute missing samples.

standardize_curves bad_hole_flags normalize_log impute

Temperature, clay volume, porosity, lithology, electrical properties, water saturation, permeability, rock physics and specialist data.

calculate_vcl calculate_porosity calculate_sw calculate_permeability

Bulk volume water, moveable hydrocarbons, net pay, rock quality and flow units, zone summaries, volumetrics, sensitivity and diagnostics.

calculate_net_pay summarize_pay calculate_flow_units cutoff_sensitivity

The dynamic workflow behind pp.interpret, custom workflows built from steps, batch and zoned runs, and the settings schema.

DynamicWorkflowConfig DynamicWorkflowResult Workflow workflow_step

Log viewers and templates, crossplots, specialist panels, reservoir displays, analytics charts, core plots and batch export.

crossplot triple_combo nmr_panel calibration_plot

Compact context for LLMs, delivery packages and audit exports, and the MCP server for LLM clients.

build_context export_context create_server Session