pyrocko.gui.sparrow.elements.table

Classes

MaskingModeChoice(...)

Any str out of ['past + future', 'past', 'future'].

MaskingShapeChoice(...)

Any str out of ['rect', 'linear', 'quadratic'].

SymbolChoice(...)

Any str out of ['point', 'sphere', 'beachball'].

TableState(**kwargs)

Undocumented.

class SymbolChoice(...) → str[source]

Bases: StringChoice

Any str out of ['point', 'sphere', 'beachball'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class MaskingShapeChoice(...) → str[source]

Bases: StringChoice

Any str out of ['rect', 'linear', 'quadratic'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class MaskingModeChoice(...) → str[source]

Bases: StringChoice

Any str out of ['past + future', 'past', 'future'].

Variables:
  • choices – Allowed choices (list of str).

  • ignore_case – Whether to behave case-insensitive (bool, default: False).

class TableState(**kwargs)[source]

Bases: ElementState

Undocumented.

♦ visible

bool, default: True

♦ size

float, default: 3.0

♦ color_parameter

str, optional

♦ cpt

pyrocko.gui.sparrow.elements.base.CPTState, default: CPTState()

♦ size_parameter

str, optional

♦ depth_min

float, optional

♦ depth_max

float, optional

♦ depth_offset

float, default: 0.0

♦ symbol

str (SymbolChoice), default: 'sphere'

♦ time_masking_opacity

float, default: 0.0

♦ time_masking_shape

str (MaskingShapeChoice), default: 'rect'

♦ time_masking_mode

str (MaskingModeChoice), default: 'past + future'