mirror of
				https://gitlab.science.ru.nl/mthesis-edeboone/m-thesis-introduction.git
				synced 2025-10-31 03:46:44 +01:00 
			
		
		
		
	Move TravelSignal into submodule signal
This commit is contained in:
		
							parent
							
								
									e943da4637
								
							
						
					
					
						commit
						19ccea30ca
					
				
					 3 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,3 +1,6 @@
 | 
			
		|||
from .travelsignal import *
 | 
			
		||||
from . import signal
 | 
			
		||||
from . import location
 | 
			
		||||
from .util import *
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
TravelSignal = signal.TravelSignal
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										1
									
								
								simulations/lib/signal/__init__.py
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								simulations/lib/signal/__init__.py
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
from .travelsignal import *
 | 
			
		||||
							
								
								
									
										5
									
								
								simulations/lib/travelsignal.py → simulations/lib/signal/travelsignal.py
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										5
									
								
								simulations/lib/travelsignal.py → simulations/lib/signal/travelsignal.py
									
										
									
									
									
										
										
										Normal file → Executable 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.
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue