Skip to content

Commit

Permalink
fix the number of neurons for raster plot to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
chegerland committed Mar 15, 2021
1 parent e6059ac commit d4f6322
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Spike/Simulation/FiringRateSimulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,10 @@ void FiringRateSimulation::add_to_firing_rate(
}

RasterPlot::RasterPlot(const std::string &input_file)
: FiringRateSimulation(input_file), spike_trains(N_neurons) {}
: FiringRateSimulation(input_file), spike_trains(N_neurons) {
// fix the number of neurons to 100, since this is enough for the raster plot
N_neurons = 100;
}

void RasterPlot::calculate() {
// for every trial...
Expand Down

0 comments on commit d4f6322

Please sign in to comment.