Skip to content

v1.12.0

Compare
Choose a tag to compare
@TomGeorge1234 TomGeorge1234 released this 02 Feb 17:23
· 57 commits to main since this release

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 the Agent 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 to kwargs to clean up the doctoring and some (previously fixed) constants have been exposed as via letting kwargs 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 a kwarg) to set a different Agent from which you draw position data from. In case, say, you want to plot the spikes from Neurons1 against the positions of Agent2.

New Contributors

Full Changelog: v1.11.4...v1.12.0