version 1.24, 2014/02/18 23:18:07
|
version 1.25, 2014/02/18 23:35:03
|
Line 1058 int computeR(float *bz_err, float *los, |
|
Line 1058 int computeR(float *bz_err, float *los, |
|
init_fresize_gaussian(&fresgauss,sigma,20,1); | init_fresize_gaussian(&fresgauss,sigma,20,1); |
| |
// make sure convolution kernel is smaller than or equal to array size | // make sure convolution kernel is smaller than or equal to array size |
if ((nx || ny) < 41.) return -1; |
if ( (nx < 41.) || (ny < 41.) ) return -1; |
| |
fsample(los, rim, nx, ny, nx, nx1, ny1, nx1, scale, 0, 0, 0.0); | fsample(los, rim, nx, ny, nx, nx1, ny1, nx1, scale, 0, 0, 0.0); |
for (i = 0; i < nx1; i++) | for (i = 0; i < nx1; i++) |