Return 'N' (noisy) for first motion instead None.
This commit is contained in:
		
							parent
							
								
									85ae05b580
								
							
						
					
					
						commit
						82e2c325ae
					
				@ -210,7 +210,7 @@ def fmpicker(Xraw, Xfilt, pickwin, Pick, iplot=0, fig=None, linecolor='k'):
 | 
				
			|||||||
    assert isinstance(Xraw, Stream), "%s is not a stream object" % str(Xraw)
 | 
					    assert isinstance(Xraw, Stream), "%s is not a stream object" % str(Xraw)
 | 
				
			||||||
    assert isinstance(Xfilt, Stream), "%s is not a stream object" % str(Xfilt)
 | 
					    assert isinstance(Xfilt, Stream), "%s is not a stream object" % str(Xfilt)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    FM = None
 | 
					    FM = 'N'
 | 
				
			||||||
    if Pick is not None:
 | 
					    if Pick is not None:
 | 
				
			||||||
        print("fmpicker: Get first motion (polarity) of onset using unfiltered seismogram...")
 | 
					        print("fmpicker: Get first motion (polarity) of onset using unfiltered seismogram...")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user