'''
Expanded RF Model by L Medlock (for SCS simulations)
Running this code will use netParams_RF_exp.py and cfg_RF_exp.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_exp.py
'''
from netpyne import sim
from neuron import h
simConfig, netParams = sim.readCmdLineArgs(simConfigDefault='cfg_RF_exp.py', netParamsDefault='netParams_RF_exp.py')
# Create network and run simulation
sim.createSimulateAnalyze(netParams = netParams, simConfig = simConfig)