Skip to content

v1.11.1

Compare
Choose a tag to compare
@TomGeorge1234 TomGeorge1234 released this 20 Nov 21:56
· 16 commits to dev since this release

New plotting functions and demo focussing on head direction

Head direction selectivity can be plotted for all cells.

Env = Environment()
Ag = Agent(Env)
HDCs = HeadDirectionCells(Ag, params={'n':3,'color':'C5'}) #or any other 
HDCs.plot_angular_rate_map()

02b39dc7-d287-4349-88ad-e54594014973

Spatial rate maps can be plotted averaged over all head directions (for use in instances where rate maps may be position and head direction selective).

This is supported by a new internal function get_head_direction_averaged_state() which calculates the state at all head direction 0 --> 2pi and then averages over these return the spatial receptive field.

Env = Environment()
Ag = Agent(Env)
GCs = GridCells(Ag, params={'n':3}) #or any other. 
GCs.plot_rate_map(method="groundtruth_headdirectionaveraged")

(in this case its actually redundant because grid cells have no head direction selectivity but in this demo we show a more involved use case
79d31cdb-92e7-4083-bc27-5de3a24eff12

New Conjunctive grid cells demo

In this demo we showcase FeedForwardLayer in probably its most simple use-case. Combining head direction cells and grid cells non-linearly to make head direction selective grid cells (conjunctive grid cells)
conjunctive_grid_cells