Chadwick Boulay

Results 324 comments of Chadwick Boulay

I think it's a really unfortunate parameter name. `maxChunkLen` has nothing to do with the chunk size in `pull_chunk*`. Instead, `maxChunkLen` specifies the maximum chunk size for outlet->inlet transport. i.e.,...

BTW, when you use `pull_chunk_multiplexed`, after skipping a few hops you eventually end up here: https://github.com/sccn/liblsl/blob/e16db0524f52ee74288f313d63f361e2499fda26/src/stream_inlet_impl.h#L205-L211 It will pull as many samples as are available up until `max_samples` (the number...

I can wave my hands and say "`asio` is doing some advanced packetization to optimize the transport", and that's great, but we should be able to override it. Otherwise the...

Hmm... one thing we could do in `pull_chunk(vector,...)` is see if the outer vector has a `reserve`d size via checking its `capacity()`, and if it's non-zero then we can assume...

Actually, it's not so straightforward. Let's say a user is reusing the same vector and they don't `reserve`. On their first `pull_chunk` the vector will allocate memory to store however...

RE speed and contiguous samples -- one place where this is really useful is when using numpy. If you preallocate a C-contiguous array of shape (max_samples, channels) and correct type,...

I'm encountering this too, using i140703-001-03.nev from https://gin.g-node.org/INT/multielectrode_grasp The error is in `_parse_header`. https://github.com/NeuralEnsemble/python-neo/blob/50abfbce832edb1c0f8364ac34c8a6442e1a3edf/neo/rawio/blackrockrawio.py#L439-L442 `data` is a structured array (fields for timestamp, packet_id, etc.) of shape (1317,) `mask` is a...

It's in a block of code that only gets touched when there are no .nsx files present. So you can trigger this, for example, by opening a nev file that...

It's probably up to me to fix this, but I'm afraid I won't have time for at least a couple weeks. I hope it's just a CI issue and all...

Saving for my own future reference: https://medium.com/better-programming/indie-mac-app-devops-with-github-actions-b16764a3ebe7