IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 22, 2019, 3:34:13 PM (7 years ago)
Author:
eugene
Message:

deprecate deimos mkalt; skip nan pixels in deimos arclines; apply blue and red-chip traces to getalt, mkobj

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20190329/src/opihi/mana/deimos_arclines.c

    r40655 r40817  
    5656  for (int iy = 0; iy < Ny; iy++) {
    5757    float Fsum = 0;
     58    float Ksum = 0;
    5859    // cross-correlation of buffer values and kernel values
    5960    for (int ix = 0; ix < Nx; ix++) {
     
    6263        if ((iy + ky) < 0) continue;
    6364        if ((iy + ky) >= Ny) continue;
     65        if (!isfinite(Fin[ix + (iy + ky)*Nx])) continue;
     66        if (!isfinite(kernel[ix + ko*Nx])) continue;
    6467        Fsum += Fin[ix + (iy + ky)*Nx] * kernel[ix + ko*Nx];
     68        Ksum += kernel[ix + ko*Nx];
    6569      }
    6670    }
Note: See TracChangeset for help on using the changeset viewer.