pyrocko.gf.targets¶
Data structures representing the receivers for seismogram synthesis.
Functions

Get component and azimuth for standard components R, T, Z, N, and E. 
Classes

Undocumented. 

Undocumented. 

Undocumented. 

Any 

A computation request for a spatial multilocation target of static/geodetic quantities measured from a satellite instrument. 

A computation request for a spatial multilocation target of static/geodetic quantities. 

A seismogram computation request for a single component, including its postprocessing parmeters. 
 class OptimizationMethod(...) str [source]¶
Bases:
StringChoice
Any
str
out of['enable', 'disable']
.
 component_orientation(source, target, component)[source]¶
Get component and azimuth for standard components R, T, Z, N, and E.
 Parameters:
source –
pyrocko.model.location.Location
objecttarget –
pyrocko.model.location.Location
objectcomponent – string
'R'
,'T'
,'Z'
,'N'
or'E'
 class Target(**kwargs)[source]¶
Bases:
Receiver
A seismogram computation request for a single component, including its postprocessing parmeters.
 ♦ quantity¶
str
(pyrocko.gf.meta.QuantityType
), optionalMeasurement quantity type. If not given, it is guessed from the channel code. For some common cases, derivatives of the stored quantities are supported by using finite difference approximations (e.g. displacement to velocity or acceleration). 4th order central FD schemes are used.
 ♦ codes¶
tuple
of 4str
objects, default:('', 'STA', '', 'Z')
network, station, location and channel codes to be set on the response trace.
 ♦ elevation¶
float
, default:0.0
station surface elevation in [m]
 ♦ store_id¶
str
(pyrocko.gf.meta.StringID
), optionalID of Green’s function store to use for the computation. If not given, the processor may use a system default.
 ♦ sample_rate¶
float
, optionalsample rate to produce. If not given the GF store’s default sample rate is used. GF store specific restrictions may apply.
 ♦ interpolation¶
str
(pyrocko.gf.meta.InterpolationMethod
), default:'nearest_neighbor'
Interpolation method between Green’s functions. Supported are
nearest_neighbor
andmultilinear
 ♦ optimization¶
str
(OptimizationMethod
), optional, default:'enable'
disable/enable optimizations in weightdelayandsum operation
 ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp
), optionaltime of first sample to request in [s]. If not given, it is determined from the Green’s functions.
 ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp
), optionaltime of last sample to request in [s]. If not given, it is determined from the Green’s functions.
 ♦ azimuth¶
float
, optionalazimuth of sensor component in [deg], clockwise from north. If not given, it is guessed from the channel code.
 ♦ dip¶
float
, optionaldip of sensor component in [deg], measured downward from horizontal. If not given, it is guessed from the channel code.
 class StaticTarget(*args, **kwargs)[source]¶
Bases:
MultiLocation
A computation request for a spatial multilocation target of static/geodetic quantities.
 ♦ quantity¶
str
(pyrocko.gf.meta.QuantityType
), optional, default:'displacement'
Measurement quantity type, for now only displacement issupported.
 ♦ interpolation¶
str
(pyrocko.gf.meta.InterpolationMethod
), default:'nearest_neighbor'
Interpolation method between Green’s functions. Supported are
nearest_neighbor
andmultilinear
 ♦ tsnapshot¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp
), optionaltime of the desired snapshot in [s], If not given, the first sample is taken. If the desired sample exceeds the length of the Green’s function store, the last sample is taken.
 ♦ store_id¶
str
(pyrocko.gf.meta.StringID
), optionalID of Green’s function store to use for the computation. If not given, the processor may use a system default.
 property ntargets¶
Number of targets held by instance.
 class SatelliteTarget(*args, **kwargs)[source]¶
Bases:
StaticTarget
A computation request for a spatial multilocation target of static/geodetic quantities measured from a satellite instrument. The line of sight angles are provided and projecting postprocessing is applied.
 ♦ theta¶
numpy.ndarray (
pyrocko.guts_array.Array
)Horizontal angle towards satellite’s line of sight in radians.
Important
is east and is north.
 ♦ phi¶
numpy.ndarray (
pyrocko.guts_array.Array
)Theta is look vector elevation angle towards satellite from horizon in radians. Matrix of theta towards satellite’s line of sight.
Important
is down and is up.
 class KiteSceneTarget(scene, **kwargs)[source]¶
Bases:
SatelliteTarget
Undocumented.
 ♦ shape¶
tuple
of 2int
objects, default:(None, None)
Shape of the displacement vectors.
 class GNSSCampaignTarget(*args, **kwargs)[source]¶
Bases:
StaticTarget
Undocumented.