pickax.pickax

Module Contents

Classes

PickAx

PickAx, a simple seismic picker, when you just need to dig a few arrivals out of the red clay.

API

class pickax.pickax.PickAx(stream=None, qmlevent=None, inventory=None, config=None)

PickAx, a simple seismic picker, when you just need to dig a few arrivals out of the red clay.

stream – usually a waveform for a single channel qmlevent – optional QuakeML Event to store picks in, created if not supplied config – configuration object

Initialization

_init_data_(stream, qmlevent=None, inventory=None)
update_data(stream, qmlevent=None, inventory=None)

Updates waveform and optionally earthquake and redraws.

do_finish(command)

Runs the supplied finish function with earthquake, stream and the next command. Command will be one of quit, next, prev. Generally the finish function is responsible for calling update_data with the next or previous seismogram.

clear()
draw()
calc_global_amp()
close()

Close the window, goodnight moon.

on_key(event)

Event handler for key presses.

get_picks(include_station=False, author=None)
create_pick_flag(pick, seismograph, is_modifiable, arrival=None)
do_pick(event, phase='pick')
seismograph_for_axes(ax)
list_channels()

Lists the channel codes for all traces in the stream, removing duplicates. Usually all traces will be from a single channel.

display_picks(include_station=False, author=None)

Creates a string showing the current channels, earthquake and all the picks on the current stream.

calc_start()