1 function [ detection_probs ] = make_detection_probabilities( heat_matrix )
\r
2 % [ detection_probs ] = make_detection_probabilities( heat_matrix )
\r
3 % Function returns a matrix with probaility of satellite detections at each
\r
6 %Inputs: Heat_matrix - matrix containing heat fluxes at each pixel
\r
7 %Output: detection_probs - matrix with proability of satellite detection at
\r
10 [m,n] = size(heat_matrix);
\r
11 detection_probs = zeros(m,n);
\r
15 dp = detection_probability(heat_matrix(i,j));
\r
16 detection_probs(i,j) = dp;
\r