Detrend of waveforms for overview plot.
This commit is contained in:
		
							parent
							
								
									686ca4489c
								
							
						
					
					
						commit
						d1cb6fe41f
					
				| @ -446,6 +446,7 @@ class WaveformWidget(FigureCanvas): | ||||
|             stime = trace.stats.starttime - wfstart | ||||
|             time_ax = prepTimeAxis(stime, trace) | ||||
|             if not scaleddata: | ||||
|                 trace.detrend('constant') | ||||
|                 trace.normalize(np.max(np.abs(trace.data)) * 2) | ||||
|             self.getAxes().plot(time_ax, trace.data + n, 'k') | ||||
|             if noiselevel is not None: | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user