5.9.1.2. eqcorrscan.utils.sfile_util.PICK

class eqcorrscan.utils.sfile_util.PICK(station=u' ', channel=u' ', impulsivity=u' ', phase=u' ', weight=999, polarity=u' ', time=<Mock name='mock.UTCDateTime()' id='4637247248'>, coda=999, amplitude=nan, peri=nan, azimuth=nan, velocity=nan, AIN=999, SNR=nan, azimuthres=999, timeres=nan, finalweight=999, distance=nan, CAZ=999)[source]

Pick information for seisan implimentation, note all fields can be left blank to obtain a default pick: picks have a print function which will print them as they would be seen in an S-file.

Attributes:
type station:str
param station:Station name, less than five charectars required as standard
type channel:str
param channel:Two or three charactar channel name, stored as two charactars in S-file
type impulsivity:
 str
param impulsivity:
 either ‘C’ or ‘D’ for compressive and dilatational
type phase:str
param phase:Any allowable phase name in two characters
type weight:int
param weight:0-4 with 0=100%, 4=0%, use weight=9 for unknown timing
type polarity:str
type time:obspy.UTCDateTime()
param time:Pick time as an obspy.UTCDateTime object
type coda:int
param coda:Length of coda in seconds
type amplitude:float
param amplitude:
 Amplitude (zero-peak), type is given in phase
type peri:float
param peri:Period of amplitude
type azimuth:float
param azimuth:Direction of approach in degrees
type velocity:float
param velocity:Phase velocity (km/s)
type AIN:int
param AIN:Angle of incidence.
type SNR:float
param SNR:Signal to noise ratio
type azimuthres:
 int
param azimuthres:
 Residual azimuth
type timeres:float
param timeres:Time residual in seconds
type finalweight:
 int
param finalweight:
 Final weight used in location
type distance:float
param distance:Source-reciever distance in km
type CAZ:int
param CAZ:Azimuth at source.

Note: Depreciated legacy function, use the obspy.core.event classes. This will be removed in future releases.

__init__(station=u' ', channel=u' ', impulsivity=u' ', phase=u' ', weight=999, polarity=u' ', time=<Mock name='mock.UTCDateTime()' id='4637247248'>, coda=999, amplitude=nan, peri=nan, azimuth=nan, velocity=nan, AIN=999, SNR=nan, azimuthres=999, timeres=nan, finalweight=999, distance=nan, CAZ=999)[source]

Methods

__init__([station, channel, impulsivity, ...])
write(filename) Public function to write the pick to a file

Attributes

pickcount