name change

This commit is contained in:
Marcel Paffrath 2015-09-22 14:36:19 +02:00
parent bb97df6179
commit 19e4435497

View File

@ -143,10 +143,10 @@ class SeismicShot(object):
return self.latest[traceID] return self.latest[traceID]
def getPickError(self, traceID): def getPickError(self, traceID):
mistake = abs(self.getEarliest(traceID) - self.getLatest(traceID)) pickerror = abs(self.getEarliest(traceID) - self.getLatest(traceID))
if np.isnan(mistake) == True: if np.isnan(pickerror) == True:
print "SPE is NaN for shot %s, traceID %s"%(self.getShotnumber(), traceID) print "SPE is NaN for shot %s, traceID %s"%(self.getShotnumber(), traceID)
return mistake return pickerror
def getStreamTraceIDs(self): def getStreamTraceIDs(self):
traceIDs = [] traceIDs = []