1.2.0
Generally either
import * as model from 'seisplotjs-model'
model.xxxx
or
import * as seisplotjs from 'seisplotjs'
seisplotjs.model.xxxx
Objects relating to stations and channels, via StationXML
(string)
(InstrumentSensitivity)
(InstrumentSensitivity | Channel)
(InstrumentSensitivity)
(InstrumentSensitivity)
(number)
(number | InstrumentSensitivity)
(number)
(number | InstrumentSensitivity)
(string)
(string | InstrumentSensitivity)
(string)
(string | InstrumentSensitivity)
(AbstractFilterType)
(Decimation)
Extends AbstractFilterType
(Array<ComplexType>)
(Array<ComplexType>)
Extends AbstractFilterType
Extends AbstractFilterType
Objects relating to earthquakes, magnitudes, and picks, via QuakeML
Represent a QuakeML Event. Renamed to Quake as Event conflicts with other uses in javascript.
Represents a QuakeML Origin.
Represents a QuakeML Magnitude.
Represents a QuakeML Arrival, a combination of a Pick with a phase name.
Represents a QuakeML Pick.
Seismogram object, related to miniseed and other formats.
A Seismogram object.
(Array)
array of Y sample values, ie the timeseries
(number)
sample rate of the seismogram, hertz
(moment)
start time of seismogrm as a momentjs moment in utc or a string that can be parsed
(moment)
(moment | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(string)
(string | Seismogram)
(Array<number> | Seismogram)
Seismogram
Misc utility functions and other odds and ends.
Loads all known data centers. JSON top level has: created - modification date, datacenters - array of objects, each with id, name, website, email, host, region and and supports that is an array of type and version. Returns a Promise that resolves to the returned json.
Promise<KnownDCS_JSON>
Forces a reload of the remote json. In general, because the data is updated infrequently, this is unlikely to be needed. However, a very long running instance may wish to update this periodically, likely at most daily. Returns a Promise.
Promise<KnownDCS_JSON>
returns the hostname for type web service. In many cases this is the same as the host for the overall datacenter, but sometimes not all web services are hosted on the same machine. For example all fdsn web services at IRIS are hosted at service.iris.edu but the ringserver is hosted at rtserve.iris.edu
(DataCenterType)
(string)
string
Type: {real: number, imag: number}
ComplexType
(any)
boolean
(any)
boolean
(any)
boolean
(any)
boolean
String representation of input. THis is kind of dumb but makes flow happier.
(any)
string
converts the input value is a moment, throws Error if not a string, Date or moment.
(any)
moment
converts to ISO8601 but removes the trailing Z as FDSN web services do not allow that.
(moment)
string
(any)
boolean
Stuff I forgot to put in the TOC.