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

load markers of ManualPickIFC

parent f12d66d7
import copy
import os
import numpy as num
from pyrocko import util, gui_util, model, orthodrome, pile, snuffler
from pyrocko import util, gui_util, model, orthodrome, pile, snuffler, \
marker as pmarker
from pyrocko.snuffling import Snuffling, Param, Choice, Switch
from lassie import geo
from lassie import geo, ifc
kind_default = '1 (green)'
......@@ -266,6 +267,11 @@ def snuffle(config):
_lassie_config.detections_path)
s.add_markers(s.detections)
for _ifc in s.config.image_function_contributions:
if isinstance(_ifc, ifc.ManualPickIFC):
s.add_markers(
pmarker.load_markers(_ifc.picks_path))
receivers = config.get_receivers()
stations = set()
lats, lons = geo.points_coords(receivers, system='latlon')
......
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