Maps#

Mapping routines to map to and from linear conductivities (what is used internally) to other representations such as resistivities or logarithms thereof.

Interpolation routines mapping values between different grids.

Functions#

interpolate(grid, values, xi[, method, ...])

Interpolate values from one grid to another grid or to points.

interp_spline_3d(points, values, xi, **kwargs)

Interpolate values in 3D with a cubic spline.

interp_volume_average(nodes_x, nodes_y, ...)

Interpolate properties from grid to new_grid using volume averages.

interp_edges_to_vol_averages(ex, ey, ez, ...)

Interpolate fields defined on edges to volume-averaged cell values.

ellipse_indices(coo, p0, p1, radius[, ...])

Return bool which points fall within a general ellipse.

Classes#

BaseMap(description)

Maps variable x to computational variable σ (conductivity).

MapConductivity()

Maps σ to computational variable σ (conductivity).

MapLgConductivity()

Maps log_10(σ) to computational variable σ (conductivity).

MapLnConductivity()

Maps log_e(σ) to computational variable σ (conductivity).

MapResistivity()

Maps ρ to computational variable σ (conductivity).

MapLgResistivity()

Maps log_10(ρ) to computational variable σ (conductivity).

MapLnResistivity()

Maps log_e(ρ) to computational variable σ (conductivity).