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:
Sebastian Wehling-Benatelli 2013-11-20 06:02:43 +01:00
parent a484709bc4
commit bf37a6546d
4 changed files with 36 additions and 2 deletions

View File

@ -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
View File

@ -0,0 +1 @@
#

16
pylot/core/stream.py Normal file
View 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
View 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