IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40770


Ignore:
Timestamp:
May 30, 2019, 6:46:12 PM (7 years ago)
Author:
eugene
Message:

skip NAN pixels

File:
1 edited

Legend:

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

    r40659 r40770  
    5151    for (int ix = 0; ix < Nx; ix++) {
    5252     
     53      // skip NAN / Inf pixels in either window or slit
     54      if (!isfinite(Fwind[ix + iy*Nx])) continue;
     55      if (!isfinite(Fprof[ix + iy*Nx])) continue;
     56
    5357      float fxy = Fwind[ix + iy*Nx];
    5458      float pxy = Fprof[ix + iy*Nx];
Note: See TracChangeset for help on using the changeset viewer.