// genesis
// include Purk_layer_const.g
str filename = "results/"
str label = "ramptest2hx4"
// str label = "50PC-PF5+stcN18-actPFstripx100_r10long7mt_pulse_test"
str Purkinje_cells_history_filename = (filename) @ "PCs_" @ {label} @ ".history"
int i
int size_message_list
if (!({exists /output/history}))
create neutral /output/history
end
ce /output/history
// Purkinje cells
echo initializing {Purkinje_cells_history_filename}
create spikehistory Purkinje_cells.history
setfield Purkinje_cells.history ident_toggle 0 \ // index
filename {Purkinje_cells_history_filename} \
initialize 1 leave_open 1 flush 1
addmsg /Purkinje[]/soma/spike /output/history/Purkinje_cells.history SPIKESAVE