def createArrayData(self,ChannelList_obj) :
"""
Create the np array data for table display, and update the
ChannelList_obj. This function can be called from outside to update the
table display
"""
self.ChannelList_obj = ChannelList_obj
self.arraydata=np.concatenate((ChannelList_obj.station,
np.array(ChannelList_obj.grav)*1000,np.array(ChannelList_obj.sd)*1000,ChannelList_obj.tiltx,
ChannelList_obj.tilty,ChannelList_obj.temp,ChannelList_obj.dur,
ChannelList_obj.rej,
(date2num(ChannelList_obj.t)-date2num(ChannelList_obj.t[0]))*24*60,
np.array(ChannelList_obj.t))).reshape(len(ChannelList_obj.t),10,order='F')
评论列表
文章目录