1 %test 3 - put reported detection on the fire line, move the actual
\r
4 % second test script looking for tails???
\r
11 mask = zeros(domain_size,domain_size);
\r
12 strip = ones(domain_size,1);
\r
13 mask(:,500) = strip;
\r
16 heat = zeros(domain_size,domain_size);
\r
17 heat_strip = zeros(1,domain_size);
\r
19 for i = 500:domain_size
\r
20 heat_strip(1,i) = exp(-(i-500)*a);
\r
22 for i = 1:domain_size
\r
23 heat(i,:) = heat_strip;
\r
27 %make probability matrix
\r
28 detection_probs = zeros(domain_size,domain_size);
\r
30 for i = 1:domain_size
\r
31 for j = 1:domain_size
\r
32 detection_probs(i,j) = detection_probability(heat(i,j));
\r
36 %move actual pixel across domain, passing through location of reported
\r
41 for i = 1:domain_size
\r
43 l = exp(-dist2/(3*radius)^2)*detection_probs(500,i);
\r