Visualization

Plots for wells, interpretations and specialist data. crossplot draws any two curves with the chart their pair calls for. Every plot keeps its Matplotlib figure, so you can style it further or save it.

Log viewer and templates

petrophys.visualization

Template-driven multi-track log displays and the triple combo.

auto_template

Build a plotting template from the curves actually present on a well.

load_template

Load a log-viewer template from XML or from a built-in default.

triple_combo

Standard triple-combo display: GR/caliper, resistivity, density-neutron.

LogViewer

PetroPy-style template-driven well log plotter.

LogViewerTemplate

Log viewer and templates reference · 3 functions · 2 classes · 2 constants

Crossplots

petrophys.visualization

One crossplot for any two curves; a pair with a chart of its own (NPHI and RHOB, PHIE and RDEP, …) gets that chart.

crossplot

Crossplot two curves, with the chart their pair calls for.

CrossPlot

Crossplot creator for petrophysics analysis.

PickettPlot

Pickett crossplot for determining Archie parameters.

Crossplots reference · 1 function · 2 classes

Interpretation charts

petrophys.visualization.charts

Data over the lines of a chart, each by name: mineral lines, lines of constant Sw, BVW or FZI, a fitted poro-perm transform, saturation-height type curves.

nd_plot

Density-neutron chart: RHOB against NPHI (limestone units), with the sandstone, limestone and dolomite lines ticked 0-40 % porosity.

pef_plot

Density-PEF chart: RHOB against PEF, with the quartz, calcite and dolomite lines (ticked 0-40 % porosity, mixed in U = PEF x electron density) and the anhydrite point.

mn_plot

M-N plot: M (sonic and density) against N (neutron and density), with the quartz-calcite-dolomite triangle; porosity cancels out.

mid_plot

Matrix identification (MID) plot: apparent matrix density against apparent matrix slowness, with the sandstone, limestone and dolomite points.

Interpretation charts reference · 10 functions

Specialist panels

petrophys.visualization

NMR, borehole-image and XRF panels and formation-pressure plots.

nmr_panel

Create an NMR specialist panel for processed NMR summary logs.

has_nmr_curves

Return True when a well contains NMR summary curves.

fmi_panel

Borehole image panel: the image (oriented to azimuth when navigation is there) with the image-log colours, dark conductive and light resistive.

xrf_panel

Plot concentrations in one mass unit (% by default, or ppm).

Specialist panels reference · 7 functions

Reservoir displays

petrophys.visualization

Zone flags on logs.

zone_flags_plot

Plot zone flags as colored columns.

add_zone_shading

Add zone shading to an existing plot.

Reservoir displays reference · 2 functions

Several wells

petrophys.visualization

pp.plot on several wells: a log plot per well, or chosen curves of every well in one figure.

compare_wells

Draw curves of several wells in one figure, each curve in its own track.

MultiWellPlot

One log plot per well, drawn when needed and closed once shown or saved.

WellComparisonPlot

One figure comparing curves across wells: a track per curve, a line per well.

Several wells reference · 1 function · 2 classes

Analytics charts

petrophys.visualization

Charts for multi-well comparisons and sensitivity studies.

multiwell_overlay

Overlay one curve versus depth from several wells on a shared depth axis.

bar_chart

Single or grouped bar chart for rankings and category comparisons.

tornado_plot

Sensitivity tornado: horizontal bars of two outcomes about a base case.

histograms

Overlay histograms of several datasets (e.g. GR before/after normalization).

Analytics charts reference · 6 functions

Core plots

petrophys.visualization

Core-versus-log calibration and core points on logs (poro-perm: crossplot).

calibration_plot

Plot a core-vs-log calibration crossplot.

core_on_logs

Plot core data points overlaid on log curves.

Core plots reference · 2 functions

Batch export

petrophys.visualization

Interpretation plots for every LAS file in a folder, with a CSV report.

export_plots

Export one PNG per LAS file, drawn with the interpretation template.

write_visualization_report

Write a CSV summary for a batch plot export run.

plot_style

Temporarily apply the shared figure style, with optional rc overrides.

use_plot_style

Apply the shared defaults to a notebook or plotting session explicitly.

Batch export reference · 5 functions · 2 classes · 1 constant