- Timestamp:
- Jun 27, 2018, 3:20:35 PM (8 years ago)
- Location:
- branches/czw_branch/20170908/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/opihi/cmd.data/impeaks.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20170908/Ohana
- Property svn:mergeinfo changed
-
branches/czw_branch/20170908/Ohana/src/opihi/cmd.data/impeaks.c
r36679 r40477 100 100 int Npeaks = 0; 101 101 for (ix = 1; ix < Nx - 1; ix++) { 102 if (!isfinite(row[ix])) continue; // ignore NAN values 102 103 if (row[ix] < threshold) continue; // only accept pixels above threshold 103 104 if (row[ix] < row[ix - 1]) continue; // peak pixel must be at least preceeding pixel
Note:
See TracChangeset
for help on using the changeset viewer.
