openlifu.plan.solution_analysis

Functions

calc_dist_from_focus(da, focus[, origin, ...])

Compute a distance map from a focus point in transducer space, using a possibly distorted metric that respects the symmetry of the focus shape (e.g. it could be cigar-shaped).

find_centroid(da, cutoff, units)

Find the centroid of a thresholded region of a DataArray

get_beam_bounds(da, focus, dim, cutoff[, ...])

Determine how far along a focal coordinate system axis a DataArray's value stays above a certain cutoff.

get_beamwidth(da, focus, dim[, cutoff, ...])

Determine the FWHM (or differently thresholded width) of a DataArray along a focal coordinate system axis.

get_focus_matrix(focus[, origin])

Get the coordinate transform from the focus to the transducer

get_gridded_transformed_coords(da, matrix[, ...])

Transform the coords of a DataArray using a transform matrix.

get_mask(da, focus, distance[, origin, ...])

Compute a boolean mask of the focus region in transducer space.

get_offset_grid(da, focus[, origin, as_dataset])

Transform the coords of a DataArray that is in transducer coordinates to focus coordinates

interp_transformed_axis(da, focus, dim[, ...])

Interpolate data along a focal coordinate system axis.

model_tx_temperature_rise(voltage, t_sec[, ...])

Temperature prediction function for thermal modeling.

Classes

SolutionAnalysis(mainlobe_pnp_MPa, ...)

SolutionAnalysisOptions(...)