Skip to content

Optimization of single-cell biophysically detailed models

License

Notifications You must be signed in to change notification settings

tjbanks/biophys_optimize

 
 

Repository files navigation

biophys_optimize

Optimization of single-cell biophysically detailed models

Installation:

$ python setup.py install

1) Pre-process

Run:

$ python -m biophys_optimize.scripts.run_preprocessing --help

to get command line options. There are a handful of JSON files for examples in test_input_files.

a) Download data using AllenSDK and edit JSON file

Follow the Jupyter Notebook at https://github.com/latimerb/GeneralTutorials/blob/master/AllenSDK/cell_types.ipynb to download electrophysiology and SWC data. The specimen ID needs to be added to the test_input_files/test_preprocess_input.json file and you need to update the paths to the data. The sweep IDs are unique for each specimen so you may need to look these up.

b) Run test_preprocessing.py

$ python -m biophys_optimize.scripts.run_preprocessing --input_json ./test_input_files/test_preprocess_input.json

2) Passive fitting

a) Edit the passive JSON file

Change all the paths in the /test_input_files/test_passive_input.json file just as in step 1a. Other parameters should still be the same. Then run:

$ python -m biophys_optimize.scripts.run_passive_fitting --input_json ./test_input_files/test_passive_input_1.json

About

Optimization of single-cell biophysically detailed models

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 75.1%
  • AMPL 23.6%
  • Shell 1.3%