|
|
|
@ -10,15 +10,19 @@ import time
|
|
|
|
|
import numpy as num
|
|
|
|
|
import logging
|
|
|
|
|
|
|
|
|
|
from .marker import Marker, PhaseMarker, EventMarker # noqa
|
|
|
|
|
from .marker import MarkerParseError, MarkerOneNSLCRequired # noqa
|
|
|
|
|
from .marker import load_markers, save_markers # noqa
|
|
|
|
|
from pyrocko import plot
|
|
|
|
|
import matplotlib
|
|
|
|
|
if matplotlib.get_backend().find('Qt4') != -1: # noqa
|
|
|
|
|
matplotlib.use('Qt5Agg')
|
|
|
|
|
|
|
|
|
|
from PyQt5 import QtCore as qc
|
|
|
|
|
from PyQt5 import QtGui as qg
|
|
|
|
|
from PyQt5 import QtWidgets as qw
|
|
|
|
|
|
|
|
|
|
from .marker import Marker, PhaseMarker, EventMarker # noqa
|
|
|
|
|
from .marker import MarkerParseError, MarkerOneNSLCRequired # noqa
|
|
|
|
|
from .marker import load_markers, save_markers # noqa
|
|
|
|
|
from pyrocko import plot
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if sys.version_info > (3,):
|
|
|
|
|
buffer = memoryview
|
|
|
|
|