-
Notifications
You must be signed in to change notification settings - Fork 266
Edit NeuralynxIO to include all valid samples from NCS files (analog signals) #881
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
Edit NeuralynxIO to include all valid samples from NCS files (analog signals) #881
Conversation
|
Hi @emelon8,
to add a test that is checking the number of samples read. Maybe it even makes sense to compare to the plain representation of the data directly for this. @samuelgarcia @sin-mike What do you think performance wise of this? |
|
Hi @JuliaSprenger, Not sure if that's what you're looking for or not. |
|
Hi @emelon8, |
|
Hi @JuliaSprenger, I will take a look at it soon and let you know. |
|
@JuliaSprenger I wasn't able to import neo: Checking the code, it seems there is nothing to import from neuralynxrawio.py called |
|
@JuliaSprenger The checks didn't succeed in #917. I'm happy to check it once it's ready. |
|
Hi @JuliaSprenger, I finally got around to doing this. It looks like the analog signals from v0.9.0 and the version of v0.8.0 that I edited to keep all valid samples are identical, so I think we're good to go with the current version! |
|
@emelon8 Thanks for checking. Since the feature seems to work for you in the current version I will close this PR for now. |
These edits relate to the treatment of records with <512 valid samples, with the goal of keeping all valid samples. In particular, they fix three cases where valid samples were previously discarded:
test_neuralynxrawio.py runs OK.