mirror of https://github.com/jlizier/jidt
Merge pull request #95 from dpshorten/master
sensible parameter choices for SpikeTrainTETesting.py
This commit is contained in:
commit
40d51ed542
|
@ -81,8 +81,10 @@ teCalc.setProperty("knns", "4")
|
|||
print("Independent Poisson Processes")
|
||||
teCalc.setProperty("DEST_PAST_INTERVALS", "1,2")
|
||||
teCalc.setProperty("SOURCE_PAST_INTERVALS", "1,2")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "true")
|
||||
teCalc.setProperty("JITTERED_SAMPLING_NOISE_LEVEL", "0")
|
||||
# It is recommended that this is never set to 'true', apart from cases of extremely bursty spiking (that is, long periods
|
||||
# of no activity and short periods of intense spiking). In such cases, care must also be taken in the setting of the
|
||||
# parameter JITTERED_SAMPLING_NOISE_LEVEL.
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "false")
|
||||
teCalc.appendConditionalIntervals(JArray(JInt, 1)([1, 2]))
|
||||
teCalc.appendConditionalIntervals(JArray(JInt, 1)([1, 2]))
|
||||
teCalc.setProperty("NORM_TYPE", "MAX_NORM")
|
||||
|
@ -112,8 +114,7 @@ print("Noisy copy zero TE")
|
|||
#teCalc.appendConditionalIntervals(JArray(JInt, 1)([1]))
|
||||
teCalc.setProperty("DEST_PAST_INTERVALS", "1")
|
||||
teCalc.setProperty("SOURCE_PAST_INTERVALS", "1")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "true")
|
||||
teCalc.setProperty("JITTERED_SAMPLING_NOISE_LEVEL", "0")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "false")
|
||||
#teCalc.setProperty("NORM_TYPE", "MAX_NORM")
|
||||
|
||||
results_noisy_zero = np.zeros(NUM_REPS)
|
||||
|
@ -145,8 +146,7 @@ print("Noisy copy non-zero TE")
|
|||
teCalc.appendConditionalIntervals(JArray(JInt, 1)([1]))
|
||||
teCalc.setProperty("DEST_PAST_INTERVALS", "1,2")
|
||||
teCalc.setProperty("SOURCE_PAST_INTERVALS", "1")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "true")
|
||||
teCalc.setProperty("JITTERED_SAMPLING_NOISE_LEVEL", "0")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "false")
|
||||
#teCalc.setProperty("NORM_TYPE", "MAX_NORM")
|
||||
|
||||
results_noisy_non_zero = np.zeros(NUM_REPS)
|
||||
|
@ -175,8 +175,7 @@ teCalc = teCalcClass()
|
|||
teCalc.setProperty("knns", "4")
|
||||
teCalc.setProperty("DEST_PAST_INTERVALS", "1,2")
|
||||
teCalc.setProperty("SOURCE_PAST_INTERVALS", "1")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "true")
|
||||
teCalc.setProperty("JITTERED_SAMPLING_NOISE_LEVEL", "0")
|
||||
teCalc.setProperty("DO_JITTERED_SAMPLING", "false")
|
||||
#teCalc.setProperty("NUM_SAMPLES_MULTIPLIER", "1")
|
||||
#teCalc.setProperty("NORM_TYPE", "MAX_NORM")
|
||||
|
||||
|
|
Loading…
Reference in New Issue