Skip to content

Ray Tracers

qseek.tracers.base.RayTracer pydantic-model

Bases: BaseModel

Fields:

get_travel_times async

get_travel_times(phase: str, nodes: Sequence[Node], stations: Stations) -> ndarray

Get travel times for a phase from a source to a set of stations.

Parameters:

Name Type Description Default
phase str

Phase name.

required
nodes Sequence[Node]

Nodes to get traveltime for.

required
stations Stations

Stations to calculate travel times to.

required

Returns:

Type Description
ndarray

Travel times in seconds.