-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update C++ docstrings for extended histentry #3234
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @clinssen, for updating the documentation. It is much more helpful now.
nestkernel/histentry.h
Outdated
class histentry_extended | ||
{ | ||
public: | ||
histentry_extended( double t, double dw, size_t access_counter ); | ||
|
||
double t_; //!< point in time when spike occurred (in ms) | ||
double t_; //!< point in time for the history entry spike occurred (in ms) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think, the words "spike occurred" can be removed in this comment since it seems to be a remnant from the stdp documentation from where I copied it. Maybe one can refer to t_
as "time stamp of the entry".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Could you please provide a short description for this PR? |
models/clopath_synapse.h
Outdated
@@ -247,16 +247,17 @@ clopath_synapse< targetidentifierT >::send( Event& e, size_t t, const CommonSyna | |||
std::deque< histentry_extended >::iterator start; | |||
std::deque< histentry_extended >::iterator finish; | |||
|
|||
// facilitation due to postsynaptic activity since last pre-synaptic spike |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe move this comment down to the facilitate call to match the depress() one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
nestkernel/histentry.h
Outdated
@@ -40,20 +40,25 @@ class histentry | |||
double t_; //!< point in time when spike occurred (in ms) | |||
double Kminus_; //!< value of Kminus at that time | |||
double Kminus_triplet_; //!< value of triplet STDP Kminus at that time | |||
size_t access_counter_; //!< access counter to enable removal of the entry, once all neurons read it | |||
size_t | |||
access_counter_; //! how often this entry was accessed (to enable removal, once read by all synapses which need it) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strange linebreak?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, fixed!
nestkernel/histentry.h
Outdated
//! how often this entry was accessed (to enable removal, once read by all | ||
//! neurons which need it) | ||
size_t access_counter_; | ||
size_t |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<br>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, fixed!
Pull request automatically marked stale! |
Update C++ docstrings for extended histentry.