minor refactorings

This commit is contained in:
David Shorten 2021-07-25 17:47:27 +10:00
parent 8d7c598022
commit dc226be60a
2 changed files with 0 additions and 14 deletions

View File

@ -29,10 +29,6 @@ import infodynamics.utils.UnivariateNearestNeighbourSearcher;
public class TransferEntropyCalculatorSpikingIntegration implements
TransferEntropyCalculatorSpiking {
protected final static boolean USE_POINT_ITSELF = false;
protected final static boolean TRIM_RADII = false;
protected final static boolean USE_SAME_RADII = false;
/**
* Number of past destination spikes to consider (akin to embedding length)
*/
@ -57,15 +53,7 @@ public class TransferEntropyCalculatorSpikingIntegration implements
*/
protected Vector<double[]> vectorOfDestinationSpikeTimes = null;
// constants for indexing our data storage
protected final static int NEXT_DEST = 0;
protected final static int NEXT_SOURCE = 1;
protected final static int NEXT_POSSIBILITIES = 2;
/**
* Cache of the timing data for each new observed spiking event in both the source
* and destination
*/
Vector<double[][]>[] eventTimings = null;
/**
* Cache of the timing data for each new observed spiking event for the

View File

@ -101,8 +101,6 @@ print("Canonical example")
teCalc.setProperty("k_HISTORY", "2")
teCalc.setProperty("l_HISTORY", "1")
results_canonical = np.zeros(NUM_REPS)
for i in range(NUM_REPS):
event_train_x, event_train_y = generate_canonical_example_processes(NUM_SPIKES)