[edit] further restructuring and bugfixing

This commit is contained in:
2016-05-03 13:54:59 +02:00
parent a82c1d39c6
commit 41991c5d81
5 changed files with 52 additions and 17 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import matplotlib.pyplot as plt
from obspy import read_events
from pylot.core.io.phases import picks_to_dict
from pylot.core.io.phases import picksdict_from_picks
from pylot.core.util.pdf import ProbabilityDensityFunction
from pylot.core.util.version import get_git_version as _getVersionString
@@ -227,7 +227,7 @@ class PDFDictionary(object):
if len(cat) > 1:
raise NotImplementedError('reading more than one event at the same '
'time is not implemented yet! Sorry!')
return PDFDictionary(picks_to_dict(cat[0]))
return PDFDictionary(picksdict_from_picks(cat[0]))
def pdf_data(self, type='exp'):
"""