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
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
def init(self, args): Intercom_DFC.init(self, args) self.ignored_bps = 0 self.packet_format = f"!BHBB{self.frames_per_chunk//8}B"
def init(self, args): Intercom_DFC.init(self, args) self.skipped_bitplanes = [0]*self.cells_in_buffer print("intercom_empty: ignoring 0-bitplanes")
def init(self, args): Intercom_DFC.init(self, args) self.skipped_bitplanes = [0]*self.cells_in_buffer
def init(self, args): Intercom_DFC.init(self, args) self.NZB = 0 #contador del numero de birplanes que son 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
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
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