Closed mmyros closed 9 years ago
The PSTH node was merged into the master branch briefly before we merged the multiple sample rate one. Thus, it still uses the old single-rate sample processing architecture, which explains why it doesn't work now. We'll transition it to the new architecture, altough it might take a while.
The PSTH actually is working in the master branch (although it still needs some cleanup). I'm able to see triggered averages when I use it with the Network Node and the matlab_zeroMQ_wrapper_example.m code in the Resources/Matlab folder. How are you generating your events? Are they coming in as TTLs? It's possible that aspect of the PSTH needs fixing.
Yes, they are coming in as TTLs. I can try the Network Node tomorrow.
On Thu, 5 Mar 2015 at 21:12 Josh Siegle notifications@github.com wrote:
The PSTH actually is working in the master branch (although it still needs some cleanup). I'm able to see triggered averages when I use it with the Network Node and the matlab_zeroMQ_wrapper_example.m code in the Resources/Matlab folder. How are you generating your events? Are they coming in as TTLs? It's possible that aspect of the PSTH needs fixing.
[image: screenshot] https://cloud.githubusercontent.com/assets/200366/6519007/f40e3a34-c362-11e4-9a77-b6d29178036e.png
Reply to this email directly or view it on GitHub https://github.com/open-ephys/GUI/issues/262#issuecomment-77494214.
Network node is not working for me, unfortunately. I followed steps on the wiki to install zeromq, recompiled, reproduced the workflow Josh outlined, and ran matlab example. Trial count stays at zero. I'm not sure where to go from here. Also, my event file got corrupted when I used TTL triggering. I think something is very wrong with my event setup.
Be sure to disable any kinf of saving on the PSTH node. I'm moving the code to the new recording framework, but right now it corrupts the event file.
Or... Add the Record Control module, which will make sure PSTH dumps things to disk :)
On Wed, Mar 11, 2015 at 4:08 PM, Aarón Cuevas López < notifications@github.com> wrote:
Be sure to disable any kinf of saving on the PSTH node. I'm moving the code to the new recording framework, but right now it corrupts the event file.
— Reply to this email directly or view it on GitHub https://github.com/open-ephys/GUI/issues/262#issuecomment-78359958.
Shay Ohayon HHMI Postdoc Fellow of the Life Sciences Research Foundation DiCarlo's lab, MIT, 46-6147 +1 617-324-3593
Aarón that must be why. Do you think it's possible to un-corrupt the event files? I have a few that got corrupted during an experiment.
Aaron it looks like .spike files are also corrupted (see https://github.com/open-ephys/GUI/issues/146#issuecomment-81966080)
The spike issue in #146 seems related to the change in format for spike files instead of a file corrption. The simple way to know if a file is actually corrupted or not is to try to load it with our load_open_ephys_data.m MATLAB function, which is updated to the latest format version.
I updated last week the PSTH node to use the new record subsystem, so all new files should be well.
@mmyros, send me your files to aaron@open-ephys.org and I'll see if they can be fixed or not (it depends on how the data was written).
Hi all,
PSTH in the old spikesorting branch still works for me. However, when I tried to use it in the master branch, I got all black subplots instead of PSTH. Trials keep counting. Here is a dump from the command line, I did not find anything useful there. Gdb did not give any clues either. My minimal configuration consists of FPGA -> Bandpass filter -> Spike sorter -> PSTH. Spike sorter has 4 tetrodes, one of them has a unit created from a box. This is all using 2 headstages picking up just ambient 60 cycle noise.