<div dir="ltr">Hi,<div><br></div><div>When we call pattern_cor function it then calls pattern_cor2 function to compute the pattern correlation. I n case of centered correlation area averaging is done , the code is as below</div><div><br></div><div><div> sumWGT = sum(WGT)</div><div> xAvgArea = sum(x*WGT)/sumWGT ; weighted area average</div><div> yAvgArea = sum(y*WGT)/sumWGT</div><div><br></div><div> xAnom = x - xAvgArea ; anomalies</div><div> yAnom = y - yAvgArea</div><div><br></div><div>if my weight is 1 it is simply the sum of the array not the area average.This may lead to wrong results.</div><div><br></div><div>Is it because of this that when I perform centered averaging I get values of the order of 0.6 and when uncentered then 0.9.</div><div><br></div><div><div><div dir="ltr">Regards,<div>Shilpa Malviya</div></div></div></div>
</div></div>