Closed jack-h closed 2 years ago
@radonnachie this looks plausible. "Tested" with the vla_f_config.yaml
config file, to the extent that CosmicFengine.packetizer._read_headers()
returns seemingly correct results.
Would definitely be worth testing with test vectors to see if the data supposedly coming from the different feng-ids really is.
Note that I'm not dividing down feng_id in the header entries by 2, so I'm leaving you to deal with the fact that the downstream pipeline will likely now have a data stream containing only even/odd feng ids.
Useful (vital) in order to separate F-engine IDs which are really different IF tunings. Might require the downstream receiver to do something to account for the possibility of receiving non-contiguous feng_ids