You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`RatInABox` (see [paper](https://www.biorxiv.org/content/10.1101/2022.08.10.503541v5)) is a toolkit for generating synthetic behaviour and neural data for spatially and/or velocity selective cell types in complex continuous environments.
3
+
`RatInABox` (see [paper](https://elifesciences.org/articles/85274)) is a toolkit for generating synthetic behaviour and neural data for spatially and/or velocity selective cell types in complex continuous environments.
author = {Tom M George and William de Cothi and Claudia Clopath and Kimberly Stachenfeld and Caswell Barry},
458
-
title = {{RatInABox}: A toolkit for modelling locomotion and neuronal activity in continuous environments}
452
+
@article{George2024,
453
+
title = {RatInABox, a toolkit for modelling locomotion and neuronal activity in continuous environments},
454
+
volume = {13},
455
+
ISSN = {2050-084X},
456
+
url = {http://dx.doi.org/10.7554/eLife.85274},
457
+
DOI = {10.7554/elife.85274},
458
+
journal = {eLife},
459
+
publisher = {eLife Sciences Publications, Ltd},
460
+
author = {George, Tom M and Rastogi, Mehul and de Cothi, William and Clopath, Claudia and Stachenfeld, Kimberly and Barry, Caswell},
461
+
year = {2024},
462
+
month = feb
459
463
}
460
464
```
461
465
462
466
Formatted:
463
467
```
464
-
Tom M George, William de Cothi, Claudia Clopath, Kimberly Stachenfeld, Caswell Barry. "RatInABox: A toolkit for modelling locomotion and neuronal activity in continuous environments" (2022).
468
+
Tom M George, Mehul Rastogi, William de Cothi, Claudia Clopath, Kimberly Stachenfeld, Caswell Barry. "RatInABox, a toolkit for modelling locomotion and neuronal activity in continuous environments" (2024), eLife, https://doi.org/10.7554/eLife.85274 .
465
469
```
466
-
The research paper corresponding to the above citation can be found [here](https://www.biorxiv.org/content/10.1101/2022.08.10.503541v4).
470
+
The research paper corresponding to the above citation can be found [here](https://elifesciences.org/articles/85274).
This function will lookup a agent by name and return it. This assumes that the agent has been
212
212
added to the Environment.agents list and that each agent object has a unique name associated with it.
213
213
214
214
215
215
Args:
216
-
agent_names (str, list[str]): the name of the agent you want to lookup.
216
+
agent_names (str, List[str]): the name of the agent you want to lookup.
217
217
218
218
Returns:
219
-
agents (list[Agent]): a list of agents that match the agent_names. If agent_names is a string, then a list of length 1 is returned. If agent_names is None, then None is returned
219
+
agents (List[Agent]): a list of agents that match the agent_names. If agent_names is a string, then a list of length 1 is returned. If agent_names is None, then None is returned
xlabel (str, optional): x axis label. Defaults to "".
600
607
ylabel (str, optional): y axis label. Defaults to "".
601
608
xlim (_type_, optional): fix xlim to this is desired. Defaults to None.
609
+
nan_bins (array, optional): Optionally pass a boolean array of the same shape as X which is True where you want to plot a gap in the mountain plot. Defaults to None (ie skipped).
602
610
fig (_type_, optional): fig to plot over if desired. Defaults to None.
603
611
ax (_type_, optional): ax to plot on if desider. Defaults to None.
604
612
norm_by: what to normalise each line of the mountainplot by.
0 commit comments