-
Notifications
You must be signed in to change notification settings - Fork 100
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
automatic setting of number of channels #11
Comments
Another option here is to make the input data file type be an NPY file So that option is nicer because it is self-contained - if we want to go On Thu, Apr 28, 2016 at 12:33 PM, petersaj notifications@github.com wrote:
|
Thanks Nick, but just making the NPY file out of a binary might take a significant amount of time. On top of that, memory mapping in matlab works significantly worse than just reading a flat binary file, I have noticed recently. |
In linux the concatenation is immediate. But I'm struggling to get it to Fwiw, you can of course still just read the npy file with fread in matlab, On Thu, Apr 28, 2016 at 1:04 PM, marius10p notifications@github.com wrote:
|
The number of active and total channels is now read from the channel map file, unless already specified in ops. Same goes for sampling frequency. |
Marius' note:
It needs to know how many total channels there are so it loads them correctly from the bin file. In the past I left this as a user-defined option because there were cases where we ran it without a prb file.... But I think these days the prb file is a requirement for loading into Phy, so it needs to be made for any type of probe anyway. So I should really just determine the number of channels from the prb file.
The text was updated successfully, but these errors were encountered: