COUNT_UNIT

Type: string

HighLowType

Type: {xScaleDomain: Array<Date>, xScaleRange: Array<number>, secondsPerPixel: number, samplesPerPixel: number, highlowArray: Array<number>}

Properties
xScaleDomain (Array<Date>)
xScaleRange (Array<number>)
secondsPerPixel (number)
samplesPerPixel (number)
highlowArray (Array<number>)

SeismogramSegment

src/seismogramsegment.ts

A contiguous segment of a Seismogram.

new SeismogramSegment(yArray: (Array<seedcodec.EncodedDataSegment> | Int32Array | Float32Array | Float64Array), sampleRate: number, startTime: DateTime)
Parameters
yArray ((Array<seedcodec.EncodedDataSegment> | Int32Array | Float32Array | Float64Array)) array of Y sample values, ie the timeseries
sampleRate (number) sample rate of the seismogram, hertz
startTime (DateTime) start time of seismogrm as a luxon DateTime in utc or a string that can be parsed
Instance Members
_y
_compressed
_endTime_cache
_endTime_cache_numPoints
_sourceId
networkCode
stationCode
locationCode
channelCode
y
start
start
startTime
startTime
end
endTime
timeWindow
timeRange
sampleRate
sampleRate
samplePeriod
numPoints
netCode
staCode
locId
locCode
chanCode
isEncoded()
getEncoded()
yAtIndex(i)
findMinMax(minMaxAccumulator?)
timeOfSample(i)
indexOfTime(t)
hasCodes()
nslc
codes(sep)
seisId()
sourceId
cloneWithNewData(clonedData, clonedStartTime)
cut(timeRange)
_invalidate_endTime_cache()