本文共 495 字,大约阅读时间需要 1 分钟。
import scipy, pylab# Read in the data into two variablesindata = scipy.fromfile(open('input.32fc','r'),dtype=scipy.complex64 , count =10000)outdata = scipy.fromfile ( open ('output.32fc','r') ,dtype=scipy.complex64,count =10000)# Do some data manipulations here# Plot the datafig = pylab.figure ( 1 , figsize = (14 , 8) , facecolor= 'w')sp = fig.add_subplot( 1 , 1 , 1 )sp.plot(indata.real [ 1200:1300] ,'b−o ', linewidth =2)sp.plot(outdata.real [1200:1300],'r−s',linewidth =2)p yl ab . show ( )
转载地址:http://prtla.baihongyu.com/