v1.12.0
Main charges include:
- Significantly modularised
Agent.update()
function. It is now more readable. This should be fully backwards compatible for conventional users of RiaB. For power users a few internal variables were renamed e.g.save_velocity
-->measured_velocity
but really very few. It also accepts (but doesn't recommend) users just forcing the next position of theAgent
via
Agent.update(forced_next_position = <next_pos>)
This should be fully backwards compatible for conventional users of RiaB. For power users a few internal variables were renamed e.g. save_velocity
-->measured_velocity
but really very few.
- Small bug fixes for @colleenjg to do with warning when params['n']` is incompatible with the specific class.
- Bug fix from @gsivori to make position sampling acknowledge and account for the existence of holes in the Environment more naturally than was done before.
- Minor changes to some plotting functions. More params have been moved from
args
tokwargs
to clean up the doctoring and some (previously fixed) constants have been exposed as via lettingkwargs
define them. This both simplifies and improves plotting.
What's Changed
- Position sampling in Environments with holes. by @gsivori in #100
- Small fixes and new warning for Neurons classes. by @colleenjg in #101
- Fixes spurious warning raised when initializing VectorCells objects. by @colleenjg in #103
- For spike rasters, or rate maps plotted via the
'history'
method there is a hidden option (via akwarg
) to set a differentAgent
from which you draw position data from. In case, say, you want to plot the spikes fromNeurons1
against the positions ofAgent2
.
New Contributors
Full Changelog: v1.11.4...v1.12.0