[add] default values for parameters of AutoPickStation init method

This commit is contained in:
Darius Arnold 2018-07-17 13:59:46 +02:00
parent 775d3de46c
commit 85b34177c4

View File

@ -236,7 +236,7 @@ class PickingFailedException(Exception):
class AutopickStation(object):
def __init__(self, wfstream, pickparam, verbose, iplot, fig_dict, metadata, origin):
def __init__(self, wfstream, pickparam, verbose, iplot=0, fig_dict=None, metadata=None, origin=None):
"""
:param wfstream: stream object containing waveform of all traces
:type wfstream: ~obspy.core.stream.Stream