pyrocko.gui.sparrow.elements.slabs

Classes

SlabParameterChoice(...)

Any str out of ['depth', 'depth_uncertainty', 'strike', 'dip', 'thickness'].

SlabsState(**kwargs)

Undocumented.

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

Bases: StringChoice

Any str out of ['depth', 'depth_uncertainty', 'strike', 'dip', 'thickness'].

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

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

class SlabsState(**kwargs)[source]

Bases: ElementState

Undocumented.

♦ visible

bool, default: True

♦ opacity

float, default: 1.0

♦ parameter

str (SlabParameterChoice), default: 'depth'

♦ cpt

pyrocko.gui.sparrow.elements.base.CPTState, default: CPTState(cpt_name='viridis')