Skip to content
Snippets Groups Projects
Commit 6cc1fb99 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2DTS-272: Turn XSTs into a matrix before transposing, not afterwards

parent 5b8217cc
No related branches found
No related tags found
1 merge request!16L2DTS-272: Turn XSTs into a matrix before transposing, not afterwards
Pipeline #35482 failed
...@@ -404,13 +404,13 @@ class XSTCollector(StatisticsCollector): ...@@ -404,13 +404,13 @@ class XSTCollector(StatisticsCollector):
.view(numpy.complex64) .view(numpy.complex64)
) )
# reshape into [a][b]
block = block.reshape(self.BLOCK_LENGTH, self.BLOCK_LENGTH)
if xst_conjugated[subband_index][block_index]: if xst_conjugated[subband_index][block_index]:
# block is conjugated and transposed. process. # block is conjugated and transposed. process.
block = block.conjugate().transpose() block = block.conjugate().transpose()
# reshape into [a][b]
block = block.reshape(self.BLOCK_LENGTH, self.BLOCK_LENGTH)
# compute destination in matrix # compute destination in matrix
first_baseline = baseline_from_index(block_index) first_baseline = baseline_from_index(block_index)
first_baseline = ( first_baseline = (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment