@@ -210,12 +210,7 @@ class XSTCollector(StatisticsCollector):
...
@@ -210,12 +210,7 @@ class XSTCollector(StatisticsCollector):
assert0<=subband_slot<self.MAX_PARALLEL_SUBBANDS,f"Selected slot {subband_slot}, but only have room for {self.MAX_PARALLEL_SUBBANDS}. Existing slots are {self.parameters['xst_subbands']}, processing subband {fields.subband_index}."
assert0<=subband_slot<self.MAX_PARALLEL_SUBBANDS,f"Selected slot {subband_slot}, but only have room for {self.MAX_PARALLEL_SUBBANDS}. Existing slots are {self.parameters['xst_subbands']}, processing subband {fields.subband_index}."
# log if we're replacing a subband we were once recording
# log if we're replacing a subband we were once recording
logger.info(f"Stopped recording XSTs for subband {previous_subband_in_slot}. Last data for this subband was received at {previous_subband_timestamp}.")
# the payload contains complex values for the block of baselines of size BLOCK_LENGTH x BLOCK_LENGTH
# the payload contains complex values for the block of baselines of size BLOCK_LENGTH x BLOCK_LENGTH
# starting at baseline first_baseline.
# starting at baseline first_baseline.
...
@@ -236,6 +231,15 @@ class XSTCollector(StatisticsCollector):
...
@@ -236,6 +231,15 @@ class XSTCollector(StatisticsCollector):
logger.info(f"Stopped recording XSTs for subband {previous_subband_in_slot}. Last data for this subband was received at {previous_subband_timestamp}.")
defxst_values(self,subband_indices=None):
defxst_values(self,subband_indices=None):
""" xst_blocks, but as a matrix[len(subband_indices)][MAX_INPUTS][MAX_INPUTS] of complex values.
""" xst_blocks, but as a matrix[len(subband_indices)][MAX_INPUTS][MAX_INPUTS] of complex values.