-
Notifications
You must be signed in to change notification settings - Fork 66
Selecting optimal temperature #209
Comments
Hi,
|
Thanks for your fast comment! I'm loading raw data. After the automated clustering if I plot the raw data with the Matlab GUI it appears in wave_clus GUI, but offcourse without the threshold level. |
That's really odd. Did you edit the set_parameters.m file and run again the sorting? If wave_clus finds a Xx_spikes or tkmes_Xx file in the path will try to load from there and not recalculate the sorting. |
I have edited set_parameters.m in the GUI, than I loaded the data again. I have also tried to quit from matlab than run the analysis again, but the result was the same. Here is my set_parameters file: % PLOTTING PARAMETERS % SPC PARAMETERS par.c_ov = 0.7; % Overlapping coefficient to use for the inclusion criterion. % DETECTION PARAMETERS % INTERPOLATION PARAMETERS % FEATURES PARAMETERS % FORCE MEMBERSHIP PARAMETERS % TEMPLATE MATCHING % HISTOGRAM PARAMETERS |
do you have another set_parameters.m file in the folder where your data is? (in that case wave_clus will use that one). Check if the par struct inside the times file has par.detection = 'pos' are you using the last code available? |
In my folder there is one set_parameters.m file and a set_parameters_ui.m and a set_parameters_DEFAULT.m. I don't think these two can be the problem as they have different names. IN the folder where my data is there is no set_parameters file. I downloaded the code at the end of 2021. 3.0.3 version. Is there a newer version? |
It looks like you have the version. Can you save that sorting in look inside the times file, there should be a par struct with the par.detection used. |
In the par struct the par detection's value is 'both'. This could be the problem. How can I change it if not in the set_parameters? |
ok, just to check run in Matlab: That should give you the path of the parameters that will be used. Check if that file is the one on the waveclus folder and if the detection parameter is 'pos' . |
I have checked the path of the set_parameter.m file and it is in the waveclus folder. I have realised that the negative spikes appear in the clusters only after I press the force button. |
It makes sense, the issue is why that spikes are detected. Are you removing the times_NN.mat file from that folder after changing the parameters? The GUI will try to open the result if the times_NN.mat file is there. |
Sorry but I don't know what is that times_NN.mat. I don't have a file with that name. Do you mean the the file which contains the times of the spikes? Here it is called times_data.mat. |
Yes, I mean times_data.mat in your case |
I have put my data into a new empty folder than I ran wave_clus again. Now I got the below results with only one cluster. This time the raw data with the threshold also appeared. Is that possible that I saved the clustering data of two data sets in the same times_data.mat? Can you tell me where can I find the interspike intervals? Are they included in the times_data.mat file or do I have to calculate it from the times of the spikes? |
No, but if waveclus finds in the current folder (or path) a file with the same name as the raw data but starting with "times_" it will open that result.
You have to calculated them from the cluster_class variable in the "times_" file. |
Hi,
I first would like to thank you for this wonderful spike sorting tool.
I have just started using wave_clus on my data and I have faced some problems.
Thanks for your help in advance!
The text was updated successfully, but these errors were encountered: