From 9a67428489002963298a86d7dd64eb3b2512f6eb Mon Sep 17 00:00:00 2001 From: Hal Simpson <hasimpson@usgs.gov> Date: Mon, 26 Jan 2015 15:33:31 -0700 Subject: [PATCH] cleaned up stats in __create_trace --- geomagio/StreamConverter_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/geomagio/StreamConverter_test.py b/geomagio/StreamConverter_test.py index 0dfa28d5..64667c5b 100644 --- a/geomagio/StreamConverter_test.py +++ b/geomagio/StreamConverter_test.py @@ -294,7 +294,7 @@ def __create_trace(channel, data, decbase=0): Parameters ---------- - channel: list/tuple + channel: string The name of the trace being created. data: array The array to be inserted into the trace. @@ -305,10 +305,8 @@ def __create_trace(channel, data, decbase=0): Stream containing the channel. """ stats = obspy.core.Stats() - stats.comments = "" stats.starttime = STARTTIME stats.sampling_rate = 0.0166666666667 - stats.npts = 1 stats.DECBAS = decbase stats.channel = channel numpy_data = numpy.array(data, dtype=numpy.float64) -- GitLab