@@ -649,11 +649,45 class HFReader(ProcessingUnit): | |||
|
649 | 649 | |
|
650 | 650 | self.dataOut.systemHeaderObj = SystemHeader() |
|
651 | 651 | |
|
652 | ||
|
653 | #--------------------------------------------------------- | |
|
654 | self.dataOut.systemHeaderObj.nProfiles=100 | |
|
655 | self.dataOut.systemHeaderObj.nSamples=1000 | |
|
656 | ||
|
657 | ||
|
658 | SAMPLING_STRUCTURE=[('h0', '<f4'), ('dh', '<f4'), ('nsa', '<u4')] | |
|
659 | self.dataOut.radarControllerHeaderObj.samplingWindow=numpy.zeros((1,),SAMPLING_STRUCTURE) | |
|
660 | self.dataOut.radarControllerHeaderObj.samplingWindow['h0']=0 | |
|
661 | self.dataOut.radarControllerHeaderObj.samplingWindow['dh']=1.5 | |
|
662 | self.dataOut.radarControllerHeaderObj.samplingWindow['nsa']=1000 | |
|
663 | self.dataOut.radarControllerHeaderObj.nHeights=int(self.dataOut.radarControllerHeaderObj.samplingWindow['nsa']) | |
|
664 | self.dataOut.radarControllerHeaderObj.firstHeight = self.dataOut.radarControllerHeaderObj.samplingWindow['h0'] | |
|
665 | self.dataOut.radarControllerHeaderObj.deltaHeight = self.dataOut.radarControllerHeaderObj.samplingWindow['dh'] | |
|
666 | self.dataOut.radarControllerHeaderObj.samplesWin = self.dataOut.radarControllerHeaderObj.samplingWindow['nsa'] | |
|
667 | ||
|
668 | self.dataOut.radarControllerHeaderObj.nWindows=1 | |
|
669 | self.dataOut.radarControllerHeaderObj.codetype=0 | |
|
670 | self.dataOut.radarControllerHeaderObj.numTaus=0 | |
|
671 | #self.dataOut.radarControllerHeaderObj.Taus = numpy.zeros((1,),'<f4') | |
|
672 | ||
|
673 | ||
|
674 | #self.dataOut.radarControllerHeaderObj.nCode=numpy.zeros((1,), '<u4') | |
|
675 | #self.dataOut.radarControllerHeaderObj.nBaud=numpy.zeros((1,), '<u4') | |
|
676 | #self.dataOut.radarControllerHeaderObj.code=numpy.zeros(0) | |
|
677 | ||
|
678 | self.dataOut.radarControllerHeaderObj.code_size=0 | |
|
679 | self.dataOut.nBaud=0 | |
|
680 | self.dataOut.nCode=0 | |
|
681 | self.dataOut.nPairs=0 | |
|
682 | ||
|
683 | ||
|
684 | #--------------------------------------------------------- | |
|
685 | ||
|
652 | 686 | self.dataOut.type = "Voltage" |
|
653 | 687 | |
|
654 | 688 | self.dataOut.data = None |
|
655 | 689 | |
|
656 |
self.dataOut.dtype = numpy.dtype([('real','< |
|
|
690 | self.dataOut.dtype = numpy.dtype([('real','<f4'),('imag','<f4')]) | |
|
657 | 691 | |
|
658 | 692 | self.dataOut.nProfiles = 1 |
|
659 | 693 |
General Comments 0
You need to be logged in to leave comments.
Login now