'''
Single RF Model by L Medlock
Running this code will use netParams_RF.py and cfg_RF.py
Steps:
In bash Terminal:
1. cd to directory (../RF-Model)
2. compile mods using >> nrnivmodl ./mods (or arch -arch x86_64 nrnivmodl ./mods for M1 processors)
In iPython shell:
3. >> run init_RF.py
'''
from netpyne import sim
from neuron import h
simConfig, netParams = sim.readCmdLineArgs(simConfigDefault='cfg_RF.py', netParamsDefault='netParams_RF.py')
# Create network and run simulation
sim.createSimulateAnalyze(netParams = netParams, simConfig = simConfig)