Changeset 400 for SHX/trunk/SeismicHandler/patches/ObsPy.py
- Timestamp:
- 06/01/2011 05:56:25 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SHX/trunk/SeismicHandler/patches/ObsPy.py
r395 r400 29 29 import numpy as np 30 30 import math 31 import time 31 32 from obspy.core import Stream, Trace 32 33 #from obspy.core import UTCDateTime … … 115 116 self.shxPlotData = pt.data.copy() 116 117 else: 117 print "using cachedX data for", CacheTraceID[:3]118 print time.time(), "using cachedX data for", CacheTraceID[:3] 118 119 119 120 # use minmax approach if more than 4 data points per pixel … … 140 141 joined = np.append(joined, [remaining.min(), remaining.max()]) 141 142 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, \ 143 144 "covered", covered, "len_rest", len(remaining), "data_len", \ 144 145 len(data), "joined", len(joined), "width", width … … 148 149 self.shxPlotData = joined 149 150 150 print width, height, norm, type(self.shxPlotData)151 print time.time(), width, height, norm, type(self.shxPlotData) 151 152 152 153 if cachedY: 153 print "using cachedY data for", CacheTraceID[3:]154 print time.time(), "using cachedY data for", CacheTraceID[3:] 154 155 return 155 156
Note: See TracChangeset
for help on using the changeset viewer.