This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Stop command echoing | |
set +x | |
# Propogate errors and fail on error | |
set -euo pipefail | |
# Default log level: INFO | |
QUIET_MODE=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from NeuroMLUtilities import ConnectionInfo | |
import PyOpenWorm as P | |
############################################################ | |
# A simple script to read the values in PyOpenWorm | |
############################################################ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Model of a neuromotor circuit | |
# To run: | |
# python c302_Motor.py A (uses parameters_A, requires jNeuroML to run) | |
# or | |
# python c302_Motor.py B (uses parameters_B, requires jNeuroML built from the | |
# experimental branches to run: 'python getNeuroML experimental' | |
# see https://github.com/NeuroML/jNeuroML) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from NeuroMLUtilities import ConnectionInfo | |
from xlrd import open_workbook | |
############################################################ | |
# A simple script to read the values in CElegansNeuronTables.xls. | |
############################################################ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# RUN WITH A SUBSET FROM NeuronConnect.xls, DO NOT RUN WITH COMPLETE EXCEL FILE. | |
import os | |
import sys | |
sys.path.append("..") | |
import SpreadsheetDataReader | |
import xlwt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
sys.path.append("..") | |
import SpreadsheetDataReader | |
from c302 import generate | |
import parameters_B as params | |
import neuroml.loaders as loaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
sys.path.append("..") | |
import SpreadsheetDataReader | |
from c302 import generate | |
import parameters_A as params | |
import neuroml.loaders as loaders |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
if __name__ == '__main__': | |
hub_cell = "RMGR" | |
spoke_cells =["URXR","ASKR","ASJR","RMHR","AWBR","IL2R","ASHR","ADLR"] | |
# stimulating RMGR (hub cell) when paired with all spoke cells |