Skip to content
Snippets Groups Projects

intergrate rt130

Merged Lan Dam requested to merge intergrate_rt130 into master
@@ -197,7 +197,7 @@ class Reftek130(obspy_rt130_core.Reftek130):
# numbers (namely, appending a negative number with 1s
# does not change its value), we do not have to care
# about the actual encoding type of the stored packets.
sample_data = np.asarray(packets_['payload'][:, :4])
sample_data = np.ascontiguousarray(packets_['payload'][:, :4])
sample_data = sample_data.view(np.dtype('>i4'))
sample_data = sample_data.squeeze(axis=-1)
npts = sample_data.size
Loading