2.0.0-alpha.4
Type: string
Type: string
Type: string
(any)
boolean
(any)
boolean
(any)
boolean
(any)
boolean
(any)
boolean
(any)
boolean
(DataView)
String representation of input. THis is kind of dumb but makes flow happier.
(any)
string
(moment)
number
Any two of startTime, endTime and duration can be specified, or just duration which then assumes endTime is now. startTime and endTime are moment objects, duration is in seconds. clockOffset is the seconds that should be subtracted from the computer time to get real world time, ie computerUTC - UTC or moment.utc().diff(serverTimeUTC, 'seconds', true). default is zero.
((moment | null))
((moment | null))
((moment.duration | number | null)
= null
)
((number | null)
= 0
)
Type: moment.duration
Type: moment.duration
(StartEndDuration)
boolean
converts the input value is a moment, throws Error if not a string, Date or moment. Zero length string or "now" return current time.
(any)
moment
converts to ISO8601 but removes the trailing Z as FDSN web services do not allow that.
(moment)
string
returns the protocol, http or https for the document if possible.
(string)
{}
Promise<Response>
Recursively calculates the mean of a slice of an array. This helps with very long seismograms to equally weight each sample point without overflowing.
((Int32Array | Float32Array | Float64Array))
slice of a seismogram
(number)
number of points in the original seismogram
number
:
sum of slice data points divided by totalPts