Required
st| Type: | obspy.Stream |
| Description: | Waveform data. All traces must have exactly the same samples and are interpreted as different components of a single receiver. |
single_velocity: Assumes a homogeneous full space. Implements the
approximation of Forbriger et al. (2014) equation 52. Technically only
works in homogeneous full space models but works decently well for
wavefields containing many different types of waves.single_velocity_exact: Same as single_velocity but uses the exact
formulation. It is a bit more accurate in the near-field but also a bit
slower. See Forbringer et al. (2014) equation 31 for details.direct_wave: Uses the source-receiver distance as a proxy for the
travel time. Useful for shallow seismic data including surface waves.
See Forbringer et al. (2014), section 5.2, for details.reflected_wave: Estimates the travelled distance via the given
velocity and the actual travel time. Useful for reflected waves.
See Forbringer et al. (2014), section 5.1, for details.hybrid: Use the single_velocity transformation up close and the
direct_wave one further away. Interpolate between both in a transition
zone.
See Forbringer et al. (2014), section 5.3 for more details on the
reasoning behind this.def convert_point_to_line_source(
st: obspy.Stream,
source_coordinates: np.ndarray | list[float],
receiver_coordinates: np.ndarray | list[float],
transform_type: str,
velocity_m_s: float,
distance_type: str = "offset",
hybrid_transformation_transition_zone: (
collections.abc.Sequence[float] | None
) = None,
) -> obspy.Stream: ...| Type: | obspy.Stream |
| Description: | Waveform data. All traces must have exactly the same samples and are interpreted as different components of a single receiver. |
| Type: | np.ndarray | list[float] |
| Description: | 2-D source coordinates. The coordinates are assumed to be already projected onto a 2-D plane. |
| Type: | np.ndarray | list[float] |
| Description: | 2-D receiver coordinates. The coordinates are assumed to be already projected onto a 2-D plane. |
| Type: | str |
| Description: | Which transform type to use. See the docstring for details. |
| Type: | float |
| Description: | Assumed velocity of the medium in meter per second. |
| Type: | str |
| Default value: | 'offset' |
| Description: | How the distance between source and receiver is computed. Can be either "offset" or "full". "offset" will ignore the y coordinates, whereas "full" will compute the full 2-D distance between the two points. |
| Type: | collections.abc.Sequence[float] | None |
| Default value: | None |
| Description: | The transition zone for the hybrid transformation type. Must only be given when using it. Must be a tuple of two numbers, both denoting two distances in meters. For a source-receiver distance/offset of less than the first number, the single_velocity transform will be used. For a larger distance/offset the direct_wave transform will be used. It will linearly interpolate between both in the transition zone. |
obspy.Stream