Hello REW Gurus!
I have a bunch of REW *.mdat files that contain multiple spectra from harmonic distortion measurements (fundamental peak at 1 kHz, harmonics at 2 kHz, 3 kHz, 4 kHz, etc, and noise in between these peaks). I need to import these spectra to Python so I can further process and plot them. I asked ChatGPT, but no luck... is there any documentation on the file/data format, or even examples on how to read the data with Python?
(Yes, the obvious approach would be to open the files in REW, export the data to something "easy", and use this with Python -- but that's not what I am after. My computer platform does not seem to be supported by REW.)
I have a bunch of REW *.mdat files that contain multiple spectra from harmonic distortion measurements (fundamental peak at 1 kHz, harmonics at 2 kHz, 3 kHz, 4 kHz, etc, and noise in between these peaks). I need to import these spectra to Python so I can further process and plot them. I asked ChatGPT, but no luck... is there any documentation on the file/data format, or even examples on how to read the data with Python?
(Yes, the obvious approach would be to open the files in REW, export the data to something "easy", and use this with Python -- but that's not what I am after. My computer platform does not seem to be supported by REW.)