- Timestamp:
- Jun 22, 2019, 3:34:13 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_arclines.c
r40655 r40817 56 56 for (int iy = 0; iy < Ny; iy++) { 57 57 float Fsum = 0; 58 float Ksum = 0; 58 59 // cross-correlation of buffer values and kernel values 59 60 for (int ix = 0; ix < Nx; ix++) { … … 62 63 if ((iy + ky) < 0) continue; 63 64 if ((iy + ky) >= Ny) continue; 65 if (!isfinite(Fin[ix + (iy + ky)*Nx])) continue; 66 if (!isfinite(kernel[ix + ko*Nx])) continue; 64 67 Fsum += Fin[ix + (iy + ky)*Nx] * kernel[ix + ko*Nx]; 68 Ksum += kernel[ix + ko*Nx]; 65 69 } 66 70 }
Note:
See TracChangeset
for help on using the changeset viewer.
