Move TravelSignal into submodule signal

This commit is contained in:
Eric Teunis de Boone 2022-03-11 16:46:18 +01:00
parent e943da4637
commit 19ccea30ca
3 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,6 @@
from .travelsignal import *
from . import signal
from . import location
from .util import *
TravelSignal = signal.TravelSignal

View file

@ -0,0 +1 @@
from .travelsignal import *

View file

@ -6,6 +6,11 @@ Define the TravelSignal class.
import numpy as np
import scipy.interpolate as interp
try:
from _signal import *
except ImportError:
from ._signal import *
class TravelSignal:
"""
Model an arbitrary digitised signal that can be translated to another position and time.