54 throw BadProperty(
"Trying to get dendritic delay on a synapse which only stores the total transmission delay." );
63 throw BadProperty(
"Trying to set dendritic delay on a synapse which only stores the total transmission delay." );
72 throw BadProperty(
"Trying to get dendritic delay on a synapse which only stores the total transmission delay." );
81 throw BadProperty(
"Trying to set dendritic delay on a synapse which only stores the total transmission delay." );
90 throw BadProperty(
"Trying to get axonal delay on a synapse which only stores the total transmission delay." );
99 throw BadProperty(
"Trying to set axonal delay on a synapse which only stores the total transmission delay." );
108 throw BadProperty(
"Trying to get axonal delay on a synapse which only stores the total transmission delay." );
117 throw BadProperty(
"Trying to set axonal delay on a synapse which only stores the total transmission delay." );
180 throw BadParameter(
"Synapse type does not support explicitly setting axonal and dendritic delays." );
321 "The total delay cannot be set for synapse types which use both dendritic and axonal delays, because of "
353 +
"' is not allowed for synapse types which use both dendritic and axonal delays, because of ambiguity." );
Dictionary class for interface to Python and C++ API.
Definition dictionary.h:213
Exception to be thrown if a parameter cannot be set.
Definition exceptions.h:717
Exception to be thrown if a status parameter is incomplete or inconsistent.
Definition exceptions.h:680
DelayChecker & get_delay_checker()
Returns the delay checker for the current thread.
Definition connection_manager.cpp:214
Definition connector_model.h:69
void assert_valid_delay_ms(double)
Raise exception if delay value in milliseconds is invalid.
Definition delay_checker.cpp:149
Class to convert times from one representation to another.
Definition nest_timeconverter.h:42
Time from_old_steps(long s_old) const
Converts a given number of steps with respect to old representation into a time object in current rep...
Definition nest_timeconverter.cpp:38
Definition nest_time.h:135
static double delay_steps_to_ms(long steps)
Convert between delays given in steps and milliseconds.
Definition nest_time.h:529
static long delay_ms_to_steps(double ms)
Definition nest_time.h:539
long get_steps() const
Definition nest_time.h:504
ConnectionManager connection_manager
Definition kernel_manager.h:239
const std::string delay("delay")
const std::string axonal_delay("axonal_delay")
const std::string dendritic_delay("dendritic_delay")
Namespace for the NEST simulation kernel.
Definition beta_normalization_factor.h:33
KernelManager & kernel()
Definition kernel_manager.h:311
constexpr uint8_t NUM_BITS_DENDRITIC_DELAY
Definition nest_types.h:93
StaticAssert< sizeof(TotalDelay)==4 >::success success_total_transmission_delay_data_size
check legal size
Definition delay_types.h:195
StaticAssert< sizeof(AxonalDendriticDelay)==4 >::success success_axonal_dendritic_delay_data_size
check legal size
Definition delay_types.h:373
constexpr uint8_t NUM_BITS_AXONAL_DELAY
Definition nest_types.h:94
Container for explicit dendritic and axonal delay values.
Definition delay_types.h:201
long get_axonal_delay_steps() const
Return the axonal delay of the connection in steps.
Definition delay_types.h:251
AxonalDendriticDelay(double d)
Definition delay_types.h:205
uint32_t axonal_delay_
Definition delay_types.h:203
long get_delay_steps() const
Return the delay of the connection in steps.
Definition delay_types.h:287
void set_dendritic_delay_ms(const double d)
Set the dendritic delay of the connection specified in ms.
Definition delay_types.h:242
void calibrate(const TimeConverter &tc)
Definition delay_types.h:326
double get_dendritic_delay_ms() const
Return the dendritic delay of the connection in ms.
Definition delay_types.h:233
void set_delay_steps(const long d)
Set the delay of the connection specified in ms.
Definition delay_types.h:296
void set_status(const Dictionary &d, ConnectorModel &)
Definition delay_types.h:348
long get_dendritic_delay_steps() const
Return the dendritic delay of the connection in steps.
Definition delay_types.h:215
void get_status(Dictionary &d) const
Definition delay_types.h:340
void set_axonal_delay_steps(const long d)
Set the axonal delay of the connection specified in ms.
Definition delay_types.h:260
void set_dendritic_delay_steps(const long d)
Set the dendritic delay of the connection specified in ms.
Definition delay_types.h:224
double get_delay_ms() const
Return the total delay of the connection in ms.
Definition delay_types.h:306
uint32_t dendritic_delay_
Definition delay_types.h:202
double get_axonal_delay_ms() const
Return the axonal delay of the connection in ms.
Definition delay_types.h:269
void set_axonal_delay_ms(const double d)
Set the axonal delay of the connection specified in ms.
Definition delay_types.h:278
void set_delay_ms(const double)
Setting the total delay is not supported, because it is ambiguous how it should be split into a dendr...
Definition delay_types.h:318
Compile time assertions.
Definition static_assert.h:47
Container for a single delay value which is interpreted as total transmission delay or purely dendrit...
Definition delay_types.h:40
void calibrate(const TimeConverter &tc)
Definition delay_types.h:157
void set_axonal_delay_ms(const double)
Set the axonal delay of the connection specified in ms.
Definition delay_types.h:115
void set_delay_steps(const long d)
Set the delay of the connection specified in ms.
Definition delay_types.h:133
void set_axonal_delay_steps(const double)
Set the axonal delay of the connection specified in ms.
Definition delay_types.h:97
void set_status(const Dictionary &d, ConnectorModel &)
Definition delay_types.h:175
void set_delay_ms(const double d)
Set the delay of the connection specified in ms.
Definition delay_types.h:151
void get_status(Dictionary &d) const
Definition delay_types.h:169
void set_dendritic_delay_steps(const double)
Set the dendritic delay of the connection specified in ms.
Definition delay_types.h:61
double get_axonal_delay_ms() const
Return the axonal delay of the connection in ms.
Definition delay_types.h:106
uint32_t delay_
Definition delay_types.h:41
long get_axonal_delay_steps() const
Return the axonal delay of the connection in steps.
Definition delay_types.h:88
void set_dendritic_delay_ms(const double)
Set the dendritic delay of the connection specified in ms.
Definition delay_types.h:79
long get_dendritic_delay_steps() const
Return the dendritic delay of the connection in steps.
Definition delay_types.h:52
TotalDelay(double d)
Definition delay_types.h:43
double get_delay_ms() const
Return the total delay of the connection in ms.
Definition delay_types.h:142
long get_delay_steps() const
Return the delay of the connection in steps.
Definition delay_types.h:124
double get_dendritic_delay_ms() const
Return the dendritic delay of the connection in ms.
Definition delay_types.h:70