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:
StringChoiceAny
strout of['nearest_neighbor', 'multilinear'].
- class SeismosizerTrace(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ codes¶
tupleof 4strobjects, 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.0sampling 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:
ObjectUndocumented.
- ♦ n_records_stacked¶
int, optional, default:1
- ♦ t_stack¶
float, optional, default:0.0
- class Result(**kwargs)[source]¶
Bases:
SeismosizerResultUndocumented.
- ♦ trace¶
SeismosizerTrace, optional
int, optional, default:1
- ♦ t_optimize¶
float, optional, default:0.0
- class StaticResult(**kwargs)[source]¶
Bases:
SeismosizerResultUndocumented.
- ♦ result¶
dictof numpy.ndarray (pyrocko.guts_array.Array) objects, default:{}
- class GNSSCampaignResult(**kwargs)[source]¶
Bases:
StaticResultUndocumented.
- ♦ campaign¶
pyrocko.model.gnss.GNSSCampaign, optional
- class SatelliteResult(**kwargs)[source]¶
Bases:
StaticResultUndocumented.
- ♦ theta¶
numpy.ndarray (
pyrocko.guts_array.Array), optional
- ♦ phi¶
numpy.ndarray (
pyrocko.guts_array.Array), optional
- class KiteSceneResult(**kwargs)[source]¶
Bases:
SatelliteResultUndocumented.
- ♦ shape¶
tupleofpyrocko.guts.Anyobjects, default:()
- class ComponentSchemeDescription(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ name¶
str
- ♦ source_terms¶
listofstrobjects, default:[]
- ♦ ncomponents¶
int
- ♦ default_stored_quantity¶
str, optional
- ♦ provided_components¶
listofstrobjects, default:[]
- class ComponentScheme(...) str[source]¶
Bases:
StringChoiceDifferent Green’s Function component schemes are available:
Name
Description
elastic10Elastodynamic for
ConfigTypeAandConfigTypeBstores, MT sources onlyelastic8Elastodynamic for far-field only
ConfigTypeAandConfigTypeBstores, MT sources onlyelastic2Elastodynamic for
ConfigTypeAandConfigTypeBstores, purely isotropic sources onlyelastic5Elastodynamic for
ConfigTypeAandConfigTypeBstores, SF sources onlyelastic18Elastodynamic for
ConfigTypeCstores, MT sources onlyporoelastic10Poroelastic for
ConfigTypeAandConfigTypeBstoresrotational8Elastodynamic rotational motions for
ConfigTypeAandConfigTypeBstores, MT sources only
- class Earthmodel1D(...) pyrocko.cake.LayeredModel[source]¶
Bases:
ObjectUndocumented.
- class StringID(...) str[source]¶
Bases:
StringPatternAny
strmatching pattern'^[A-Za-z][A-Za-z0-9._]{0,64}$'.
- class ScopeType(...) str[source]¶
Bases:
StringChoiceAny
strout of['global', 'regional', 'local'].
- class WaveType(...) str[source]¶
Bases:
StringChoiceAny
strout of['full waveform', 'bodywave', 'P wave', 'S wave', 'surface wave'].
- class NearfieldTermsType(...) str[source]¶
Bases:
StringChoiceAny
strout of['complete', 'incomplete', 'missing'].
- class QuantityType(...) str[source]¶
Bases:
StringChoiceAny
strout of['displacement', 'velocity', 'acceleration', 'rotation_displacement', 'rotation_velocity', 'rotation_acceleration', 'pressure', 'tilt', 'pore_pressure', 'darcy_velocity', 'vertical_tilt'].
- class Reference(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ 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¶
listofstrobjects, default:[]
- ♦ publisher¶
str, optional
- ♦ keywords¶
str, optional
- ♦ note¶
str, optional
- ♦ abstract¶
str, optional
- class PhaseSelect(...) str[source]¶
Bases:
StringChoiceAny
strout of['', 'first', 'last'].
- class Timing(s=None, **kwargs)[source]¶
Bases:
SObjectDefinition 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)wherestris 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¶
listofstrobjects, 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:
ObjectMaps an arrival phase identifier to an arrival phase definition.
- ♦ definition¶
strdefinition 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:
ObjectUnstructured 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:
LocationUndocumented.
- ♦ codes¶
tupleof 3strobjects, optionalnetwork, station, and location codes
Bases:
ExceptionRaised when it is not possible to use the requested component scheme.
- exception InvalidNComponents[source]¶
Bases:
ExceptionRaised when
ncomponentsis incompatible withcomponent_scheme.
- class DiscretizedSource(**kwargs)[source]¶
Bases:
ObjectBase class for discretized sources.
To compute synthetic seismograms, the parameterized source models (see of
Sourcederived 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 theDiscretizedMTSourcefor moment tensor point source distributions and theDiscretizedExplosionSourcefor 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.Locationclass, 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
UnavailableSchemeif 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:
DiscretizedSourceUndocumented.
- ♦ 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:
DiscretizedSourceUndocumented.
- ♦ 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:
DiscretizedSourceUndocumented.
- ♦ 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:
DiscretizedSourceUndocumented.
- ♦ 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:
RegionUndocumented.
- ♦ lat_min¶
float
- ♦ lat_max¶
float
- ♦ lon_min¶
float
- ♦ lon_max¶
float
- class CircularRegion(**kwargs)[source]¶
Bases:
RegionUndocumented.
- ♦ lat¶
float
- ♦ lon¶
float
- ♦ radius¶
float
- class Config(**kwargs)[source]¶
Bases:
ObjectGreen’s function store meta information.
Currently implemented
Storeconfiguration 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¶
listofRegionobjects, 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¶
listofReferenceobjects, 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.0Gain 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','elastic10_fd','elastic18','elastic5','rotational8','poroelastic10').
- ♦ stored_quantity¶
str(QuantityType), optionalPhysical quantity of stored values (choices:
'displacement','velocity','acceleration','rotation_displacement','rotation_velocity','rotation_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¶
listofTPDefobjects, 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_schemeinstead.
- ♦ 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
idand 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
pointspoints – 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
pointspoints – 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
pointspoints – 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
pointspoints – 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
pointspoints – 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
pointspoints – 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:
ConfigCylindrical 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
distanceis the surface distance between source and receiver points.
- ♦ receiver_depth¶
float, default:0.0Fixed receiver depth [m].
- ♦ source_depth_min¶
floatMinimum source depth [m].
- ♦ source_depth_max¶
floatMaximum source depth [m].
- ♦ source_depth_delta¶
floatGrid spacing of source depths [m]
- ♦ distance_min¶
floatMinimum source-receiver surface distance [m].
- ♦ distance_max¶
floatMaximum source-receiver surface distance [m].
- ♦ distance_delta¶
floatGrid spacing of source-receiver surface distance [m].
- ♦ fd_distance_delta¶
float, optionalFinite differences interval for FD stores [m].
- class ConfigTypeB(**kwargs)[source]¶
Bases:
ConfigCylindrical symmetry, 1D earth model, variable receiver depth
Symmetries like in
ConfigTypeAbut has additional index for receiver depthHigh level index variables:
(receiver_depth, source_depth, receiver_distance, component)
- ♦ receiver_depth_min¶
floatMinimum receiver depth [m].
- ♦ receiver_depth_max¶
floatMaximum receiver depth [m].
- ♦ receiver_depth_delta¶
floatGrid spacing of receiver depths [m]
- ♦ source_depth_min¶
floatMinimum source depth [m].
- ♦ source_depth_max¶
floatMaximum source depth [m].
- ♦ source_depth_delta¶
floatGrid spacing of source depths [m]
- ♦ distance_min¶
floatMinimum source-receiver surface distance [m].
- ♦ distance_max¶
floatMaximum source-receiver surface distance [m].
- ♦ distance_delta¶
floatGrid spacing of source-receiver surface distances [m].
- ♦ fd_distance_delta¶
float, optionalFinite differences interval for FD stores [m].
- ♦ fd_receiver_depth_delta¶
float, optionalFinite differences interval for FD stores [m].
- class ConfigTypeC(**kwargs)[source]¶
Bases:
ConfigNo 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.LocationOrigin of the source volume grid.
- ♦ source_depth_min¶
floatMinimum source depth [m].
- ♦ source_depth_max¶
floatMaximum source depth [m].
- ♦ source_depth_delta¶
floatSource depth grid spacing [m].
- ♦ source_east_shift_min¶
floatMinimum easting of source grid [m].
- ♦ source_east_shift_max¶
floatMaximum easting of source grid [m].
- ♦ source_east_shift_delta¶
floatSource volume grid spacing in east direction [m].
- ♦ source_north_shift_min¶
floatMinimum northing of source grid [m].
- ♦ source_north_shift_max¶
floatMaximum northing of source grid [m].
- ♦ source_north_shift_delta¶
floatSource volume grid spacing in north direction [m].
- class Taper(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ tfade¶
float, default:0.0
- ♦ shape¶
str(pyrocko.guts.StringChoice), optional, default:'cos'
- class WaveformType(...) str[source]¶
Bases:
StringChoiceAny
strout of['dis', 'vel', 'acc', 'amp_spec_dis', 'amp_spec_vel', 'amp_spec_acc', 'envelope_dis', 'envelope_vel', 'envelope_acc'].
- class ChannelSelection(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ pattern¶
SimplePattern, optional
- ♦ min_sample_rate¶
float, optional
- ♦ max_sample_rate¶
float, optional
- class StationSelection(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ includes¶
- ♦ excludes¶
- ♦ distance_min¶
float, optional
- ♦ distance_max¶
float, optional
- ♦ azimuth_min¶
float, optional
- ♦ azimuth_max¶
float, optional
- class WaveformSelection(**kwargs)[source]¶
Bases:
ObjectUndocumented.
- ♦ channel_selection¶
ChannelSelection, optional
- ♦ station_selection¶
StationSelection, optional
- ♦ waveform_type¶
str(WaveformType), default:'dis'
- ♦ sample_rate¶
float, optional