MarkerType

Type: {name: string, time: DateTime, markertype: string, description: string, link: string?}

Properties
name (string)
time (DateTime)
markertype (string)
description (string)
link (string?)
isValidMarker(v: any): any
Parameters
v (any)
Returns
any

createMarkersForTravelTimes

src/seismographmarker.ts

Creates Markers for all of the arrivals in ttime.arrivals, relative to the given Quake.

createMarkersForTravelTimes(quake: Quake, ttime: TraveltimeJsonType): Array<MarkerType>
Parameters
quake (Quake) quake the travel times are relative to
ttime (TraveltimeJsonType) travel times json object as returned from the IRIS traveltime web service, or the json output of TauP
Returns
Array<MarkerType>: array of Markers suitable for adding to a seismograph

createMarkerForOriginTime

src/seismographmarker.ts

Creates a Marker for the origin time in ttime.arrivals, for the given Quake.

createMarkerForOriginTime(quake: Quake): MarkerType
Parameters
quake (Quake) quake the travel times are relative to
Returns
MarkerType: Marker suitable for adding to a seismograph

createFullMarkersForQuakeAtStation

src/seismographmarker.ts
createFullMarkersForQuakeAtStation(quake: Quake, station: Station): Array<MarkerType>
Parameters
quake (Quake)
station (Station)
Returns
Array<MarkerType>

createFullMarkersForQuakeAtChannel

src/seismographmarker.ts
createFullMarkersForQuakeAtChannel(quake: Quake, channel: Channel): Array<MarkerType>
Parameters
quake (Quake)
channel (Channel)
Returns
Array<MarkerType>

createMarkerForQuakePicks

src/seismographmarker.ts

Creates a Marker for the picked arrival times in quake.pickList, for the given Quake.

createMarkerForQuakePicks(quake: Quake, channel: Channel): Array<MarkerType>
Parameters
quake (Quake) quake the travel times are relative to
channel (Channel) channel picks made on
Returns
Array<MarkerType>: Marker suitable for adding to a seismograph

createMarkerForPicks

src/seismographmarker.ts

Creates a Marker for the picked arrival times in quake.arrivals, for the given Quake.

createMarkerForPicks(origin: Origin, channel: Channel): Array<MarkerType>
Parameters
origin (Origin) quake the travel times are relative to
channel (Channel) channel picks made on
Returns
Array<MarkerType>: Marker suitable for adding to a seismograph