pyrocko.gui.drum.state

Classes

ButterHighpass(**kwargs)

Undocumented.

ButterLowpass(**kwargs)

Undocumented.

Color(**kwargs)

Undocumented.

Demean(**kwargs)

Undocumented.

Downsample(**kwargs)

Undocumented.

Filter(**kwargs)

Undocumented.

Scaling(**kwargs)

Undocumented.

ScalingBase(...)

Any str out of ['min-max', 'mean-plusminus-1-sigma', 'mean-plusminus-2-sigma', 'mean-plusminus-4-sigma'].

ScalingMode(...)

Any str out of ['same', 'individual', 'fixed'].

State(**kwargs)

Undocumented.

Style(**kwargs)

Undocumented.

TextStyle(**kwargs)

Undocumented.

class Color(**kwargs)[source]

Bases: Object

Undocumented.

r

float, default: 0.0

g

float, default: 0.0

b

float, default: 0.0

a

float, default: 1.0

class ScalingMode(...) str[source]

Bases: StringChoice

Any str out of ['same', 'individual', 'fixed'].

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

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

class ScalingBase(...) str[source]

Bases: StringChoice

Any str out of ['min-max', 'mean-plusminus-1-sigma', 'mean-plusminus-2-sigma', 'mean-plusminus-4-sigma'].

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

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

class Filter(**kwargs)[source]

Bases: Object

Undocumented.

class Demean(**kwargs)[source]

Bases: Filter

Undocumented.

class ButterLowpass(**kwargs)[source]

Bases: Filter

Undocumented.

order

int, default: 4

corner

float

pad_factor

float, optional, default: 1.0

class ButterHighpass(**kwargs)[source]

Bases: Filter

Undocumented.

order

int, default: 4

corner

float

pad_factor

float, optional, default: 1.0

class Downsample(**kwargs)[source]

Bases: Filter

Undocumented.

deltat

float

class TextStyle(**kwargs)[source]

Bases: Talkie

Undocumented.

family

str, optional, default: 'default'

size

float, optional, default: 9.0

bold

bool, optional, default: False

italic

bool, optional, default: False

color

Color, default: Color()

outline

bool, default: False

background_color

Color, optional

class Style(**kwargs)[source]

Bases: Talkie

Undocumented.

antialiasing

bool, optional, default: False

label_textstyle

TextStyle, default: TextStyle(bold=True, background_color=<pyrocko.gui.drum.state.Color object at 0x7f2ff6d6ae50>)

title_textstyle

TextStyle, default: TextStyle(bold=True, size=12.0)

marker_textstyle

TextStyle, default: TextStyle(bold=False, size=9.0, italic=True, background_color=<pyrocko.gui.drum.state.Color object at 0x7f2ff6d69290>, outline=True)

marker_color

Color, default: Color()

trace_resolution

float, optional, default: 2.0

trace_color

Color, default: Color()

background_color

Color, default: Color(r=1.0, g=1.0, b=1.0)

class Scaling(**kwargs)[source]

Bases: Talkie

Undocumented.

mode

str (ScalingMode), default: 'same'

base

str (ScalingBase), default: 'min-max'

min

float, optional, default: -1.0

max

float, optional, default: 1.0

gain

float, optional, default: 1.0

class State(**kwargs)[source]

Bases: TalkieRoot

Undocumented.

nslc

tuple of 4 str objects, default: ('', '', '', '')

tline

float, default: 3600.0

nlines

int, default: 24

iline

int, default: 0

follow

bool, default: False

style

Style, default: Style()

filters

list of Filter objects, default: []

scaling

Scaling, default: Scaling()

npages_cache

int, optional, default: 10