arim.ut#

Toolbox of functions for ultrasonic testing/acoustics.

decibel(arr[, reference, neginf_value, ...])

Return 20*log10(abs(arr) / reference)

default_scanline_weights(tx, rx)

default_timetrace_weights(tx, rx)

timetrace weights for TFM.

default_viewname_order(tx_rx_tuple)

The views are sorted in ascending order with the following criteria (in this order):

filter_unique_views(viewnames)

Returns the view names that that give different results in linear imaging.

fmc(numelements)

Return all pairs of elements for a FMC.

hmc(numelements)

Return all pairs of elements for a HMC.

infer_capture_method(tx, rx)

Infers the capture method from the indices of transmitters and receivers.

instantaneous_phase_shift(analytic_sig, ...)

For a signal $x(ray) = A * exp(i (2 pi f_0 ray + phi(ray)))$, returns phi(ray) in [-pi, pi[.

make_timevect(num, step[, start, dtype])

Return a linearly spaced time vector.

make_viewnames(pathnames[, tfm_unique_only, ...])

Make all view names from the paths given as arguments.

rayleigh_vel(longitudinal_vel, transverse_vel)

Approximate Rayleigh velocitiy.

reciprocal_viewname(viewname)

Return the name of the reciprocal view

wrap_phase(phases)

Return a phase in [-pi, pi[