v1.4.0
v1.4.0 major changes
Two primary upgrades have been made in this release:
FieldOfViewNeurons
: arranged manifolds of egocentric BVC or OVCsNeurons
to make field-of-view tiling encodings.
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,})
-
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.
- User defined
-
Retired simultaneously having both a
1.x
and adev
branch in favour of just adev
branch. Easier to maintain. Users warned thatdev
may be unstable and that pip is the stable version.
Other "What's Changed"
- Minor changes by @TomGeorge1234 in #27
- Fix bug when sampling points in a non-rectangular environment by @frederikrogge in #26
- Bug fix for concave Environments by @TomGeorge1234 in #28
- Various merges made into 1.x by @TomGeorge1234 in #29
New Contributors
- @frederikrogge made their first contribution in #26
Full Changelog: v1.2.0...v1.4.0