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

src/displayorganize.ts
PARTICLE_MOTION

Type: string

MAP

Type: string

INFO

Type: string

QUAKE_TABLE

Type: string

STATION_TABLE

Type: string

OrganizedDisplayItem

src/displayorganize.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)
draw()
WITH_INFO

Type: string

DEFAULT_WITH_INFO

src/displayorganize.ts
DEFAULT_WITH_INFO

Type: string

WITH_MAP

Type: string

DEFAULT_WITH_MAP

src/displayorganize.ts
DEFAULT_WITH_MAP

Type: string

SORT_BY

Type: string

OVERLAY_BY

Type: string

OVERLAY_NONE

Type: string

OVERLAY_INDIVIDUAL

src/displayorganize.ts
OVERLAY_INDIVIDUAL

Type: string

OVERLAY_VECTOR

Type: string

OVERLAY_COMPONENT

src/displayorganize.ts
OVERLAY_COMPONENT

Type: string

OVERLAY_STATION

src/displayorganize.ts
OVERLAY_STATION

Type: string

OVERLAY_ALL

Type: string

OVERLAY_FUNCTION

src/displayorganize.ts
OVERLAY_FUNCTION

Type: string

OrganizedDisplay

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

Extends SeisPlotElement

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

getFromQueryParams

src/displayorganize.ts
getFromQueryParams(qParams: any, name: string, defaultValue: any): string
Parameters
qParams (any)
name (string)
defaultValue (any = "")
Returns
string

individualDisplay

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

mapAndIndividualDisplay

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

overlayBySDDFunction

src/displayorganize.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/displayorganize.ts
overlayByComponent(sddList: Array<SeismogramDisplayData>, seisConfig: SeismographConfig?): Array<OrganizedDisplayItem>
Parameters
sddList (Array<SeismogramDisplayData>)
seisConfig (SeismographConfig?)
Returns
Array<OrganizedDisplayItem>

overlayByStation

src/displayorganize.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/displayorganize.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

src/displayorganize.ts
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)