Skip to content

This code is used to reproduce the work of Matthew G. Perich and al. using the NeuroTorch library.

License

Notifications You must be signed in to change notification settings

NeuroTorch/CURBD_with_NeuroTorch

Repository files navigation

CURBD with NeuroTorch

This code is used to reproduce the results of the CURBD repository (https://github.com/rajanlab/CURBD) associated with the paper Inferring brain-wide interactions using data-constrained recurrent neural network models from Matthew G. Perich and al. using the NeuroTorch library.

Installation

To run the code, you need to install the requirements in requirements.txt.

pip install -r requirements.txt

Usage

Then, you can run the code by running the following command:

python main.py

Structure of the repository

The repository is structured as follows:

  • main.py: main file to run the code
  • curbd_dataset.py: dataset class to construct the curbd synthetic dataset
  • curbd_training.py: training function
  • figures_script.py: script with functions to generate the figures
  • utils.py: utility functions
  • ts_dataset.py: dataset class to construct a time series dataset from a npy file
  • main_other_dataset.py: main file to run the code on other datasets

About

This code is used to reproduce the work of Matthew G. Perich and al. using the NeuroTorch library.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages