sigviewer
sigviewer copied to clipboard
Resampling XDF with multiple streams @ variable sampling rates
SigViewer requires resampling when opening an .xdf file with multiple streams @ variable sampling rates-- unfortunately resampling is causing SigViewer to crash.
Resampling rates tested: 500, 100, 1 Hz
Could you please share the file that's causing this issue?
Unfortunately I cannot, as it contains client sensitive information. I'll see if I can recreate this issue.
Thanks. You could remove sensitive information with a text editor if it is stored in the headers/footers. Otherwise it'll be difficult for us to triage this issue.
@cbrnr Removing doesn't work. That will cause the file unloadable because libxdf loads files by reading the length of each chunk indicated in the file. However, you can replace those info with random text, (but must be exact same length of original text)
You're right, the lengths of the chunks must not change, so deleting does not work without further modifications. I agree that overwriting with random text with the same length as the original fields should work though.