| Software time: 30266130153@2343751Hz |
| Processor: 108 start time: 387403500@30000Hz |
--
You received this message because you are subscribed to the Google Groups "Open Ephys" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-ephys+...@googlegroups.com.
To post to this group, send email to open-...@googlegroups.com.
Visit this group at https://groups.google.com/group/open-ephys.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-ephys/223bf5aa-57a4-48db-a425-879426e27be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to open-ephys+unsubscribe@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to open-ephys+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-ephys/83c74817-e828-4d74-afe8-ceec694a11bf%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-ephys/83540821-9514-4c77-b227-36f617c179eb%40googlegroups.com.
<LFP_cam_clk_12Jul2016.jpg>
Hello,
I have a very similar problem except that I am trying to align spike times (saved in kwx files) and continuous data (saved in raw.kwd files). If I understand correctly, the spikes are saved as sample times. The last spike sample time is 1908502, but the continuous data in the kwd file is only 1819500 samples long, so I am assuming that the spike sample times need to be shifted relative to some non-zero start time. I can find the start time in the kwd file, but not in the kwx file!
I loaded the spike times of channel 0 into MATLAB as
fname = 'experiment1.kwx';
dataset_name = '/channel_groups/0/time_samples';
SPKS = h5read(fname, dataset_name);
And I explored the kwx data structure by manually looking through the info structure obtained by
info = hdf5info(fname);
I expected to find it in one of the “Attributes” groups, but nearly all of them were empty. Are there just no start times in kwx files because they are recorded relative to the record button press? Was this one of the issues in older GUI versions (I can't check the GUI version now because I am away from the computer where it is installed)? Or am I just looking in the wrong place?
Many thanks you for your help,
Bo