public void PaprCalcAgreesWithCalculated()
 {
     LoopFiles((fileName, waveform, filePath, fileConfig) =>
     {
         System.IntPtr rfsgHandle = sim.GetInstrumentHandle().DangerousGetHandle();
         NIRfsgPlayback.DownloadUserWaveform(rfsgHandle, waveform.Name,
                                             waveform.Data, true);
         NIRfsgPlayback.RetrieveWaveformPapr(rfsgHandle,
                                             waveform.Name, out double calcPapr);
         waveform.PAPR_dB.Should().BeApproximately(calcPapr, 0.1,
                                                   $"of loading file \"{fileName}\"");
     });
 }