pyrocko.gf.meta¶
Data model for Green’s function store meta-data.
Functions
|
Get linear interpolation index and weight. |
Classes
|
Undocumented. |
|
Undocumented. |
|
Different Green's Function component schemes are available: |
|
Undocumented. |
|
Green's function store meta information. |
|
Cylindrical symmetry, 1D earth model, single receiver depth |
|
Cylindrical symmetry, 1D earth model, variable receiver depth |
|
No symmetrical constraints, one fixed receiver position. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Base class for discretized sources. |
|
Undocumented. |
|
Undocumented. |
|
Any |
|
Undocumented. |
|
Unstructured grid of point coordinates. |
|
Any |
|
Any |
|
Any |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Any |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Undocumented. |
|
Any |
|
Maps an arrival phase identifier to an arrival phase definition. |
|
Undocumented. |
|
Definition of a time instant relative to one or more named phase arrivals. |
|
Any |
|
Undocumented. |
|
Any |
|
Undocumented. |
Exceptions
Raised when |
|
Raised when it is not possible to use the requested component scheme. |
- class InterpolationMethod(...) str [source]¶
Bases:
StringChoice
Any
str
out of['nearest_neighbor', 'multilinear']
.
- class SeismosizerTrace(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ codes¶
tuple
of 4str
objects, default:('', 'STA', '', 'Z')
network, station, location and channel codes
- ♦ data¶
numpy.ndarray (
pyrocko.guts_array.Array
)numpy array with data samples
- ♦ deltat¶
float
, default:1.0
sampling interval [s]
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp
), default:str_to_time('1970-01-01 00:00:00')
time of first sample as a system timestamp [s]
- class SeismosizerResult(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ n_records_stacked¶
int
, optional, default:1
- ♦ t_stack¶
float
, optional, default:0.0
- class Result(**kwargs)[source]¶
Bases:
SeismosizerResult
Undocumented.
- ♦ trace¶
SeismosizerTrace
, optional
int
, optional, default:1
- ♦ t_optimize¶
float
, optional, default:0.0
- class StaticResult(**kwargs)[source]¶
Bases:
SeismosizerResult
Undocumented.
- ♦ result¶
dict
of numpy.ndarray (pyrocko.guts_array.Array
) objects, default:{}
- class GNSSCampaignResult(**kwargs)[source]¶
Bases:
StaticResult
Undocumented.
- ♦ campaign¶
pyrocko.model.gnss.GNSSCampaign
, optional
- class SatelliteResult(**kwargs)[source]¶
Bases:
StaticResult
Undocumented.
- ♦ theta¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- ♦ phi¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- class KiteSceneResult(**kwargs)[source]¶
Bases:
SatelliteResult
Undocumented.
- ♦ shape¶
tuple
ofpyrocko.guts.Any
objects, default:()
- class ComponentSchemeDescription(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ name¶
str
- ♦ source_terms¶
list
ofstr
objects, default:[]
- ♦ ncomponents¶
int
- ♦ default_stored_quantity¶
str
, optional
- ♦ provided_components¶
list
ofstr
objects, default:[]
- class ComponentScheme(...) str [source]¶
Bases:
StringChoice
Different Green’s Function component schemes are available:
Name
Description
elastic10
Elastodynamic for
ConfigTypeA
andConfigTypeB
stores, MT sources onlyelastic8
Elastodynamic for far-field only
ConfigTypeA
andConfigTypeB
stores, MT sources onlyelastic2
Elastodynamic for
ConfigTypeA
andConfigTypeB
stores, purely isotropic sources onlyelastic5
Elastodynamic for
ConfigTypeA
andConfigTypeB
stores, SF sources onlyelastic18
Elastodynamic for
ConfigTypeC
stores, MT sources onlyporoelastic10
Poroelastic for
ConfigTypeA
andConfigTypeB
stores
- class Earthmodel1D(...) pyrocko.cake.LayeredModel [source]¶
Bases:
Object
Undocumented.
- class StringID(...) str [source]¶
Bases:
StringPattern
Any
str
matching pattern'^[A-Za-z][A-Za-z0-9._]{0,64}$'
.
- class ScopeType(...) str [source]¶
Bases:
StringChoice
Any
str
out of['global', 'regional', 'local']
.
- class WaveType(...) str [source]¶
Bases:
StringChoice
Any
str
out of['full waveform', 'bodywave', 'P wave', 'S wave', 'surface wave']
.
- class NearfieldTermsType(...) str [source]¶
Bases:
StringChoice
Any
str
out of['complete', 'incomplete', 'missing']
.
- class QuantityType(...) str [source]¶
Bases:
StringChoice
Any
str
out of['displacement', 'rotation', 'velocity', 'acceleration', 'pressure', 'tilt', 'pore_pressure', 'darcy_velocity', 'vertical_tilt']
.
- class Reference(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ type¶
str
- ♦ title¶
str
- ♦ journal¶
str
, optional
- ♦ volume¶
str
, optional
- ♦ number¶
str
, optional
- ♦ pages¶
str
, optional
- ♦ year¶
str
- ♦ issn¶
str
, optional
- ♦ doi¶
str
, optional
- ♦ url¶
str
, optional
- ♦ eprint¶
str
, optional
- ♦ authors¶
list
ofstr
objects, default:[]
- ♦ publisher¶
str
, optional
- ♦ keywords¶
str
, optional
- ♦ note¶
str
, optional
- ♦ abstract¶
str
, optional
- class PhaseSelect(...) str [source]¶
Bases:
StringChoice
Any
str
out of['', 'first', 'last']
.
- class Timing(s=None, **kwargs)[source]¶
Bases:
SObject
Definition of a time instant relative to one or more named phase arrivals.
Instances of this class can be used e.g. in cutting and tapering operations. They can hold an absolute time or an offset to a named phase arrival or group of such arrivals.
Timings can be instantiated from a simple string defintion i.e. with
Timing(str)
wherestr
is something like'SELECT{PHASE_DEFS}[+-]OFFSET[S|%]'
where'SELECT'
is'first'
,'last'
or empty,'PHASE_DEFS'
is a'|'
-separated list of phase definitions, and'OFFSET'
is the time offset in seconds. If a'%'
is appended, it is interpreted as percent. If the an'S'
is appended to'OFFSET'
, it is interpreted as a surface slowness in [s/km].Phase definitions can be specified in either of the following ways:
'stored:PHASE_ID'
- retrieves value from stored travel time table'cake:CAKE_PHASE_DEF'
- evaluates first arrival of phase with cake (seepyrocko.cake.PhaseDef
)'vel_surface:VELOCITY'
- arrival according to surface distance / velocity [km/s]'vel:VELOCITY'
- arrival according to 3D-distance / velocity [km/s]
Examples:
'100'
: absolute time; 100 s'{stored:P}-100'
: 100 s before arrival of P phase according to stored travel time table named'P'
'{stored:P}-5.1S'
: 10% before arrival of P phase according to stored travel time table named'P'
'{stored:P}-10%'
: 10% before arrival of P phase according to stored travel time table named'P'
'{stored:A|stored:B}'
: time instant of phase arrival A, or B if A is undefined for a given geometry'first{stored:A|stored:B}'
: as above, but the earlier arrival of A and B is chosen, if both phases are defined for a given geometry'last{stored:A|stored:B}'
: as above but the later arrival is chosen'first{stored:A|stored:B|stored:C}-100'
: 100 s before first out of arrivals A, B, and C
- ♦ phase_defs¶
list
ofstr
objects, default:[]
- ♦ offset¶
float
, default:0.0
- ♦ offset_is¶
str
, optional
- ♦ select¶
str
(PhaseSelect
), default:''
Can be either
''
,'first'
, or'last'
.
- class TPDef(**kwargs)[source]¶
Bases:
Object
Maps an arrival phase identifier to an arrival phase definition.
- ♦ definition¶
str
definition of the phase in either cake syntax as defined in
pyrocko.cake.PhaseDef
, or, if prepended with an!
, as a classic phase name, or, if it is a simple number, as a constant horizontal velocity.
- class MultiLocation(*args, **kwargs)[source]¶
Bases:
Object
Unstructured grid of point coordinates.
- ♦ lats¶
numpy.ndarray (
pyrocko.guts_array.Array
), optionalLatitudes of targets.
- ♦ lons¶
numpy.ndarray (
pyrocko.guts_array.Array
), optionalLongitude of targets.
- ♦ north_shifts¶
numpy.ndarray (
pyrocko.guts_array.Array
), optionalNorth shifts of targets.
- ♦ east_shifts¶
numpy.ndarray (
pyrocko.guts_array.Array
), optionalEast shifts of targets.
- ♦ elevation¶
numpy.ndarray (
pyrocko.guts_array.Array
), optionalElevations of targets.
- get_latlon()[source]¶
Get all coordinates as lat/lon.
- Returns:
Coordinates in Latitude, Longitude
- Return type:
numpy.ndarray
, (N, 2)
- class Receiver(**kwargs)[source]¶
Bases:
Location
Undocumented.
- ♦ codes¶
tuple
of 3str
objects, optionalnetwork, station, and location codes
Bases:
Exception
Raised when it is not possible to use the requested component scheme.
- exception InvalidNComponents[source]¶
Bases:
Exception
Raised when
ncomponents
is incompatible withcomponent_scheme
.
- class DiscretizedSource(**kwargs)[source]¶
Bases:
Object
Base class for discretized sources.
To compute synthetic seismograms, the parameterized source models (see of
Source
derived classes) are first discretized into a number of point sources. These spacio-temporal point source distributions are represented by subclasses of theDiscretizedSource
. For elastodynamic problems there is theDiscretizedMTSource
for moment tensor point source distributions and theDiscretizedExplosionSource
for pure explosion/implosion type source distributions. The geometry calculations are implemented in the base class. How Green’s function components have to be weighted and sumed is defined in the derived classes.Like in the
pyrocko.model.location.Location
class, the positions of the point sources contained in the discretized source are defined by a common reference point (lat
,lon
) and cartesian offsets to this (north_shifts
,east_shifts
,depths
). Alternatively latitude and longitude of each contained point source can be specified directly (lats
,lons
).- ♦ times¶
numpy.ndarray (
pyrocko.guts_array.Array
)
- ♦ lats¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- ♦ lons¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- ♦ lat¶
float
, optional
- ♦ lon¶
float
, optional
- ♦ north_shifts¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- ♦ east_shifts¶
numpy.ndarray (
pyrocko.guts_array.Array
), optional
- ♦ depths¶
numpy.ndarray (
pyrocko.guts_array.Array
)
- ♦ dl¶
float
, optional
- ♦ dw¶
float
, optional
- ♦ nl¶
float
, optional
- ♦ nw¶
float
, optional
- classmethod check_scheme(scheme)[source]¶
Check if given GF component scheme is supported by the class.
Raises
UnavailableScheme
if the given scheme is not supported by this discretized source class.
- property effective_latlons¶
Property holding the offest-corrected lats and lons of all points.
- azibazis_to(receiver)[source]¶
Compute azimuths and backaziumuths to/from receiver, for all contained points.
- classmethod combine(sources, **kwargs)[source]¶
Combine several discretized source models.
Concatenenates all point sources in the given discretized
sources
. Care must be taken when using this function that the external amplitude factors and reference times of the parameterized (undiscretized) sources match or are accounted for.
- class DiscretizedExplosionSource(**kwargs)[source]¶
Bases:
DiscretizedSource
Undocumented.
- ♦ m0s¶
numpy.ndarray (
pyrocko.guts_array.Array
)
- classmethod combine(sources, **kwargs)[source]¶
Combine several discretized source models.
Concatenenates all point sources in the given discretized
sources
. Care must be taken when using this function that the external amplitude factors and reference times of the parameterized (undiscretized) sources match or are accounted for.
- class DiscretizedSFSource(**kwargs)[source]¶
Bases:
DiscretizedSource
Undocumented.
- ♦ forces¶
numpy.ndarray (
pyrocko.guts_array.Array
)
- classmethod combine(sources, **kwargs)[source]¶
Combine several discretized source models.
Concatenenates all point sources in the given discretized
sources
. Care must be taken when using this function that the external amplitude factors and reference times of the parameterized (undiscretized) sources match or are accounted for.
- class DiscretizedMTSource(**kwargs)[source]¶
Bases:
DiscretizedSource
Undocumented.
- ♦ m6s¶
numpy.ndarray (
pyrocko.guts_array.Array
)rows with (m_nn, m_ee, m_dd, m_ne, m_nd, m_ed)
- classmethod combine(sources, **kwargs)[source]¶
Combine several discretized source models.
Concatenenates all point sources in the given discretized
sources
. Care must be taken when using this function that the external amplitude factors and reference times of the parameterized (undiscretized) sources match or are accounted for.
- class DiscretizedPorePressureSource(**kwargs)[source]¶
Bases:
DiscretizedSource
Undocumented.
- ♦ pp¶
numpy.ndarray (
pyrocko.guts_array.Array
)
- classmethod combine(sources, **kwargs)[source]¶
Combine several discretized source models.
Concatenenates all point sources in the given discretized
sources
. Care must be taken when using this function that the external amplitude factors and reference times of the parameterized (undiscretized) sources match or are accounted for.
- class RectangularRegion(**kwargs)[source]¶
Bases:
Region
Undocumented.
- ♦ lat_min¶
float
- ♦ lat_max¶
float
- ♦ lon_min¶
float
- ♦ lon_max¶
float
- class CircularRegion(**kwargs)[source]¶
Bases:
Region
Undocumented.
- ♦ lat¶
float
- ♦ lon¶
float
- ♦ radius¶
float
- class Config(**kwargs)[source]¶
Bases:
Object
Green’s function store meta information.
Currently implemented
Store
configuration types are:ConfigTypeA
- cylindrical or spherical symmetry, 1D earth model, single receiver depthProblem is invariant to horizontal translations and rotations around vertical axis.
All receivers must be at the same depth (e.g. at the surface)
High level index variables:
(source_depth, receiver_distance, component)
ConfigTypeB
- cylindrical or spherical symmetry, 1D earth model, variable receiver depthSymmetries like in Type A but has additional index for receiver depth
High level index variables:
(source_depth, receiver_distance, receiver_depth, component)
ConfigTypeC
- no symmetrical constraints but fixed receiver positionsCartesian source volume around a reference point
High level index variables:
(ireceiver, source_depth, source_east_shift, source_north_shift, component)
- ♦ id¶
str
(StringID
)Name of the store. May consist of upper and lower-case letters, digits, dots and underscores. The name must start with a letter.
- ♦ derived_from_id¶
str
(StringID
), optionalName of the original store, if this store has been derived from another one (e.g. extracted subset).
- ♦ version¶
str
, optional, default:'1.0'
User-defined version string. Use <major>.<minor> format.
- ♦ author¶
str
, optionalComma-separated list of author names.
- ♦ author_email¶
str
, optionalAuthor’s contact email address.
- ♦ created_time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp
), optionalTime of creation of the store.
- ♦ regions¶
list
ofRegion
objects, default:[]
Geographical regions for which the store is representative.
- ♦ scope_type¶
str
(ScopeType
), optionalDistance range scope of the store (choices:
'global'
,'regional'
,'local'
).
- ♦ waveform_type¶
str
(WaveType
), optionalWave type stored (choices:
'full waveform'
,'bodywave'
,'P wave'
,'S wave'
,'surface wave'
).
- ♦ nearfield_terms¶
str
(NearfieldTermsType
), optionalInformation about the inclusion of near-field terms in the modelling (choices:
'complete'
,'incomplete'
,'missing'
).
- ♦ description¶
str
, optionalFree form textual description of the GF store.
- ♦ references¶
list
ofReference
objects, default:[]
Reference list to cite the modelling code, earth model or related work.
- ♦ earthmodel_1d¶
pyrocko.cake.LayeredModel (
Earthmodel1D
), optionalLayered earth model in ND (named discontinuity) format.
- ♦ earthmodel_receiver_1d¶
pyrocko.cake.LayeredModel (
Earthmodel1D
), optionalReceiver-side layered earth model in ND format.
- ♦ can_interpolate_source¶
bool
, optionalHint to indicate if the spatial sampling of the store is dense enough for multi-linear interpolation at the source.
- ♦ can_interpolate_receiver¶
bool
, optionalHint to indicate if the spatial sampling of the store is dense enough for multi-linear interpolation at the receiver.
- ♦ frequency_min¶
float
, optionalHint to indicate the lower bound of valid frequencies [Hz].
- ♦ frequency_max¶
float
, optionalHint to indicate the upper bound of valid frequencies [Hz].
- ♦ sample_rate¶
float
, optionalSample rate of the GF store [Hz].
- ♦ factor¶
float
, optional, default:1.0
Gain value, factored out of the stored GF samples. (may not work properly, keep at 1.0).
- ♦ component_scheme¶
str
(ComponentScheme
), default:'elastic10'
GF component scheme (choices:
'elastic2'
,'elastic8'
,'elastic10'
,'elastic18'
,'elastic5'
,'poroelastic10'
).
- ♦ stored_quantity¶
str
(QuantityType
), optionalPhysical quantity of stored values (choices:
'displacement'
,'rotation'
,'velocity'
,'acceleration'
,'pressure'
,'tilt'
,'pore_pressure'
,'darcy_velocity'
,'vertical_tilt'
). If not given, a default is used based on the GF component scheme. The default for the"elastic*"
family of component schemes is"displacement"
.
- ♦ tabulated_phases¶
list
ofTPDef
objects, default:[]
Mapping of phase names to phase definitions, for which travel time tables are available in the GF store.
- ♦ ncomponents¶
int
, optionalNumber of GF components. Use
component_scheme
instead.
- ♦ uuid¶
str
, optionalHeuristic hash value which can be used to uniquely identify the GF store for practical purposes.
- ♦ reference¶
str
, optionalStore reference name composed of the store’s
id
and the first six letters of itsuuid
.
- get_shear_moduli(lat, lon, points, interpolation=None)[source]¶
Get shear moduli at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates the shear moduli from the contained 1D velocity profile.
- get_lambda_moduli(lat, lon, points, interpolation=None)[source]¶
Get lambda moduli at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates the lambda moduli from the contained 1D velocity profile.
- get_bulk_moduli(lat, lon, points, interpolation=None)[source]¶
Get bulk moduli at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates the lambda moduli from the contained 1D velocity profile.
- get_vs(lat, lon, points, interpolation=None)[source]¶
Get Vs at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates Vs from the contained 1D velocity profile.
- get_vp(lat, lon, points, interpolation=None)[source]¶
Get Vp at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates Vp from the contained 1D velocity profile.
- get_rho(lat, lon, points, interpolation=None)[source]¶
Get rho at given points from contained velocity model.
- Parameters:
lat – surface origin for coordinate system of
points
points – NumPy array of shape
(N, 3)
, where each row is a point(north, east, depth)
, relative to origin at(lat, lon)
interpolation – interpolation method. Choose from
('nearest_neighbor', 'multilinear')
- Returns:
NumPy array of length N with extracted shear moduli at each point
The default implementation retrieves and interpolates rho from the contained 1D velocity profile.
- class ConfigTypeA(**kwargs)[source]¶
Bases:
Config
Cylindrical symmetry, 1D earth model, single receiver depth
Problem is invariant to horizontal translations and rotations around vertical axis.
All receivers must be at the same depth (e.g. at the surface) High level index variables:
(source_depth, distance, component)
The
distance
is the surface distance between source and receiver points.
- ♦ receiver_depth¶
float
, default:0.0
Fixed receiver depth [m].
- ♦ source_depth_min¶
float
Minimum source depth [m].
- ♦ source_depth_max¶
float
Maximum source depth [m].
- ♦ source_depth_delta¶
float
Grid spacing of source depths [m]
- ♦ distance_min¶
float
Minimum source-receiver surface distance [m].
- ♦ distance_max¶
float
Maximum source-receiver surface distance [m].
- ♦ distance_delta¶
float
Grid spacing of source-receiver surface distance [m].
- class ConfigTypeB(**kwargs)[source]¶
Bases:
Config
Cylindrical symmetry, 1D earth model, variable receiver depth
Symmetries like in
ConfigTypeA
but has additional index for receiver depthHigh level index variables:
(receiver_depth, source_depth, receiver_distance, component)
- ♦ receiver_depth_min¶
float
Minimum receiver depth [m].
- ♦ receiver_depth_max¶
float
Maximum receiver depth [m].
- ♦ receiver_depth_delta¶
float
Grid spacing of receiver depths [m]
- ♦ source_depth_min¶
float
Minimum source depth [m].
- ♦ source_depth_max¶
float
Maximum source depth [m].
- ♦ source_depth_delta¶
float
Grid spacing of source depths [m]
- ♦ distance_min¶
float
Minimum source-receiver surface distance [m].
- ♦ distance_max¶
float
Maximum source-receiver surface distance [m].
- ♦ distance_delta¶
float
Grid spacing of source-receiver surface distances [m].
- class ConfigTypeC(**kwargs)[source]¶
Bases:
Config
No symmetrical constraints, one fixed receiver position.
Cartesian 3D source volume around a reference point
High level index variables:
(source_depth, source_east_shift, source_north_shift, component)
- ♦ source_origin¶
pyrocko.model.location.Location
Origin of the source volume grid.
- ♦ source_depth_min¶
float
Minimum source depth [m].
- ♦ source_depth_max¶
float
Maximum source depth [m].
- ♦ source_depth_delta¶
float
Source depth grid spacing [m].
- ♦ source_east_shift_min¶
float
Minimum easting of source grid [m].
- ♦ source_east_shift_max¶
float
Maximum easting of source grid [m].
- ♦ source_east_shift_delta¶
float
Source volume grid spacing in east direction [m].
- ♦ source_north_shift_min¶
float
Minimum northing of source grid [m].
- ♦ source_north_shift_max¶
float
Maximum northing of source grid [m].
- ♦ source_north_shift_delta¶
float
Source volume grid spacing in north direction [m].
- class Taper(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ tfade¶
float
, default:0.0
- ♦ shape¶
str
(pyrocko.guts.StringChoice
), optional, default:'cos'
- class WaveformType(...) str [source]¶
Bases:
StringChoice
Any
str
out of['dis', 'vel', 'acc', 'amp_spec_dis', 'amp_spec_vel', 'amp_spec_acc', 'envelope_dis', 'envelope_vel', 'envelope_acc']
.
- class ChannelSelection(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ pattern¶
SimplePattern
, optional
- ♦ min_sample_rate¶
float
, optional
- ♦ max_sample_rate¶
float
, optional
- class StationSelection(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ includes¶
- ♦ excludes¶
- ♦ distance_min¶
float
, optional
- ♦ distance_max¶
float
, optional
- ♦ azimuth_min¶
float
, optional
- ♦ azimuth_max¶
float
, optional
- class WaveformSelection(**kwargs)[source]¶
Bases:
Object
Undocumented.
- ♦ channel_selection¶
ChannelSelection
, optional
- ♦ station_selection¶
StationSelection
, optional
- ♦ waveform_type¶
str
(WaveformType
), default:'dis'
- ♦ sample_rate¶
float
, optional