allensdk.internal.model.glif.optimize_neuron module¶
- allensdk.internal.model.glif.optimize_neuron.optimize_neuron(model_config, sweep_index, nwb_file, save_callback=None)[source]¶
Optimizes a neuron. 1. Loads optimizer and neuron configuration data. 2. Loads the voltage trace sweeps that will be optimized 3. Configures the experiment and optimizer 4. Runs the optimizer 5. TODO: where is data saved
- Parameters:
- model_configdictionary
contains values of neuron and optimizer parameters
- sweep_indexlist of integers
indices (as labeled in the data configuration file) of sweeps that will be optimized
- save_callbackmodule
saves output