def __init__(self, wid2, sta2, chk2, dat2): self.wid2 = wid2 self.sta2 = sta2 self.chk2 = chk2 self.dat2 = dat2 assert self.wid2.sub_format in 'INT CM6 CM8 AUT AU6 AU8'.split() from pyrocko import gse_ext self.data = gse_ext.decode_m6( ''.join(dat2.rawdata), wid2.samps )
def __init__(self, wid2, sta2, chk2, dat2): self.wid2 = wid2 self.sta2 = sta2 self.chk2 = chk2 self.dat2 = dat2 assert self.wid2.sub_format in 'INT CM6 CM8 AUT AU6 AU8'.split() from pyrocko import gse_ext self.data = gse_ext.decode_m6(''.join(dat2.rawdata), wid2.samps)