Changeset 8371


Ignore:
Timestamp:
08/02/21 14:19:09 (4 months ago)
Author:
paulf
Message:

found a major bug in ewthresh, contamination when multiple SCNLs used

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/seismic_processing/ewthresh/ewthresh.c

    r8308 r8371  
    5858#endif 
    5959 
    60 #define THRESH_VERSION "0.3.5 2018-06-20" 
     60#define THRESH_VERSION "0.3.6 2021-07-02" 
    6161 
    6262typedef struct { 
     
    563563                } 
    564564            }   
    565         }   
     565        }  else { 
     566                if ( td->dataSize == 2 ) { 
     567                    awShort = (int16_t*)(td->avgWindow); 
     568                } else { /* if ( tbh2x->dataSize == 4 ) */ 
     569                    awLong = (int32_t*)(td->avgWindow); 
     570                } 
     571        } 
    566572 
    567573        /* Check for a gap 
Note: See TracChangeset for help on using the changeset viewer.