HELICORDER_ELEMENT

src/helicorder.ts
HELICORDER_ELEMENT

Type: string

A helicorder-like multi-line seismogram display usually covering 24 hours

new Helicorder(seisData: Array<SeismogramDisplayData>?, seisConfig: SeismographConfig?, inSvgParent: any, heliConfig: any)

Extends SeisPlotElement

Parameters
seisData (Array<SeismogramDisplayData>?) the data to display
seisConfig (SeismographConfig?)
inSvgParent (any) the parent element, usually a div tag
heliConfig (any) configuration object
Instance Members
heliConfig
heliConfig
width
height
draw()
calcTimesForLines(startTime, secondsPerLine, numberOfLines)
calcDetailForEvent(evt)

DEFAULT_MAX_HEIGHT

src/helicorder.ts
DEFAULT_MAX_HEIGHT

Type: number

HelicorderConfig

src/helicorder.ts

Configuration of the helicorder

Note that setting maxVariation=0 and fixedAmplitudeScale=[0,0] will scale the data to max

new HelicorderConfig(timeRange: Interval)

Extends SeismographConfig

Parameters
timeRange (Interval) the time range covered by the helicorder, required
Static Members
fromSeismographConfig(seisConfig)
Instance Members
lineSeisConfig
overlap
numLines
maxVariation
detrendLines

HeliTimeRange

src/helicorder.ts

Time range for a single line of the helicorder, extends Interval to add the line number

new HeliTimeRange(startTime: DateTime, duration: Duration, lineNumber: number)
Parameters
startTime (DateTime)
duration (Duration)
lineNumber (number)
Instance Members
lineNumber
interval

helicorder_css

src/helicorder.ts

default styling for helicorder plots.

helicorder_css

HELICORDER_SELECTOR

src/helicorder.ts
HELICORDER_SELECTOR

Type: string

HELI_COLOR_CSS_ID

src/helicorder.ts
HELI_COLOR_CSS_ID

Type: string

HeliMouseEventType

src/helicorder.ts
HeliMouseEventType

Type: {mouseevent: MouseEvent, time: DateTime, lineNum: number}

Properties
mouseevent (MouseEvent)
time (DateTime)
lineNum (number)