Changeset 1159 for SHX


Ignore:
Timestamp:
05.02.2016 12:13:13 (4 years ago)
Author:
klaus
Message:

bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/modules/wx_.py

    r1158 r1159  
    11621162        t = timepos * duration / pixel_width 
    11631163        timestamp = start + t 
     1164         
     1165        # if trace is shifted, take t-origin into account 
     1166        if trace: 
     1167            timestamp -= trace.get_info('t-origin') 
    11641168 
    11651169        # do not return trace if timestamp is outside, region is enlarged 
Note: See TracChangeset for help on using the changeset viewer.