1 function [ heat_map ] = make_heats( tign , t_now )
\r
2 % [ heat_map ] = make_heats( tign )
\r
3 % function returns an array of heat output in pixels
\r
5 % tign : matrix with fire arrival times for a simulation
\r
6 % t_now : present time, (time of satellite imaging)
\r
8 % heap_map : matrix with heat in each pixel, based on exponential decay
\r
9 % with time since fire arrival
\r
12 heat_map = zeros(m,n);
\r
16 %decay = -0.3 --> 1.1% of heat output at 15 hours
\r
17 decay = -0.3; % ?? --> %set to10 for patch ,0.02 for hill2 test
\r
20 if tign(ii,jj) < t_now
\r
21 heat_map(ii,jj) = 0;
\r
23 heat_map(ii,jj) = T_0*exp((tign(ii,jj)-t_now)*decay);
\r