# Simulation of the RF Model ## 1. Install all necessary packages: ``` pip install netpyne pip install neuron ``` ## 2. Run the model: ### Step 1: Compile the mod files ``` > nrnivmodl ./mods ``` or for M1 processors: ``` > arch -arch x86_64 nrnivmodl ./mods ``` ### ### Step 2: Run the model ``` > ipython >> run init_RF.py ``` For the expanded RF model use ```init_RF_exp.py``` instead.