-
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
Spike detector precision implicit setting and variable name #432
Conversation
I suggest @abigailm as a reviewer. |
This is an extended version of #431; I suggest to close that one. |
@@ -45,7 +45,7 @@ nest::spike_detector::spike_detector() | |||
: Node() | |||
// record time and gid | |||
, device_( *this, RecordingDevice::SPIKE_DETECTOR, "gdf", true, true ) | |||
, user_set_precise_times_( false ) | |||
, has_user_set_precise_times_( false ) |
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 don't agree with this name change, I think the original name is sufficiently clear (note that "set" is past tense in the original name).
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.
Dear Hans-Ekkehard, the first time I saw it, I read "user_set" word as a compound adjective. I will revert this change.
@sepehrmn I don't understand what you want to achieve with your changes. Could you describe the use case you are trying to address? |
There are two issue left, the discrepancy in setting the value of precision and the default value of "precision". In #431 I offered a solution for the latter, but as @heplesser pointed out, it was not a good one. I try to offer a better one with a new pull request. If there are precise models, and a user sets "precise_times" to true, everything goes fine. But if there are precise models and it is not set, there can be a few problems:
|
This has morphed into #446 so I am closing it. Thanks @heplesser ! |
Two improvements: