Ratinabox

Latest version: v1.15.3

Safety actively analyzes 723177 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

1.14.0

`numpy-2.0.0` compatibility

No substantial changes, I just fixed a few bugs to make compatible with `numpy>=2.0.0`

1.13.0

Grids cell

- Grid cells work in 1D
- Grid cells have a `width_ratio` parameter which sets the ration of the width of the receptive field to the grid scale. It mist be between 0 (very sharp grid fields) and 1 (very diffuse grid fields) and only works for the `rectified_cosines` models.

![grid_geometry](https://github.com/RatInABox-Lab/RatInABox/assets/41446693/4cab78cd-36cd-4049-b514-7222bf6e3413)

- Minor api change (warning thrown, will not break) `three_shifted_cosines` --> `shifted_cosines`
- Default grid cells have been changed to 30 grid cells in three increasingly slightly rotated modules.

![gridcells_default](https://github.com/RatInABox-Lab/RatInABox/assets/41446693/cc75cfe7-6e25-4e2b-a104-fd47381c6cf4)

- Grid cell documentation on the readme has been improved

Plotting:

- Plotting the rate map of a single neuron in 1D can now be optimised using `optimise_plot_for_single_neuron` (without this it just does a mountain plot with a single line, which isn't ideal.

1.12.6

BVC scaling bug fix

Thanks colleenjg for minor bug fix relating to BVC firing rate scaling (see PR 109 and issue 108)

1.12.5

Teeny tiny bug fixes....

**Full Changelog**: https://github.com/RatInABox-Lab/RatInABox/compare/v1.12.3...v1.12.5

1.12.3

Bug fix to maintain compatibility with `python<=3.8`.

We had been using `list[str]` (works in `python>=3.9` only) and so have reverted back to `from typing import List` then `List[str]`. This fixes issue 105

1.12.2

Bug fixes and very minor changes from 1.12.1

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.