-
Notifications
You must be signed in to change notification settings - Fork 33
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
Head direction flexibility #70
Comments
To clarify for @mehulrastogi:
Thanks! Let me know if you run into any troubles |
Egocentric representations (e.g.
HeadDirectionCells
and egocentricBoundaryVectorCells
) require the agents head direction to calculate their firing rates. Currently the head direction of theAgent
is assumed to just be the normalised velocity. This is a little restrictive. It would be better if there was a separate variable which could, in theory, be independent from velocity. Here's what I propose:A new variable
Agent.head_direction : np.ndarray(shape=(2,)
. By defaultAgent.head_direction
is updated to be equal to the (normalised)Agent.velocity
at each time step. However, if a new input parameter ("head_direction_smoothing_timescale" defaulting to zero) is non-zero then the head direction can be equal to the velocity vector smoothed by an exponential kernel. This should allow
head_direction` to be less noisy even if the velocity vector is noisy.In the future users could generalise this further and even have entirely independent dynamics for the head direction vector.
The text was updated successfully, but these errors were encountered: