23 #ifndef CORRELOMATRIX_DETECTOR_H
24 #define CORRELOMATRIX_DETECTOR_H
271 device_.get_status(d);
282 const bool reset_required = ptmp.
set(d, *
this);
284 device_.set_status(d);
286 if ( reset_required ==
true)
double_t weight
Weight of a connection.
Definition: nest.h:170
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: correlomatrix_detector.cpp:233
Parameters_ P_
Definition: correlomatrix_detector.h:256
Definition: lockptrdatum.h:40
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
std::deque< Spike_ > SpikelistType
Definition: correlomatrix_detector.h:190
correlomatrix_detector()
Definition: correlomatrix_detector.cpp:198
void set(const DictionaryDatum &, const Parameters_ &, bool)
Definition: correlomatrix_detector.cpp:164
Base class for all pseudo recording devices.
Definition: pseudo_recording_device.h:73
long_t timestep_
Definition: correlomatrix_detector.h:173
bool has_proxies() const
This device has proxies, so that it will receive spikes also from sources which live on other threads...
Definition: correlomatrix_detector.h:141
Time tau_max_
maximum time difference of events to detect
Definition: correlomatrix_detector.h:199
State_ S_
Definition: correlomatrix_detector.h:257
Definition: correlomatrix_detector.h:196
const Name element_type("element_type")
Node type.
Definition: nest_names.h:117
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
long_t N_channels_
number of channels
Definition: correlomatrix_detector.h:202
const Name recorder("recorder")
Node type.
Definition: nest_names.h:245
void get_status(DictionaryDatum &) const
Definition: correlomatrix_detector.h:269
SpikelistType incoming_
incoming spikes, sorted
Definition: correlomatrix_detector.h:231
Definition: nest_time.h:130
Spike_(long_t timestep, double_t weight, long_t receptorchannel)
Definition: correlomatrix_detector.h:177
port handles_test_event(SpikeEvent &, rport)
Check if the node can handle a particular event and receptor type.
Definition: correlomatrix_detector.h:261
std::string get_name() const
Return class name.
Definition: node.cpp:83
Parameters_()
Sets default parameter values.
Definition: correlomatrix_detector.cpp:37
void reset(const Parameters_ &)
Definition: correlomatrix_detector.cpp:167
void calibrate()
Re-calculate dependent parameters of the node.
Definition: correlomatrix_detector.cpp:239
Exception to be thrown if the specified receptor type does not exist in the node. ...
Definition: exceptions.h:254
void handle(SpikeEvent &)
Handle incoming spike events.
Definition: correlomatrix_detector.cpp:252
Time delta_tau_
width of correlation histogram bins
Definition: correlomatrix_detector.h:198
State_()
initialize default state
Definition: correlomatrix_detector.cpp:64
long_t receptor_channel_
Definition: correlomatrix_detector.h:175
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
std::vector< std::vector< std::vector< double_t > > > covariance_
Weighted covariance matrix.
Definition: correlomatrix_detector.h:235
virtual void handle(SpikeEvent &e)
Handle incoming spike events.
Definition: node.cpp:198
Time Tstart_
start of recording
Definition: correlomatrix_detector.h:200
double double_t
Double precision floating point numbers.
Definition: nest.h:93
std::vector< std::vector< std::vector< long_t > > > count_covariance_
Unweighted covariance matrix.
Definition: correlomatrix_detector.h:239
bool operator>(const Spike_ &second) const
Greater operator needed for insertion sort.
Definition: correlomatrix_detector.h:184
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
Definition: namedatum.h:90
void set_status(const DictionaryDatum &)
Definition: correlomatrix_detector.h:279
std::vector< long_t > n_events_
spike counters
Definition: correlomatrix_detector.h:230
void init_state_(Node const &)
Private function to initialize the state of a node to model defaults.
Definition: correlomatrix_detector.cpp:224
Default types used by the NEST kernel.
Event for spike information.
Definition: event.h:320
Base class for all NEST network objects.
Definition: node.h:96
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: correlomatrix_detector.cpp:249
Correlomatrixdetector class.
Definition: correlomatrix_detector.h:129
Definition: correlomatrix_detector.h:228
Time Tstop_
end of recording
Definition: correlomatrix_detector.h:201
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
bool set(const DictionaryDatum &, const correlomatrix_detector &)
Set values from dicitonary.
Definition: correlomatrix_detector.cpp:107
PseudoRecordingDevice device_
Definition: correlomatrix_detector.h:255
Spike structure to store in the deque of recently received events.
Definition: correlomatrix_detector.h:171
double_t weight_
Definition: correlomatrix_detector.h:174