pyrocko.gui.sparrow.elements.topo

Classes

TopoCPTChoice(...)

Any str out of ['light', 'uniform'].

TopoState(**kwargs)

Undocumented.

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

Bases: StringChoice

Any str out of ['light', 'uniform'].

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

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

class TopoState(**kwargs)[source]

Bases: ElementState

Undocumented.

♦ visible

bool, default: True

♦ exaggeration

float, default: 1.0

♦ opacity

float, default: 1.0

♦ smooth

bool, default: False

♦ cpt

str (TopoCPTChoice), default: 'light'

♦ shading

str (pyrocko.gui.sparrow.state.ShadingChoice), default: 'phong'

♦ resolution_max_factor

float, default: 1.0

♦ resolution_min_factor

float, default: 1.0

♦ coverage_factor

float, default: 1.0