1 | # -*- coding: utf-8 -*- |
---|
2 | # |
---|
3 | # Copyright (C) 2008-2010 Marcus Walther (walther@szgrf.bgr.de) |
---|
4 | # |
---|
5 | # This file is part of Seismic Handler eXtended (SHX) |
---|
6 | # Full details can be found at project website http://www.seismic-handler.org/ |
---|
7 | # |
---|
8 | # SHX is free software; you can redistribute it and/or modify |
---|
9 | # it under the terms of the GNU LESSER GENERAL PUBLIC LICENSE as published by |
---|
10 | # the Free Software Foundation; either version 3 of the License, or |
---|
11 | # (at your option) any later version. |
---|
12 | # |
---|
13 | # SHX is distributed in the hope that it will be useful, |
---|
14 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | # GNU Lesser General Public License for more details. |
---|
17 | # |
---|
18 | # You should have received a copy of the GNU Lesser General Public License |
---|
19 | # along with SHX (see license.txt); if not, write to the Free Software |
---|
20 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA |
---|
21 | |
---|
22 | import sys |
---|
23 | print sys.path |
---|
24 | #print "it's traces" |
---|
25 | |
---|
26 | from obspy.core.stream import Stream |
---|
27 | |
---|
28 | class Traces(object): |
---|
29 | pass |
---|
30 | # """ |
---|
31 | # |
---|
32 | # """ |
---|
33 | # traces = None |
---|
34 | # hidden = None |
---|
35 | # |
---|
36 | # def __new__(cls): |
---|
37 | # """ |
---|
38 | # Ensure that there's only one instance of the traces class. |
---|
39 | # |
---|
40 | # Technically this is a singleton. |
---|
41 | # """ |
---|
42 | # |
---|
43 | # if not '__instance' in cls.__dict__: |
---|
44 | # cls.__instance = object.__new__(cls) |
---|
45 | # |
---|
46 | # return cls.__instance |
---|
47 | # |
---|
48 | # def __init__(self, *args, **kwargs): |
---|
49 | # """Documentation""" |
---|
50 | # self.traces = s.Stream() |
---|
51 | # self.hidden = s.Stream() |
---|
52 | |
---|
53 | traces = Traces() |
---|
54 | if __name__ == "__main__": |
---|
55 | pass |
---|