1 function [g_part ] = gauss_part( fire_x, fire_y, pixel_x, pixel_y, sig )
\r
2 % compute gaussian part of the formula
\r
4 % fire_x, fire_y : [x y] location of pixel fire pixels (reported
\r
6 % pixel_x, pixel_y : [x y] location of where satellite is really looking
\r
7 % sig :standard deviation
\r
10 % g_part: sum of the gaussians
\r
12 %r = 200.0; %200 m pixel ->>> 300 m radius at 3 sigma uncertainty
\r
15 dist2 = (fire_x-pixel_x)^2+(fire_y-pixel_y)^2;
\r
16 g_part = exp(-dist2/(2*sig^2));
\r