editing of Docstring
This commit is contained in:
		
							parent
							
								
									8f6f6cf8b6
								
							
						
					
					
						commit
						0d0b43103b
					
				| @ -8,12 +8,18 @@ def createSingleTriggerlist(st, station='ZV01', trigcomp='Z', stalta=(1, 10), | |||||||
|                             trigonoff=(6, 1)): |                             trigonoff=(6, 1)): | ||||||
|     ''' |     ''' | ||||||
|     uses a single-station trigger to create a triggerlist for this station |     uses a single-station trigger to create a triggerlist for this station | ||||||
|     :param st: |     :param st: obspy stream | ||||||
|     :param station: |     :type  st: | ||||||
|     :param trigcomp: |     :param station: station name to get triggers for  (optional, default = ZV01) | ||||||
|     :param stalta: |     :type  station: str | ||||||
|     :param trigonoff: |     :param trigcomp: (optional, default = Z) | ||||||
|     :return: |     :type  trigcomp: str | ||||||
|  |     :param stalta: (optional, default = (1,10)) | ||||||
|  |     :type  stalta: tuple | ||||||
|  |     :param trigonoff: (optional, default = (6,1)) | ||||||
|  |     :type  trigonoff: tuple | ||||||
|  |     :return: list of triggtimes | ||||||
|  |     :rtype: list | ||||||
|     ''' |     ''' | ||||||
|     tr = st.copy().select(component=trigcomp, station=station)[0] |     tr = st.copy().select(component=trigcomp, station=station)[0] | ||||||
|     df = tr.stats.sampling_rate |     df = tr.stats.sampling_rate | ||||||
| @ -32,7 +38,7 @@ def createSubCoincTriggerlist(trig, station='ZV01'): | |||||||
|     coincidence trigger and are seen at the demanded station |     coincidence trigger and are seen at the demanded station | ||||||
|     :param trig: list containing triggers from coincidence trigger |     :param trig: list containing triggers from coincidence trigger | ||||||
|     :type trig: list |     :type trig: list | ||||||
|     :param station: station name to get triggers for |     :param station: station name to get triggers for (optional, default = ZV01) | ||||||
|     :type station: str |     :type station: str | ||||||
|     :return: list of triggertimes |     :return: list of triggertimes | ||||||
|     :rtype: list |     :rtype: list | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user