Started to build the basic structure. Most classes will inherit functionality of the ObsPy Core classes, but slightly redefined to fit PyLoTs’ purposes.
This commit is contained in:
parent
a484709bc4
commit
bf37a6546d
@ -29,5 +29,5 @@ The development of PyLoT is part of the joint research project MAGS2.
|
||||
import os.path as osp
|
||||
from obspy.core.utcdatetime import UTCDateTime
|
||||
from obspy.core.util.attribdict import AttribDict
|
||||
from obspy.core.trace import Stats, Trace
|
||||
from obspy.core.stream import Stream, read
|
||||
from pylot.core.trace import Stats, Trace
|
||||
from pylot.core.stream import Stream, read
|
||||
|
1
pylot/core/__init__.py
Normal file
1
pylot/core/__init__.py
Normal file
@ -0,0 +1 @@
|
||||
#
|
16
pylot/core/stream.py
Normal file
16
pylot/core/stream.py
Normal file
@ -0,0 +1,16 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Fri Nov 8 15:13:13 2013
|
||||
|
||||
@author: sebastianw
|
||||
"""
|
||||
|
||||
from obspy.core import Stream as Obspystream
|
||||
|
||||
|
||||
class Stream(Obspystream):
|
||||
pass
|
||||
|
||||
|
||||
def read():
|
||||
pass
|
17
pylot/core/trace.py
Normal file
17
pylot/core/trace.py
Normal file
@ -0,0 +1,17 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Created on Fri Nov 8 15:12:43 2013
|
||||
|
||||
@author: sebastianw
|
||||
"""
|
||||
|
||||
from obspy.core import Trace as Obspytrace
|
||||
from obspy.core.util import AttribDict
|
||||
|
||||
|
||||
class Stats(AttribDict):
|
||||
pass
|
||||
|
||||
|
||||
class Trace(Obspytrace):
|
||||
pass
|
Loading…
Reference in New Issue
Block a user