renaming
This commit is contained in:
parent
feab50af28
commit
c9a75ca2d0
@ -60,7 +60,7 @@ class regions(object):
|
|||||||
shot.getPickIncludeRemoved(traceID),
|
shot.getPickIncludeRemoved(traceID),
|
||||||
shot.getShotnumber(),
|
shot.getShotnumber(),
|
||||||
traceID,
|
traceID,
|
||||||
shot.getFlag(traceID)))
|
shot.getPickFlag(traceID)))
|
||||||
|
|
||||||
allpicks.sort()
|
allpicks.sort()
|
||||||
self._allpicks = allpicks
|
self._allpicks = allpicks
|
||||||
@ -297,7 +297,7 @@ class regions(object):
|
|||||||
for shotnumber in shots.keys():
|
for shotnumber in shots.keys():
|
||||||
shot = self.shot_dict[shotnumber]
|
shot = self.shot_dict[shotnumber]
|
||||||
for traceID in shots[shotnumber]:
|
for traceID in shots[shotnumber]:
|
||||||
if shot.getFlag(traceID) is not 0:
|
if shot.getPickFlag(traceID) is not 0:
|
||||||
pickX = shot.getDistance(traceID)
|
pickX = shot.getDistance(traceID)
|
||||||
pickY = shot.getPick(traceID)
|
pickY = shot.getPick(traceID)
|
||||||
if insidePoly(x, y, pickX, pickY):
|
if insidePoly(x, y, pickX, pickY):
|
||||||
@ -341,7 +341,7 @@ class regions(object):
|
|||||||
if type(shot) == int:
|
if type(shot) == int:
|
||||||
shot = self.survey.getShotDict()[shot]
|
shot = self.survey.getShotDict()[shot]
|
||||||
|
|
||||||
if shot.getFlag(traceID) is 0:
|
if shot.getPickFlag(traceID) is 0:
|
||||||
return
|
return
|
||||||
|
|
||||||
self.ax.scatter(shot.getDistance(traceID), shot.getPick(traceID), s = 50, marker = 'o', facecolors = 'none', edgecolors = 'm', alpha = 1)
|
self.ax.scatter(shot.getDistance(traceID), shot.getPick(traceID), s = 50, marker = 'o', facecolors = 'none', edgecolors = 'm', alpha = 1)
|
||||||
@ -474,7 +474,7 @@ class regions(object):
|
|||||||
shot = self.survey.getShotDict()[shotnumber]
|
shot = self.survey.getShotDict()[shotnumber]
|
||||||
|
|
||||||
for traceID in shot.getTraceIDlist():
|
for traceID in shot.getTraceIDlist():
|
||||||
if shot.getFlag(traceID) is not 0:
|
if shot.getPickFlag(traceID) is not 0:
|
||||||
self.highlightPick(shot, traceID, annotations)
|
self.highlightPick(shot, traceID, annotations)
|
||||||
|
|
||||||
self.drawFigure()
|
self.drawFigure()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user