Пример #1
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.precision_bits = 32
     self.precision_type = np.int32
     self.number_of_bitplanes_to_send = self.precision_bits * self.number_of_channels
     print("{}".format(self.number_of_bitplanes_to_send))
     print("intercom_bitplanes: transmitting by bitplanes")
     self.max_number_of_bitplanes_to_send = self.number_of_bitplanes_to_send
     self.number_of_received_bitplanes = self.max_number_of_bitplanes_to_send
Пример #2
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     #We store the number of skipped bitplanes (zeroes) in the previous message
     self.count = [0] * self.cells_in_buffer
Пример #3
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.ignored_bps = 0
     self.packet_format = f"!BHBB{self.frames_per_chunk//8}B"
Пример #4
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.skipped_bitplanes = [0]*self.cells_in_buffer
     print("intercom_empty: ignoring 0-bitplanes")
Пример #5
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.skipped_bitplanes = [0]*self.cells_in_buffer
Пример #6
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.NZB = 0  #contador del numero de birplanes que son 0
Пример #7
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.received_bitplanes_per_chunk=[0]*self.cells_in_buffer
     #Counter of bitplanes that are 0's in the previous message sent
     self.counter=0
Пример #8
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     #Create counter for empty bitplanes found
     self.empty = 0
     #Variable for remembering last number of empty bitplanes
     self.previous_empty = 0
Пример #9
0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.countlist=[0]*self.cells_in_buffer
     self.aux=0
 def init(self, args):
     Intercom_DFC.init(self, args)
     self.zeros = 0