-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
coupling_calib only include the real component #2
Comments
Hi @kangk906, # Excerp of example code from Coloradar dataset
# in: utils/ColoRadar_tools-master/python/calibration.py
# ...
# run range fft
range_fft = fft(adc_data, n=num_adc_samples_per_chirp,axis=-1)
# discard negative component of range fft output
range_fft = range_fft[:,:,:,1:num_range_bins]
# apply coupling calibration
return range_fft - coupling_calib['data'].reshape(num_tx, num_rx, 1, num_range_bins) But why, I unfortunately can't answer that exactly. It's not stated as such in the paper, so... But should in my understanding be complex; at least I've used the full complex value when calibrating a nother radar kit. |
Hi @azinke , @kangk906 ,
Fisrt two parameters are read form coupling_calib.txt, while num_adc_samples_per_chirp is read from waveform_cfg.txt. The problem is that sampling points described by two .txt are different. Lets take single chirp (AWR1843BOOST) as an example, 128 points in waveform_cfg.txt and 64 points in coupling_calib.txt. According to the codes provided by the dataset, the length of the data from coupling_calib.txt is 1536 (3tx4rx128). The data then are unpacked to I and Q channel as 64 sampling points. That is 3tx4rx64 points. But the data provided by dataset is 3tx4rx128 points, the length is not matched. def read_coupling_cfg(coupling_filename):
If we follow the code provided by @azinke , is it equivalent to treating the real and imaginary parts of the sampling points (64 each) as all real parts(128) ? At the same time, the data length in codes provided by the dataset Thank you! |
Hi @Brucye !
This means that the dataset itself is also recorded with I & Q channels if understood properly. This means that the dataset should reconstruct the data by computing the complex values ( There would be a mismatch if the dataset had 256 entries (that would give 128 after computing the complex values). |
Hello, I recently downloaded the dataset and noticed that in the 'coupling_calib.txt' file, all values are real numbers. However, when reviewing the associated calibration tool documentation, it specifies that coupling calibration involves a mean operation, implying that the values should include both the real and imaginary components. I'm curious to understand why the values in the 'coupling_calib.txt' file only include the real component and not the imaginary component. Could you provide some clarification on this?
The text was updated successfully, but these errors were encountered: