Repository navigation
Conversation
There was a problem hiding this comment.
this is overwritten by the line below
There was a problem hiding this comment.
one line space between methods, two between functions.
|
Very exciting Chris, glad to see this. As @agramfort indicated some pep8 / style issues are pending. Try to equip your editor of choice with a related plugin: http://pypi.python.org/pypi/pep8. |
|
@chdinh looks great so far.. I was too tired last night to properly look at the code, so I only commented on one line ;-). I think what we should aim for is something that abstracts away the network related things, such that the real time client behaves like a Raw/Epochs object and normal mne-python functions can be used to process the data. @agramfort we can have a skype meeting today, I'm available most of the time. @chdinh: have a look at http://pypi.python.org/pypi/flake8/ for style/syntax checking. |
|
@chdinh it seems that there is something wrong with the channels. When running the example and then I do: I get: As expected, the scales are wrong since the callibration haven't been applied. But some of the mag channels seem to be almost while others are always positive. This is not just the case for mag, but also other types, e.g. EEG: Can you look into this? I think it may be a bug on the server side (I'm using the fiff file simulator). PS: For the others, I'm currently reworking this PR, hopefully it should be ready for comments in a few days. The new version will have realtime Epochs class which can directly be used with the rest of me-python. The class will continuously receive data from the server, detect events, and maintain a FIFO queue of epochs. This (should) make realtime processing with mne-python very straightforward. |
|
I'll look into it - seems something is wrong with the calibration... |
|
Thanks. There is no calibration applied, so the values are much larger than expected. What's strange is that the waveforms don't look as expected (some are almost zero, others always positive) and there are these periodic spikes. It looks similar after calibration. |
|
could also be some indexing bug. On 13.01.2013, at 21:12, Martin Luessi [email protected] wrote:
|
|
Yes.. it was indeed just a simple reshape bug (I assumed the "nchan x n_times" raw buffer is in row-major order but it isn't, well, it is, but the shape is "n_times x nchan") |
|
We should make a bug gallery somewhere, so one has a less hard time On Mon, Jan 14, 2013 at 4:05 PM, Martin Luessi [email protected]:
|
|
Yes. How can we make it? - Is it possible inside github? |
|
Or just using the wiki and posting an ugly bug / artifact image with the On Mon, Jan 14, 2013 at 4:30 PM, Christoph Dinh [email protected]:
|
|
Honestly, I think that would be a bit of an overkill.. I was a bit dense to not realize what's going on ;-) and it's not like we always run into the same problems. |
|
Actually I was joking in parts ;-) then wanted to see where this goes. It's On Mon, Jan 14, 2013 at 4:45 PM, Martin Luessi [email protected]:
|
|
Good. I assumed you were joking ;-) |


for review - not ready to merge