ORG_DISP_ITEM

Type: string

ORG_DISPLAY

Type: string

ORG_TYPE

Type: string

PLOT_TYPE

Type: string

SEISMOGRAPH

Type: string

SPECTRA

Type: string

PARTICLE_MOTION

Type: string

MAP

Type: string

INFO

Type: string

QUAKE_TABLE

Type: string

STATION_TABLE

Type: string

OrganizedDisplayItem

src/organizeddisplay.ts
new OrganizedDisplayItem(seisData: Array<SeismogramDisplayData>?, seisConfig: SeismographConfig?)

Extends SeisPlotElement

Parameters
seisData (Array<SeismogramDisplayData>?)
seisConfig (SeismographConfig?)
Static Members
observedAttributes
Instance Members
extras
plottype
plottype
attributeChangedCallback(_name, _oldValue, _newValue)
setExtra(key, value)
hasExtra(key)
getExtra(key)
getContainedPlotElements()
draw()
WITH_INFO

Type: string

DEFAULT_WITH_INFO

src/organizeddisplay.ts
DEFAULT_WITH_INFO

Type: string

WITH_MAP

Type: string

DEFAULT_WITH_MAP

src/organizeddisplay.ts
DEFAULT_WITH_MAP

Type: string

WITH_TOOLS

Type: string

DEFAULT_WITH_TOOLS

src/organizeddisplay.ts
DEFAULT_WITH_TOOLS

Type: string

SORT_BY

Type: string

OVERLAY_BY

Type: string

OVERLAY_NONE

Type: string

OVERLAY_INDIVIDUAL

src/organizeddisplay.ts
OVERLAY_INDIVIDUAL

Type: string

OVERLAY_VECTOR

Type: string

OVERLAY_COMPONENT

src/organizeddisplay.ts
OVERLAY_COMPONENT

Type: string

OVERLAY_STATION

Type: string

OVERLAY_ALL

Type: string

OVERLAY_FUNCTION

src/organizeddisplay.ts
OVERLAY_FUNCTION

Type: string

TOOLS_HTML

OrganizedDisplayTools

src/organizeddisplay.ts
new OrganizedDisplayTools(seisData: Array<SeismogramDisplayData>?, seisConfig: SeismographConfig?)

Extends SeisPlotElement

Parameters
seisData (Array<SeismogramDisplayData>?)
seisConfig (SeismographConfig?)
Instance Members
_organizedDisplay
organizedDisplay
organizedDisplay
initCheckboxes(orgdisp)
wireComponents()

ORG_DISP_TOOLS_ELEMENT

src/organizeddisplay.ts
ORG_DISP_TOOLS_ELEMENT

Type: string

OrganizedDisplay

src/organizeddisplay.ts
new OrganizedDisplay(seisData: Array<SeismogramDisplayData>?, seisConfig: SeismographConfig?)

Extends SeisPlotElement

Parameters
seisData (Array<SeismogramDisplayData>?)
seisConfig (SeismographConfig?)
Static Members
observedAttributes
Instance Members
getDisplayItems()
orgtype
orgtype
tools
tools
map
info
info
overlayby
overlayby
sortby
sortby
drawTools(sortedData)
drawMap(sortedData)
drawInfo(sortedData)
attributeChangedCallback(name, oldValue, newValue)

getFromQueryParams

src/organizeddisplay.ts
getFromQueryParams(qParams: Record<string, any>, name: string, defaultValue: any): string
Parameters
qParams (Record<string, any>)
name (string)
defaultValue (any = "")
Returns
string

individualDisplay

src/organizeddisplay.ts
individualDisplay(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>

mapAndIndividualDisplay

src/organizeddisplay.ts
mapAndIndividualDisplay(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>

overlayBySDDFunction

src/organizeddisplay.ts
overlayBySDDFunction(sddList: Array<SeismogramDisplayData>, key: string, sddFun: function (arg0: SeismogramDisplayData): (string | number | null), seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
key (string)
sddFun (function (arg0: SeismogramDisplayData): (string | number | null))
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>

overlayByComponent

src/organizeddisplay.ts
overlayByComponent(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>

overlayByStation

src/organizeddisplay.ts
overlayByStation(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>
overlayAll(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>
Parameters
key (string)
Returns
Array<OrganizedDisplayItem>

groupComponentOfMotion

src/organizeddisplay.ts

Groups seismic data into subarrays where members of each subarray are from the same network/station, have the same band and gain/instrument code and overlap in time. Note, in most cases the subarrays will have 1, 2 or 3 elements, but this is not checked nor guaranteed.

groupComponentOfMotion(sddList: Array<SeismogramDisplayData>): Array<Array<SeismogramDisplayData>>
Parameters
sddList (Array<SeismogramDisplayData>) list of SeismogramDisplayData to split
Returns
Array<Array<SeismogramDisplayData>>: array of array of data, organized by component of motion
createAttribute(organized: Array<OrganizedDisplayItem>, key: string, valueFun: function (arg0: OrganizedDisplayItem): (string | number | null)): Array<OrganizedDisplayItem>
Parameters
key (string)
valueFun (function (arg0: OrganizedDisplayItem): (string | number | null))
Returns
Array<OrganizedDisplayItem>
createPlots(organized: Array<OrganizedDisplayItem>, divElement: HTMLElement)
Parameters
divElement (HTMLElement)