AMPLITUDE_MODE

src/scale.ts

enum for amplitude modes, RAW, ZERO, MINMAX, MEAN

AMPLITUDE_MODE

MinMaxable

src/scale.ts
new MinMaxable(min: number, max: number)
Parameters
min (number)
max (number)
Static Members
fromArray(minmax)
fromMiddleHalfWidth(mid, halfWidth)
Instance Members
min
max
middle
halfWidth
fullWidth
union(omm?)
expandPercentage(percent)
asArray()
toString()

AmplitudeScalable

src/scale.ts
new AmplitudeScalable(minMax: MinMaxable?)
Parameters
minMax (MinMaxable?)
Instance Members
minMax
notifyAmplitudeChange(_middle, _halfWidth)
middle
halfWidth
fullWidth
min
max
toString()

TimeScalable

src/scale.ts
new TimeScalable(alignmentTimeOffset: Duration, duration: Duration)
Parameters
alignmentTimeOffset (Duration)
duration (Duration)
Instance Members
alignmentTimeOffset
duration
notifyTimeRangeChange(_alignmentTimeOffset, _duration)

LinkedAmplitudeScale

src/scale.ts

Links amplitude scales across multiple seismographs, respecting doRmean.

new LinkedAmplitudeScale(graphList: Array<AmplitudeScalable>?)
Parameters
graphList (Array<AmplitudeScalable>?) optional list of AmplitudeScalable to link
Instance Members
_halfWidth
_recalcTimeoutID
_scaleId
halfWidth
halfWidth
linkAll(graphList)
recalculate()
_internalNotifyAll()
graphList

IndividualAmplitudeScale

src/scale.ts
new IndividualAmplitudeScale(graphList: Array<AmplitudeScalable>?)

Extends LinkedAmplitudeScale

Parameters
graphList (Array<AmplitudeScalable>?)
Instance Members

FixedHalfWidthAmplitudeScale

src/scale.ts
new FixedHalfWidthAmplitudeScale(halfWidth: number, graphList: Array<AmplitudeScalable>?)

Extends LinkedAmplitudeScale

Parameters
halfWidth (number)
graphList (Array<AmplitudeScalable>?)
Instance Members

LinkedTimeScale

src/scale.ts

Links time scales across multiple seismographs.

new LinkedTimeScale(graphList: Array<TimeScalable>?, originalDuration: Duration?, originalOffset: Duration?, scaleId: number?)
Parameters
graphList (Array<TimeScalable>?) optional list of TimeScalables to link
originalDuration (Duration?)
originalOffset (Duration?)
scaleId (number?)
Instance Members
_originalDuration
_originalOffset
_zoomedDuration
_zoomedOffset
_scaleId
linkAll(graphList)
zoom(startOffset, duration)
unzoom()
offset
offset
duration
duration
origOffset
origDuration
recalculate()
notifyAll()
graphList

AlignmentLinkedTimeScale

src/scale.ts

Linked Time Scale that only modifies the alignment via the offset. The duration of the linked TimeScalable is reused.

new AlignmentLinkedTimeScale(graphList: Array<TimeScalable>?, originalDuration: Duration?, originalOffset: Duration?, scaleId: number?)

Extends LinkedTimeScale

Parameters
graphList (Array<TimeScalable>?) [description]
originalDuration (Duration?) [description]
originalOffset (Duration?) [description]
scaleId (number?) [description]
Instance Members
recalculate()
notifyAll()