Usage

Generally either

import * as traveltime from 'seisplotjs-traveltime'
traveltime.xxxx

or

import * as seisplotjs from 'seisplotjs'
seisplotjs.traveltime.xxxx

Core Functionality

Core functions for using the IRIS traveltime web service

TraveltimeQuery

src/traveltime.js
new TraveltimeQuery(host: string?)
Parameters
host (string?)
Instance Members
protocol(value)
host(value)
specVersion(value)
evdepth(value)
distdeg(value)
model(value)
phases(value)
stalat(value)
stalon(value)
evlat(value)
evlon(value)
format(value)
noheader(value)
convertToArrival(ttimeline)
queryText()
queryJson()
querySvg()
queryWadl()
query()
makeParam(name, val)
formBaseURL()
formURL()
queryTauPVersion()
formTauPVersionURL()
formWadlURL()

Core Classes and Constants

Core classes returned from the above functions.

IRIS_HOST
TEXT_FORMAT

Type: string

JSON_FORMAT

Type: string

SVG_FORMAT

Type: string

Other

Stuff I forgot to put in the TOC.