CoreNEURON
output_spikes.hpp
Go to the documentation of this file.
1 /*
2 # =============================================================================
3 # Copyright (c) 2016 - 2021 Blue Brain Project/EPFL
4 #
5 # See top-level LICENSE file for details.
6 # =============================================================================.
7 */
8 
9 #pragma once
10 
11 #include <string>
12 #include <vector>
13 #include <utility>
15 namespace coreneuron {
16 void output_spikes(const char* outpath, const SpikesInfo& spikes_info);
17 void mk_spikevec_buffer(int);
18 
19 extern std::vector<double> spikevec_time;
20 extern std::vector<int> spikevec_gid;
21 
22 void clear_spike_vectors();
23 void validation(std::vector<std::pair<double, int>>& res);
24 
25 void spikevec_lock();
26 void spikevec_unlock();
27 } // namespace coreneuron
coreneuron::spikevec_gid
std::vector< int > spikevec_gid
Definition: output_spikes.cpp:46
coreneuron
THIS FILE IS AUTO GENERATED DONT MODIFY IT.
Definition: corenrn_parameters.cpp:12
coreneuron::clear_spike_vectors
void clear_spike_vectors()
Definition: output_spikes.cpp:296
coreneuron::spikevec_time
std::vector< double > spikevec_time
--> Coreneuron as SpikeBuffer class
Definition: output_spikes.cpp:45
nrnreport.hpp
coreneuron::validation
void validation(std::vector< std::pair< double, int >> &res)
Definition: output_spikes.cpp:305
coreneuron::spikevec_unlock
void spikevec_unlock()
Definition: output_spikes.cpp:63
coreneuron::output_spikes
void output_spikes(const char *outpath, const SpikesInfo &spikes_info)
Definition: output_spikes.cpp:279
coreneuron::spikevec_lock
void spikevec_lock()
Definition: output_spikes.cpp:59
coreneuron::mk_spikevec_buffer
void mk_spikevec_buffer(int sz)
Definition: output_spikes.cpp:50