Code covered by the BSD License  

Highlights from
High intensity focused ultrasound simulator

High intensity focused ultrasound simulator

by

 

Simulates high intensity focused ultrasound beams and heating effects in layered media

equivalent_time.m
%% Authored by Joshua Soneson 2007
function[T]=equivalent_time(T,N,T0)
% Computes the integrand of the CEM43 thermal dose integral for 
% an N-vector of temperatures T.

diff = 43-T0;
for n=1:N
  if(T(n)<=diff)
    T(n) = 0.25^(diff-T(n));
  else
    T(n) = 0.5^(diff-T(n));
end; end

Contact us