Generated from aind-library-template
Project description
aind_disrnn_utils
Usage
- Obtain a list of NWB files you wish to fit the model to
import aind_dynamic_foraging_multisession_analysis.multisession_load as ms_load
import aind_disrnn_utils as dl
nwbs, df_trials = ms_load.make_multisession_trials_df(nwb_files)
dataset = dl.create_disrnn_dataset(df_trials)
- You don't need to use
make_multisession_trials_df, but the trials data frame does need to have a column "ses_idx" that splits trials into sessions.
Level of Support
- Occasional updates: We are planning on occasional updating this tool with no fixed schedule. Community involvement is encouraged through both issues and pull requests.
Installation
To install the software from PyPi
pip install aind-disrnn-utils
To use the software, in the root directory, run
pip install -e .
To develop the code, run
pip install -e . --group dev
Note: --group flag is available only in pip versions >=25.1
Alternatively, if using uv, run
uv sync
Required dependency
[!IMPORTANT]
PyPi does not allow "direct dependencies" where you install straight from github, therefore you must manually install the disentangled_rnn packagepip install git+https://github.com/google-deepmind/disentangled_rnns.git
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aind_disrnn_utils-0.0.7.tar.gz.
File metadata
- Download URL: aind_disrnn_utils-0.0.7.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02670902b05634d71944e53047a297c809b9a7e554eeec14e106d407b5685cb5
|
|
| MD5 |
c8c921aea81494d7fe570623ce13dea4
|
|
| BLAKE2b-256 |
19a9ca8136df17cf063631b9ef7b98df41e24a4ca1b64b5cebf05c8fcd1be5cd
|
File details
Details for the file aind_disrnn_utils-0.0.7-py3-none-any.whl.
File metadata
- Download URL: aind_disrnn_utils-0.0.7-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6e2c21c6203190d320a7c7ae8e6d5903d992eff53ea9c78dd8d956ab553f9cb
|
|
| MD5 |
2312ad971c7f424821205a2afe8c9291
|
|
| BLAKE2b-256 |
3ef5d14245a4bf7832053adeb9bf9b6436270bcfbeb0b3a17d0e378b90acd869
|