##// END OF EJS Templates
add one more line generateblockdata
avaldez -
r1293:931bf57459a8
parent child
Show More
@@ -457,16 +457,11 class SimulatorReader(JRODataReader, ProcessingUnit):
457 InBuffer[m_nR:m_nR+ps] = Pulso
457 InBuffer[m_nR:m_nR+ps] = Pulso
458 InBuffer = Noise+ InBuffer
458 InBuffer = Noise+ InBuffer
459 #····················· ANGLE ·······························
459 #····················· ANGLE ·······························
460
460 InBuffer.real[m_nR:m_nR+ps] = InBuffer.real[m_nR:m_nR+ps]*(math.cos( self.fAngle)*5)
461
462
463
464 InBuffer.imag[m_nR:m_nR+ps] = InBuffer.imag[m_nR:m_nR+ps]*(math.sin( self.fAngle)*5)
461 InBuffer.imag[m_nR:m_nR+ps] = InBuffer.imag[m_nR:m_nR+ps]*(math.sin( self.fAngle)*5)
465 InBuffer=InBuffer
462 InBuffer=InBuffer
466 self.datablock[i][k]= InBuffer
463 self.datablock[i][k]= InBuffer
467 #plot_cts(InBuffer,H0=H0,DH0=DH0
464 #plot_cts(InBuffer,H0=H0,DH0=DH0)
468
469
470 #wave_fft(x=InBuffer,plot_show=True)
465 #wave_fft(x=InBuffer,plot_show=True)
471 #time.sleep(1)
466 #time.sleep(1)
472 #················DOPPLER SIGNAL...............................................
467 #················DOPPLER SIGNAL...............................................
General Comments 0
You need to be logged in to leave comments. Login now