Пример #1
0
	def __init__(self, gsac, opts, axs):
		self.gsac = gsac
		self.opts = opts
		self.axs = axs
		self.axpp = axs['Seis']
		self.initIndex()
		self.plotSeis()
		self.plotSpan()
		self.connect()
		pppara = opts.pppara
		pickLegend(self.axpp, pppara.npick, pppara.pickcolors, pppara.pickstyles)
Пример #2
0
	def __init__(self, gsac, opts, axs):
		self.gsac = gsac
		self.opts = opts
		self.axs = axs
		self.axpp = axs['Seis']
		self.initIndex()
		self.plotSeis()
		self.plotSpan()
		self.connect()
		pppara = opts.pppara
		pickLegend(self.axpp, pppara.npick, pppara.pickcolors, pppara.pickstyles)
Пример #3
0
	def plotStack(self):
		""" Plot array stack and span """
		colorwave = self.opts.pppara.colorwave
		stkybase = 0
		ppstk = PickPhase(self.gsac.stkdh, self.opts,self.axstk, stkybase, colorwave, 1) 
		ppstk.plotPicks()
		ppstk.disconnectPick()
		self.ppstk = ppstk
		self.axstk.set_title('Array Stack')
		self.ppstk.stalabel.set_visible(False)
		if self.opts.ynorm == 1.0:
			self.axstk.set_ylim(stkybase-0.5, stkybase+0.5)
		self.axstk.set_yticks([stkybase])
		self.axstk.set_yticklabels([])
		self.axstk.axvline(x=0, color='k', ls=':')
		# plot legend
		pppara = self.opts.pppara
		pickLegend(self.axstk, pppara.npick, pppara.pickcolors, pppara.pickstyles, False)
		self.plotSpan()
Пример #4
0
	def plotPicks(self):
		for ss in self.sss:
			ss.plotPicks()
		pppara = self.opts.pppara
		pickLegend(self.axss, pppara.npick, pppara.pickcolors, pppara.pickstyles)
Пример #5
0
 def plotPicks(self):
     for ss in self.sss:
         ss.plotPicks()
     pppara = self.opts.pppara
     pickLegend(self.axss, pppara.npick, pppara.pickcolors,
                pppara.pickstyles)