Commit a6e14ca2 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

WIP: adopt new structure

parent 7c93ebc5
import logging
import os.path as op
from pyrocko.guts import Object, String, Float, Timestamp, List, Bool
from pyrocko.guts import String, Float, Timestamp, List, Bool
from pyrocko import model, guts
from pyrocko.fdsn import station as fs
from pyrocko.io import stationxml
from pyrocko.gf import TPDef
from lassie import receiver, ifc, grid, geo
......@@ -171,7 +171,7 @@ class Config(HasPaths):
z=station.depth))
if self.stations_stationxml_path:
sx = fs.load_xml(filename=fp(self.stations_stationxml_path))
sx = stationxml.load_xml(filename=fp(self.stations_stationxml_path))
for station in sx.get_pyrocko_stations():
self._receivers.append(
receiver.Receiver(
......
from __future__ import print_function
import logging
from collections import defaultdict
import numpy as num
from collections import defaultdict
from scipy.signal import fftconvolve
from pyrocko.guts import Object, String, Float, Bool, StringChoice, List, Dict
from pyrocko import trace, autopick, util, model, gui_util
from pyrocko import trace, autopick, util, model
from pyrocko.gui import util as gui_util
from pyrocko import marker as pmarker
from lassie import shifter, common, geo
......
from builtins import range
import os
import numpy as num
from pyrocko import automap, plot, util
from pyrocko.plot import automap
from pyrocko import plot, util
from lassie import grid as gridmod, geo
km = 1000.
......
import copy
import os
import numpy as num
from pyrocko import util, gui_util, model, orthodrome, pile, snuffler, \
marker as pmarker
from pyrocko.snuffling import Snuffling, Param, Choice, Switch
from pyrocko import util, model, orthodrome, pile
from pyrocko.gui import snuffler
from pyrocko.gui import marker as pmarker
from pyrocko.gui import util as gui_util
from pyrocko.gui.snuffling import Snuffling, Param, Choice, Switch
from lassie import geo, ifc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment