gui.pile_viewer
¶
-
class
TimeScaler
[source]¶ Undocumented.
-
make_scale
(data_range)[source]¶ Get nice minimum, maximum and increment for given data range.
Returns
(minimum, maximum, increment)
or(maximum, minimum, -increment)
, depending on whether data_range is(data_min, data_max)
or(data_max, data_min)
. Ifoverride_mode
is defined, the mode attribute is temporarily overridden by the given value.
-
-
class
PileViewerMain
(pile, ntracks_shown_max, panel_parent, *args)¶ -
about
()¶
-
about_to_close
¶
-
active_event_marker_changed
¶
-
add_blacklist_pattern
(pattern)¶
-
add_event
(event)¶
-
add_events
(events)¶
-
add_marker
(marker)¶
-
add_markers
(markers)¶
-
add_panel_toggler
(item)¶
-
add_shadow_pile
(shadow_pile)¶
-
add_snuffling
(snuffling, reloaded=False)¶
-
add_stations
(stations)¶
-
add_traces
(traces)¶
-
animate_picking
()¶
-
apply_scaling_hooks
(data_ranges)¶
-
associate_phases_to_events
()¶
-
changed_marker_selection
¶
-
clean_update
()¶
-
clear_blacklist
()¶
-
content_deltat_range
()¶
-
content_time_range
()¶
-
deactivate_event_marker
()¶
-
deselect_all
()¶
-
determine_box_styles
()¶
-
distances_3d_changed
(ignore)¶
-
dragEnterEvent
(event)¶
-
draw_trace_boxes
(p, time_projection, track_projections)¶
-
draw_visible_markers
(markers, p, vcenter_projection)¶ Draw non-overlapping
markers
.
-
drawit
(p, printmode=False, w=None, h=None)¶ This performs the actual drawing.
-
dropEvent
(event)¶
-
emit_selected_markers
()¶
-
event
(event)¶
-
fail
(reason)¶
-
follow
(tlen, interval=50, lapse=None, tmax_start=None)¶
-
follow_update
()¶
-
following
()¶
-
following_interrupted
(now=None)¶
-
gain_change
(value, ignore)¶
-
get_active_event
()¶
-
get_active_event_marker
()¶
-
get_active_markers
()¶
-
get_adequate_tpad
()¶
-
get_markers
()¶
-
get_nslc_ids_for_track
(ftrack)¶
-
get_panel_parent
()¶
-
get_phase_name
(kind)¶
-
get_pile
()¶
-
get_quick_filter_patterns
()¶
-
get_station
(sk)¶
-
get_time_range
()¶
-
go_to_event_by_name
(name)¶
-
go_to_selection
(tight=False)¶
-
go_to_time
(t, tlen=None)¶
-
handle_fkeys
(key)¶
-
has_station
(station)¶
-
help
()¶
-
highpass_change
(value, ignore=None)¶
-
hoovering
(x, y)¶
-
inputline_changed
(text)¶
-
inputline_finished
(text)¶
-
interrupt_following
()¶
-
iter_snuffling_modules
()¶
-
keyPressEvent
(key_event)¶
-
load
(paths, regex=None, format='from_extension', cache_dir=None, force_cache=False)¶
-
load_queued
()¶
-
load_soon
(paths)¶
-
lowpass_change
(value, ignore=None)¶
-
make_good_looking_time_range
(tmin, tmax, tight=False)¶
-
marker_under_cursor
(x, y)¶
-
markers_added
¶
-
markers_removed
¶
-
mouseDoubleClickEvent
(mouse_ev)¶
-
mouseMoveEvent
(mouse_ev)¶
-
mousePressEvent
(mouse_ev)¶
-
mouseReleaseEvent
(mouse_ev)¶
-
myclose
(return_tag='')¶
-
nslc_ids_under_cursor
(x, y)¶
-
nudge_selected_markers
(npixels)¶
-
open_link
(link)¶
-
open_stations
(fns=None)¶
-
open_waveform_directory
()¶
-
open_waveforms
()¶
-
paintEvent
(paint_ev)¶ Called by QT whenever widget needs to be painted
-
passband_check
()¶
-
periodical
()¶
-
pile_changed
(what)¶
-
pile_has_changed_signal
¶
-
post_process_hooks
(traces)¶
-
pre_process_hooks
(traces)¶
-
prepare_cutout2
(tmin, tmax, trace_selector=None, degap=True, demean=True, nmax=6000)¶
-
printit
()¶
-
read_events
(fn=None)¶ Open QFileDialog to open, read and add
pyrocko.model.Event
instances and their marker representation to the pile viewer.
-
read_markers
(fn=None)¶ Open QFileDialog to open, read and add markers to the pile viewer.
-
release_data
(tickets)¶
-
remove_blacklist_pattern
(pattern)¶
-
remove_marker
(marker)¶ Remove a
marker
from thePileViewer
.Parameters: marker – Marker
(or subclass) instance
-
remove_markers
(markers)¶ Remove a list of
markers
from thePileViewer
.Parameters: markers – list of Marker
(or subclass) instances
-
remove_panel_toggler
(item)¶
-
remove_scaling_hook
(k)¶
-
remove_scaling_hooks
()¶
-
remove_shadow_piles
()¶
-
remove_snuffling
(snuffling)¶
-
reset_updates
()¶
-
rot_change
(value, ignore)¶
-
s_sortingmode_change
(ignore=None)¶
-
savesvg
(fn=None)¶
-
scaling_base_change
(ignore=None)¶
-
scalingmode_change
(ignore=None)¶
-
scroll_tracks
(shift)¶
-
see_data_params
()¶
-
selected_markers
()¶
-
set_active_event
(event)¶
-
set_active_event_marker
(event_marker)¶
-
set_error_message
(key, value)¶
-
set_event_marker_as_origin
(ignore=None)¶
-
set_gathering
(gather=None, order=None, color=None)¶
-
set_markers
(markers)¶
-
set_ntracks
(ntracks)¶
-
set_origin
(location)¶
-
set_panel_parent
(panel_parent)¶
-
set_phase_kind
(markers, kind)¶
-
set_quick_filter
(filter_func)¶
-
set_quick_filter_patterns
(patterns, inputline=None)¶
-
set_scaling_hook
(k, hook)¶
-
set_selected_markers
(markers)¶ Set a list of markers selected
Parameters: markers – list of markers
-
set_sortingmode_change_delay_time
(dt)¶
-
set_stations
(stations)¶
-
set_time_range
(tmin, tmax)¶
-
set_trace_filter
(filter_func)¶
-
set_tracks_range
(range, start=None)¶
-
set_visible_marker_kinds
(kinds)¶
-
setup_snufflings
()¶
-
show_doc
(name, labels, target='panel')¶
-
sortingmode_change
(ignore=None)¶
-
sortingmode_change_delayed
()¶
-
ssort
(tr)¶
-
start_picking
(ignore)¶
-
station_attrib
(tr, getter, default_getter)¶
-
station_key
(x)¶
-
station_keys
(x)¶
-
station_latlon
(tr, default_getter=<function MakePileViewerMainClass.<locals>.PileViewerMain.<lambda>>)¶
-
stop_picking
(x, y, abort=False)¶
-
time_fractional_digits
()¶
-
tobedrawn
(markers, uminmax)¶ Returns two lists of indices: first indicates which markers should be labeled. second indicates which markers should be drawn.
-
toggle_main_controls
()¶
-
toggle_marker_editor
()¶
-
toggletest
(checked)¶
-
tracks_range_changed
¶
-
unfollow
()¶
-
update_picking
(x, y, doshift=False)¶
-
update_status
()¶
-
update_trace_filter
()¶
-
visible_length_change
(ignore=None)¶
-
want_input
¶
-
wheelEvent
(wheel_event)¶
-
write_markers
(fn=None)¶
-
write_selected_markers
(fn=None)¶
-
ypart
(y)¶
-
zoom_tracks
(anchor, delta)¶
-
-
GLPileViewerMain
¶ alias of
pyrocko.gui.pile_viewer.MakePileViewerMainClass.<locals>.PileViewerMain