new functions in utils module: prepTimeAxis returns a proper time axis array for a given start time and an obspy trace; getGlobalTimes returns the minimum start time and the maximum end time (edges) of a given obspy stream object
14 lines
696 B
Python
Executable File
14 lines
696 B
Python
Executable File
from pylot.core.util.connection import checkurl
|
|
from pylot.core.util.defaults import FILTERDEFAULTS
|
|
from pylot.core.util.errors import OptionsError, FormatError, DatastructureError
|
|
from pylot.core.util.layouts import layoutStationButtons
|
|
from pylot.core.util.utils import fnConstructor, createArrival, createEvent,\
|
|
createPick, createAmplitude, createOrigin, createMagnitude, getOwner, \
|
|
getHash, getLogin, createCreationInfo, createResourceID, prepTimeAxis, \
|
|
getGlobalTimes
|
|
from pylot.core.util.widgets import PickDlg, HelpForm, FilterOptionsDialog,\
|
|
PropertiesDlg, NewEventDlg, MPLWidget, createAction
|
|
from pylot.core.util.version import get_git_version as _getVersionString
|
|
|
|
|