Waveform Dumping
Dump and inspect waveform outputs
When running in RAN simulation mode, set RX FT filename in
worker/config_ran.json to a non-empty H5 filename to dump received
frequency-time signal grids. Leave it as an empty string to disable waveform
dumping.
After the run, find the H5 dump at worker/data/rx_dump.h5.
The simulator writes one HDF5 group per slot, using the slot number as the group name. Each dumped slot contains:
mRxSignal: received I/Q samples. Shape:(active cell num, rx ant num, symbol num, subcarrier num).slot_type: slot direction.0is DL and1is UL.uids: active UE IDs for the slot.cids: active cell IDs for the slot.
Read dumped samples
Use h5py to read the dumped data. mRxSignal is stored as a compound complex
dataset with real and imag fields.