new AnimatedTimeScaler(timeScale: any, alignmentTime: any, minRedrawMillis: any)
Parameters
timeScale (any)
alignmentTime (any)
minRedrawMillis (any)
Instance Members
animateOnce()
stepper(timestamp)
new RTDisplayContainer(rawSeisData: any, organizedDisplay: any, animationScaler: any, packetHandler: any, config: any)
Parameters
rawSeisData (any)
organizedDisplay (any)
animationScaler (any)
packetHandler (any)
config (any)
Instance Members
recalculateRedrawTime()
removeAllSeisData()

Validates the object for typescript and adds any missing required fields. Passing in an empty object is allowed.

isValidRTConfig(configObj: any): any
Parameters
configObj (any) config object
Returns
any: true if object has correct structure, with defaults populated

createRealtimeDisplay

dist/animatedseismograph.mjs
createRealtimeDisplay(config: any)
Parameters
config (any)

internalCreateRealtimeDisplay

dist/animatedseismograph.mjs
internalCreateRealtimeDisplay(config: any)
Parameters
config (any)

Trims all seismograms to the given window in place. This should not cause a redraw.

trim(orgDisplay: any, timeRange: any)
Parameters
orgDisplay (any) OrganizedDisplay to trim
timeRange (any) time window to coarse trim the data to

calcOnePixelDuration

dist/animatedseismograph.mjs

Calculates the duration covered by one pixel on the time axis. This is the optimal time interval for updating the animation of a real time display as updates more frequently than this tend to cause more flikering than actual movement of the seismogram.

calcOnePixelDuration(seismograph: any): any
Parameters
seismograph (any) the seismograph to get pixel size from
Returns
any: the pixel width as a Duration