2.0.0-alpha.6
Type: string
Type: {xScaleDomain: Array<number>, xScaleRange: Array<number>, secondsPerPixel: number, samplesPerPixel: number, highlowArray: Array<number>}
Type: {name: string, time: moment, type: string, description: string}
A contiguous segment of a Seismogram.
((Array<seedcodec.EncodedDataSegment> | Int32Array | Float32Array | Float64Array))
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
Array of y values
Type: (null | Int32Array | Float32Array | Float64Array)
Type: (null | moment)
Type: HighLowType
Y data of the seismogram. Decompresses data if needed.
Type: (Int32Array | Float32Array | Float64Array)
(Int32Array | Float32Array | Float64Array)
:
y data as typed array
Type: (Int32Array | Float32Array | Float64Array)
((Int32Array | Float32Array | Float64Array))
Type: moment
moment
Type: moment
moment
Type: StartEndDuration
StartEndDuration
SeismogramSegment
((Array<seedcodec.EncodedDataSegment> | Int32Array | Float32Array | Float64Array))
(moment
= this._startTime
)
SeismogramSegment
(StartEndDuration)
(SeismogramSegment | null)
Represents time window for a single channel that may contain gaps or overlaps, but is otherwise more or less continuous, or at least adjacent data from the channel. Each segment within the Seismogram will have the same units, channel identifiers and sample rate, but cover different times.
((SeismogramSegment | Array<SeismogramSegment>))
factory method to create a single segment Seismogram from either encoded data or a TypedArray, along with sample rate and start time.
((Array<seedcodec.EncodedDataSegment> | Int32Array | Float32Array | Float64Array))
array of encoded data or typed array
(number)
sample rate, samples per second of the data
(moment)
time of first sample
any
:
seismogram initialized with the data
Type: Array<SeismogramSegment>
Type: moment
Type: moment
Type: (null | Int32Array | Float32Array | Float64Array)
Type: moment
moment
Type: moment
moment
Type: StartEndDuration
StartEndDuration
Type: Array<SeismogramSegment>
Array<SeismogramSegment>
((SeismogramSegment | Seismogram))
Cut the seismogram. Creates a new seismogram with all datapoints contained in the time window.
(StartEndDuration)
start and end of cut
(null | Seismogram)
:
new seismogram
Creates a new Seismogram composed of all seismogram segments that overlap the given time window. If none do, this returns null. This is a faster but coarser version of cut as it only removes whole segments that do not overlap the time window. For most seismograms that consist of a single contiguous data segment, this will do nothing.
(StartEndDuration)
time range to trim to
(null | Seismogram)
:
seismogram if data in the window, null otherwise
(moment.Duration)
(Int32Array | Float32Array | Float64Array)
Gets the timeseries as an typed array if it is contiguous.
Type: (Int32Array | Float32Array | Float64Array)
(Int32Array | Float32Array | Float64Array)
:
timeseries as array of number
Type: (Int32Array | Float32Array | Float64Array)
((Int32Array | Float32Array | Float64Array))
Seismogram
((Int32Array | Float32Array | Float64Array))
Seismogram
Extends Error
(string?)
((Seismogram | SeismogramSegment))
(StartEndDuration)
(Seismogram)
SeismogramDisplayData
(Channel)
(StartEndDuration)
SeismogramDisplayData
(Channel)
(moment)
(moment)
SeismogramDisplayData
Type: Array<MarkerType>
Type: (Channel | null)
Type: (InstrumentSensitivity | null)
Type: StartEndDuration
Type: (moment | null)
Type: (SeismogramDisplayStats | null)
((MarkerType | Array<MarkerType>))
Type: moment
moment
Type: moment
moment
Type: (InstrumentSensitivity | null)
(InstrumentSensitivity | null)
Type: (InstrumentSensitivity | null)
((InstrumentSensitivity | null))
Type: (Seismogram | null)
((Seismogram | null))
SeismogramDisplayData
((Seismogram | null))
SeismogramDisplayData
Cut the seismogram. Creates a new seismogramDisplayData with the cut seismogram and the timeWindow set to the new time window.
(StartEndDuration)
start and end of cut
(null | SeismogramDisplayData)
:
new seismogramDisplayData
(Array<SeismogramDisplayData>)
StartEndDuration
(Array<SeismogramDisplayData>)
Array<number>
(Array<SeismogramDisplayData>)
(StartEndDuration)
Array<number>
(Array<Seismogram>)
(StartEndDuration?)
StartEndDuration
(Array<Seismogram>)
Array<number>