@@ -113,7 +113,7 class DigitalRFReader(ProcessingUnit): | |||
|
113 | 113 | self.dataOut.nProfiles = int(nProfiles) |
|
114 | 114 | |
|
115 | 115 | self.dataOut.heightList = self.__firstHeigth + \ |
|
116 | numpy.arange(self.__nSamples, dtype=numpy.float) * \ | |
|
116 | numpy.arange(self.__nSamples, dtype=numpy.float_) * \ | |
|
117 | 117 | self.__deltaHeigth |
|
118 | 118 | |
|
119 | 119 | #self.dataOut.channelList = list(range(self.__num_subchannels)) |
@@ -242,7 +242,7 class DigitalRFReader(ProcessingUnit): | |||
|
242 | 242 | nCode=1, |
|
243 | 243 | nBaud=1, |
|
244 | 244 | flagDecodeData=False, |
|
245 |
code=numpy.ones((1, 1), dtype= |
|
|
245 | code=numpy.ones((1, 1), dtype=int), | |
|
246 | 246 | getByBlock=0, |
|
247 | 247 | nProfileBlocks=1, |
|
248 | 248 | **kwargs): |
@@ -433,7 +433,7 class DigitalRFReader(ProcessingUnit): | |||
|
433 | 433 | #self.__data_buffer = numpy.zeros( |
|
434 | 434 | # (self.__num_subchannels, self.__samples_to_read), dtype=numpy.complex) |
|
435 | 435 | print("samplestoread",self.__samples_to_read) |
|
436 | self.__data_buffer = numpy.zeros((int(len(channelList)), self.__samples_to_read), dtype=numpy.complex) | |
|
436 | self.__data_buffer = numpy.zeros((int(len(channelList)), self.__samples_to_read), dtype=numpy.complex_) | |
|
437 | 437 | |
|
438 | 438 | |
|
439 | 439 | self.__setFileHeader() |
@@ -554,7 +554,7 class DigitalRFReader(ProcessingUnit): | |||
|
554 | 554 | bot = 0 |
|
555 | 555 | while(self.__flagDiscontinuousBlock): |
|
556 | 556 | bot +=1 |
|
557 |
self.__thisUnixSample += self.__sample_ |
|
|
557 | self.__thisUnixSample += self.__samples_to_read | |
|
558 | 558 | try: |
|
559 | 559 | result = result = self.digitalReadObj.read_vector_c81d(self.__thisUnixSample,self.__samples_to_read,thisChannelName, sub_channel=indexSubchannel) |
|
560 | 560 | self.__flagDiscontinuousBlock=False |
General Comments 0
You need to be logged in to leave comments.
Login now