예제 #1
0
파일: pickphase.py 프로젝트: ehparker/pysmo
	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
파일: qualctrl.py 프로젝트: ehparker/pysmo
	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
파일: plotphase.py 프로젝트: ehparker/pysmo
	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)