Changeset 400


Ignore:
Timestamp:
06/01/2011 05:56:25 PM (12 years ago)
Author:
marcus
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • SHX/trunk/SeismicHandler/patches/ObsPy.py

    r395 r400  
    2929import numpy as np 
    3030import math 
     31import time 
    3132from obspy.core import Stream, Trace 
    3233#from obspy.core import UTCDateTime 
     
    115116        self.shxPlotData = pt.data.copy() 
    116117    else: 
    117         print "using cachedX data for", CacheTraceID[:3] 
     118        print time.time(), "using cachedX data for", CacheTraceID[:3] 
    118119 
    119120    # use minmax approach if more than 4 data points per pixel 
     
    140141            joined = np.append(joined, [remaining.min(), remaining.max()]) 
    141142 
    142         print "pixel_width", pixel_width, "minmax", "npts", npts, "dpp", dpp, "dimx", dimx, \ 
     143        print time.time(), "pixel_width", pixel_width, "minmax", "npts", npts, "dpp", dpp, "dimx", dimx, \ 
    143144              "covered", covered, "len_rest", len(remaining), "data_len", \ 
    144145              len(data), "joined", len(joined), "width", width 
     
    148149        self.shxPlotData = joined 
    149150 
    150     print width, height, norm, type(self.shxPlotData) 
     151    print time.time(), width, height, norm, type(self.shxPlotData) 
    151152 
    152153    if cachedY: 
    153         print "using cachedY data for", CacheTraceID[3:] 
     154        print time.time(), "using cachedY data for", CacheTraceID[3:] 
    154155        return 
    155156 
Note: See TracChangeset for help on using the changeset viewer.