diff --git a/lofar_station_client/statistics/collector.py b/lofar_station_client/statistics/collector.py index 4a03cefefdb5998f41ee9c942efd2d107812b879..b89d2a86b3a43dc2d1b84c2fef839dc83a739baa 100644 --- a/lofar_station_client/statistics/collector.py +++ b/lofar_station_client/statistics/collector.py @@ -404,13 +404,13 @@ class XSTCollector(StatisticsCollector): .view(numpy.complex64) ) + # reshape into [a][b] + block = block.reshape(self.BLOCK_LENGTH, self.BLOCK_LENGTH) + if xst_conjugated[subband_index][block_index]: # block is conjugated and transposed. process. block = block.conjugate().transpose() - # reshape into [a][b] - block = block.reshape(self.BLOCK_LENGTH, self.BLOCK_LENGTH) - # compute destination in matrix first_baseline = baseline_from_index(block_index) first_baseline = (