Two primary upgrades have been made in this release:
* `FieldOfViewNeurons`: arranged manifolds of egocentric BVC or OVCs `Neurons` to make field-of-view tiling encodings.
python
from ratinabox.contribs.FieldOfViewNeurons import FieldOfViewNeurons
FoV_BVCs = FieldOfViewNeurons(Ag)
FoV_OVCs = FieldOfViewNeurons(Ag,params={
'cell_type':'OVC',
})
FoV_whiskers = FieldOfViewNeurons(Ag,params={
"FoV_angles":[75,105],
"FoV_distance":[0.1,0.2],
"spatial_resolution":0.02,})
![field_of_view](https://user-images.githubusercontent.com/41446693/231117991-49905cf3-a6b9-463e-9be6-48d8f5e00445.gif)
* Updates to how RatInABox figures are saved.
* User defined `RatInABox.figure_directory` sets where figures will be saved into.
* By setting `RatInABox.autosave_plots = True` RiaB will automatically attempt to save figures into a figure directory.
* Alternatively, `RatInABox.utils.save_figure(fig, figure_name)` can be used to manually save figures.
* Figures saved by either of the above two methods will be put into a dated folder and appended with the current time (so no overwriting). This is a more sustainable way to make scientific figures, easing the load of saving each one by hand.
* Retired simultaneously having both a `1.x` and a `dev` branch in favour of just a `dev` branch. Easier to maintain. Users warned that `dev` may be unstable and that pip is the stable version.
Other "What's Changed"
* Minor changes by TomGeorge1234 in https://github.com/TomGeorge1234/RatInABox/pull/27
* Fix bug when sampling points in a non-rectangular environment by frederikrogge in https://github.com/TomGeorge1234/RatInABox/pull/26
* Bug fix for concave Environments by TomGeorge1234 in https://github.com/TomGeorge1234/RatInABox/pull/28
* Various merges made into 1.x by TomGeorge1234 in https://github.com/TomGeorge1234/RatInABox/pull/29
New Contributors
* frederikrogge made their first contribution in https://github.com/TomGeorge1234/RatInABox/pull/26
**Full Changelog**: https://github.com/TomGeorge1234/RatInABox/compare/v1.2.0...v1.4.0