Skip to content
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

Resampling XDF with multiple streams @ variable sampling rates #57

Open
tempestz opened this issue Mar 13, 2017 · 5 comments
Open

Resampling XDF with multiple streams @ variable sampling rates #57

tempestz opened this issue Mar 13, 2017 · 5 comments

Comments

@tempestz
Copy link

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

sigviewer_resample

@cbrnr
Copy link
Owner

cbrnr commented Mar 13, 2017

Could you please share the file that's causing this issue?

@tempestz
Copy link
Author

Unfortunately I cannot, as it contains client sensitive information. I'll see if I can recreate this issue.

@cbrnr
Copy link
Owner

cbrnr commented Mar 14, 2017

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.

@Yida-Lin
Copy link
Contributor

Yida-Lin commented Mar 14, 2017

@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)

@cbrnr
Copy link
Owner

cbrnr commented Mar 15, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants