cutpoint = randsample(2:nTimepoints-diff(baseidx)-2,1);
--
You received this message because you are subscribed to the Google Groups "AnalyzingNeuralTimeSeriesData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to analyzingneuraltimes...@googlegroups.com.
Visit this group at https://groups.google.com/group/analyzingneuraltimeseriesdata.
To view this discussion on the web visit https://groups.google.com/d/msgid/analyzingneuraltimeseriesdata/e024ffbd-d87f-4667-8392-4c7d7830f2a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi Demetris. That's correct. I believe what I was trying to do is avoid a situation where the cut point was too close to the end. Honestly, I'm not sure it really matters that much, given a sufficient number of iterations.Mike
On Fri, Jul 5, 2019 at 8:38 PM Demetris Roumis <rou...@gmail.com> wrote:
--Hi Mike,My question concerns your code for chapter 34, which I attached just in case there are multiple versions floating around, line 94:
cutpoint = randsample(2:nTimepoints-diff(baseidx)-2,1);My understanding is that you are doing a circular time shift and randomly sampling a point within the trial time window to use as a new 'cutpoint', per permutation.Why do you subtract the duration of the baseline from the upper end of the range from which you sample?Doesn't this unnecessarily limit the cutpoint range to a subset of possible times in the time window?Thanks,Demetris
You received this message because you are subscribed to the Google Groups "AnalyzingNeuralTimeSeriesData" group.
To unsubscribe from this group and stop receiving emails from it, send an email to analyzingneuraltimeseriesdata+unsub...@googlegroups.com.
Visit this group at https://groups.google.com/group/analyzingneuraltimeseriesdata.
To view this discussion on the web visit https://groups.google.com/d/msgid/analyzingneuraltimeseriesdata/e024ffbd-d87f-4667-8392-4c7d7830f2a5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.